aboutsummaryrefslogtreecommitdiff
path: root/include/bits/ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/bits/ipc.h')
-rw-r--r--include/bits/ipc.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/bits/ipc.h b/include/bits/ipc.h
new file mode 100644
index 0000000000..5f699e8f49
--- /dev/null
+++ b/include/bits/ipc.h
@@ -0,0 +1,23 @@
+#include_next <bits/ipc.h>
+
+__BEGIN_DECLS
+
+/* The actual system call: all functions are multiplexed by this. */
+extern int __syscall_ipc __P ((int __call, int __first, int __second,
+ int __third, void *__ptr));
+
+__END_DECLS
+
+
+/* The codes for the functions to use the multiplexer `__syscall_ipc'. */
+#define IPCOP_semop 1
+#define IPCOP_semget 2
+#define IPCOP_semctl 3
+#define IPCOP_msgsnd 11
+#define IPCOP_msgrcv 12
+#define IPCOP_msgget 13
+#define IPCOP_msgctl 14
+#define IPCOP_shmat 21
+#define IPCOP_shmdt 22
+#define IPCOP_shmget 23
+#define IPCOP_shmctl 24