waitpid.c 204 B

123456789
  1. #include <syscall.h>
  2. #include <sys/types.h>
  3. #include <sys/wait.h>
  4. #include <sys/resource.h>
  5. __pid_t waitpid(__pid_t pid, int *wait_stat, int options)
  6. {
  7. return wait4(pid, wait_stat, options, NULL);
  8. }