From 5d74c674fdbb30c802d0dc12cd5d3e88536e64de Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 28 Jan 2007 10:23:07 +0000 Subject: initial waitid() implementation --- libc/sysdeps/linux/common/waitid.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 libc/sysdeps/linux/common/waitid.c (limited to 'libc') diff --git a/libc/sysdeps/linux/common/waitid.c b/libc/sysdeps/linux/common/waitid.c new file mode 100644 index 000000000..0e25acb62 --- /dev/null +++ b/libc/sysdeps/linux/common/waitid.c @@ -0,0 +1,15 @@ +/* vi: set sw=4 ts=4: */ +/* + * Copyright (C) 2007 Erik Andersen + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ + +#include +#include +#include +#include + +#ifdef __NR_waitid +_syscall4(int, waitid, idtype_t, idtype, id_t, id, siginfo_t*, infop, int, options); +#endif -- cgit v1.2.3