summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc/__syscall_ipc.c
diff options
context:
space:
mode:
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