waitid.c 399 B

12345678910111213141516
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * Copyright (C) 2007 Erik Andersen <andersen@uclibc.org>
  4. *
  5. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  6. */
  7. #include <sys/syscall.h>
  8. #if defined __USE_SVID || defined __USE_XOPEN
  9. #include <unistd.h>
  10. #include <sys/types.h>
  11. #include <sys/wait.h>
  12. _syscall4(int, waitid, idtype_t, idtype, id_t, id, siginfo_t*, infop, int, options);
  13. #endif