summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/__syscall_ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/__syscall_ipc.c')
-rw-r--r--libc/sysdeps/linux/common/__syscall_ipc.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/__syscall_ipc.c b/libc/sysdeps/linux/common/__syscall_ipc.c
new file mode 100644
index 000000000..22957ac7b
--- /dev/null
+++ b/libc/sysdeps/linux/common/__syscall_ipc.c
@@ -0,0 +1,16 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * __syscall_ipc() for uClibc
+ *
+ * Copyright (C) 2000-2004 by Erik Andersen <andersen@codpoet.org>
+ *
+ * GNU Library General Public License (LGPL) version 2 or later.
+ */
+
+#include "syscalls.h"
+
+#ifdef __NR_ipc
+#define __NR___syscall_ipc __NR_ipc
+_syscall5(int, __syscall_ipc, unsigned int, call, int, first, int, second, int,
+ third, void *, ptr);
+#endif