wait3.c 402 B

12345678910111213141516
  1. /*
  2. * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  3. *
  4. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  5. */
  6. #include <sys/syscall.h>
  7. #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
  8. # include <sys/wait.h>
  9. pid_t wait3(__WAIT_STATUS stat_loc, int options, struct rusage *usage)
  10. {
  11. return __wait4_nocancel(WAIT_ANY, stat_loc, options, usage);
  12. }
  13. #endif