minix/lib/posix/_getpid.c
2009-11-09 10:26:00 +00:00

10 lines
143 B
C

#include <lib.h>
#define getpid _getpid
#include <unistd.h>
PUBLIC pid_t getpid()
{
message m;
return(_syscall(MM, MINIX_GETPID, &m));
}