source:
trunk/minix/lib/posix/_getpid.c@
22
Last change on this file since 22 was 9, checked in by , 14 years ago | |
---|---|
File size: 137 bytes |
Line | |
---|---|
1 | #include <lib.h> |
2 | #define getpid _getpid |
3 | #include <unistd.h> |
4 | |
5 | PUBLIC pid_t getpid() |
6 | { |
7 | message m; |
8 | |
9 | return(_syscall(MM, GETPID, &m)); |
10 | } |
Note:
See TracBrowser
for help on using the repository browser.