diff options
Diffstat (limited to 'src/libthread/getpid.c')
-rw-r--r-- | src/libthread/getpid.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libthread/getpid.c b/src/libthread/getpid.c new file mode 100644 index 00000000..da03bd3f --- /dev/null +++ b/src/libthread/getpid.c @@ -0,0 +1,8 @@ +#include "threadimpl.h" +#include <unistd.h> + +int +_threadgetpid(void) +{ + return getpid(); +} |