svn commit: trunk/uClibc/libc/sysdeps/linux/common
vapier at uclibc.org
vapier at uclibc.org
Sun Jan 28 10:23:08 UTC 2007
Author: vapier
Date: 2007-01-28 02:23:07 -0800 (Sun, 28 Jan 2007)
New Revision: 17588
Log:
initial waitid() implementation
Added:
trunk/uClibc/libc/sysdeps/linux/common/waitid.c
Changeset:
Added: trunk/uClibc/libc/sysdeps/linux/common/waitid.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/waitid.c (rev 0)
+++ trunk/uClibc/libc/sysdeps/linux/common/waitid.c 2007-01-28 10:23:07 UTC (rev 17588)
@@ -0,0 +1,15 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * Copyright (C) 2007 Erik Andersen <andersen at uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#include <sys/syscall.h>
+#include <unistd.h>
+#include <sys/types.h>
+#include <sys/wait.h>
+
+#ifdef __NR_waitid
+_syscall4(int, waitid, idtype_t, idtype, id_t, id, siginfo_t*, infop, int, options);
+#endif
More information about the uClibc-cvs
mailing list