diff options
Diffstat (limited to 'cpukit/libcsupport/src/__getpid.c')
-rw-r--r-- | cpukit/libcsupport/src/__getpid.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/__getpid.c b/cpukit/libcsupport/src/__getpid.c new file mode 100644 index 0000000000..85a4c0b013 --- /dev/null +++ b/cpukit/libcsupport/src/__getpid.c @@ -0,0 +1,17 @@ +/* + * Some C Libraries reference this routine since they think getpid is + * a real system call. + * + * $Id$ + */ + +#if HAVE_CONFIG_H +#include "config.h" +#endif + +#include <unistd.h> + +pid_t __getpid(void) +{ + return getpid(); +} |