summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc/ipc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/sysvipc/ipc.h')
-rw-r--r--libc/misc/sysvipc/ipc.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/libc/misc/sysvipc/ipc.h b/libc/misc/sysvipc/ipc.h
new file mode 100644
index 000000000..19e6bd106
--- /dev/null
+++ b/libc/misc/sysvipc/ipc.h
@@ -0,0 +1,22 @@
+#ifndef IPC_H
+#define IPC_H
+
+/* The actual system call: all functions are multiplexed by this. */
+extern int __ipc __P((int __call, int __first, int __second,
+ int __third, void *__ptr));
+
+
+/* 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
+
+#endif /* IPC_H */