1 #include <unistd.h> 2 #include "syscall.h" 3 getpid(void)4 pid_t getpid(void) 5 { 6 return __syscall(SYS_getpid); 7 } 8