waitid.c 191 B

12345678
  1. #include <sys/wait.h>
  2. #include "syscall.h"
  3. #include "libc.h"
  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. }