wait3.c 239 B

123456789
  1. #include <syscall.h>
  2. #include <sys/types.h>
  3. #include <sys/wait.h>
  4. #include <sys/resource.h>
  5. __pid_t wait3(__WAIT_STATUS wait_stat, int options, struct rusage *reserved)
  6. {
  7. return wait4((-1) /* WAIT_ANY*/, wait_stat, options, reserved);
  8. }