diff options
Diffstat (limited to 'libc/sysdeps/linux/common/waitid.c')
-rw-r--r-- | libc/sysdeps/linux/common/waitid.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/waitid.c b/libc/sysdeps/linux/common/waitid.c new file mode 100644 index 000000000..b8d2f70ba --- /dev/null +++ b/libc/sysdeps/linux/common/waitid.c @@ -0,0 +1,16 @@ +/* vi: set sw=4 ts=4: */ +/* + * Copyright (C) 2007 Erik Andersen <andersen@uclibc.org> + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#include <sys/syscall.h> + +#if defined __USE_SVID || defined __USE_XOPEN +#include <unistd.h> +#include <sys/types.h> +#include <sys/wait.h> + +_syscall4(int, waitid, idtype_t, idtype, id_t, id, siginfo_t*, infop, int, options); +#endif |