waitid.c 371 B

123456789101112131415
  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. #include <unistd.h>
  9. #include <sys/types.h>
  10. #include <sys/wait.h>
  11. #ifdef __NR_waitid
  12. _syscall4(int, waitid, idtype_t, idtype, id_t, id, siginfo_t*, infop, int, options);
  13. #endif