1 #include <sys/wait.h> 2 #include "syscall.h" 3 waitpid(pid_t pid,int * status,int options)4 pid_t waitpid(pid_t pid, int *status, int options) 5 { 6 return syscall_cp(SYS_wait4, pid, status, options, 0); 7 } 8