summaryrefslogtreecommitdiff
path: root/libc/misc/sysvipc/ipc.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-03-19 21:51:29 +0000
committerEric Andersen <andersen@codepoet.org>2001-03-19 21:51:29 +0000
commit91a034c61a32ebd6601fb8b894127d43b817f5fc (patch)
tree9f8cf05b7a61fe9d51651d4476dafc9235cc1552 /libc/misc/sysvipc/ipc.h
parentd777bf75160493485c76754012735e911fbde5e1 (diff)
Add in the sysvipc patch from Michael Shmulevich
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 */