minix/lib/libc/posix/_getpid.c

11 lines
143 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include <lib.h>
#define getpid _getpid
#include <unistd.h>
PUBLIC pid_t getpid()
{
message m;
2009-09-21 16:46:10 +02:00
return(_syscall(MM, MINIX_GETPID, &m));
2005-04-21 16:53:53 +02:00
}