10 lines
137 B
C
Executable file
10 lines
137 B
C
Executable file
#include <lib.h>
|
|
#define getpid _getpid
|
|
#include <unistd.h>
|
|
|
|
PUBLIC pid_t getpid()
|
|
{
|
|
message m;
|
|
|
|
return(_syscall(MM, GETPID, &m));
|
|
}
|