1 #include <sys/wait.h> 2 #include "syscall.h" 3 waitid(idtype_t type,id_t id,siginfo_t * info,int options)4 int waitid(idtype_t type, id_t id, siginfo_t *info, int options) 5 { 6 return syscall_cp(SYS_waitid, type, id, info, options, 0); 7 } 8