summaryrefslogtreecommitdiffstats
path: root/libc/misc/sysvipc/__syscall_ipc.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-05 06:47:30 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-05 06:47:30 +0000
commitee438a1eb65d4092116df23ce029fa98bc5ea162 (patch)
tree4939a48b641510e6dea85c2b475c41349cd6e101 /libc/misc/sysvipc/__syscall_ipc.c
parent29c5e0adf13a96a0247e79d352168548c8c83fdf (diff)
downloaduClibc-alpine-ee438a1eb65d4092116df23ce029fa98bc5ea162.tar.bz2
uClibc-alpine-ee438a1eb65d4092116df23ce029fa98bc5ea162.tar.xz
implement semtimedop for #927
Diffstat (limited to 'libc/misc/sysvipc/__syscall_ipc.c')
-rw-r--r--libc/misc/sysvipc/__syscall_ipc.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/libc/misc/sysvipc/__syscall_ipc.c b/libc/misc/sysvipc/__syscall_ipc.c
new file mode 100644
index 000000000..99dfbf49f
--- /dev/null
+++ b/libc/misc/sysvipc/__syscall_ipc.c
@@ -0,0 +1,17 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * __syscall_ipc() for uClibc
+ *
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#include <sys/syscall.h>
+
+#ifdef __NR_ipc
+#define __NR___syscall_ipc __NR_ipc
+#include "ipc.h"
+_syscall6(int, __syscall_ipc, unsigned int, call, long, first, long, second, long,
+ third, void *, ptr, void *, fifth);
+#endif