getppid.c 98 B

1234567
  1. #include <unistd.h>
  2. #include "syscall.h"
  3. pid_t getppid(void)
  4. {
  5. return __syscall(SYS_getppid);
  6. }