4 #include <bits/wordsize.h>
6 #ifndef __ARCH_HAS_DEPRECATED_SYSCALLS__
9 # if __WORDSIZE == 32 || defined __alpha__ || defined __mips__
10 # define __IPC_64 0x100
18 /* The actual system call: all functions are multiplexed by this. */
19 extern int __syscall_ipc (unsigned int __call
, long __first
, long __second
,
20 long __third
, void *__ptr
, void *__fifth
) attribute_hidden
;
23 /* The codes for the functions to use the multiplexer `__syscall_ipc'. */
25 #define IPCOP_semget 2
26 #define IPCOP_semctl 3
27 #define IPCOP_semtimedop 4
28 #define IPCOP_msgsnd 11
29 #define IPCOP_msgrcv 12
30 #define IPCOP_msgget 13
31 #define IPCOP_msgctl 14
32 #define IPCOP_shmat 21
33 #define IPCOP_shmdt 22
34 #define IPCOP_shmget 23
35 #define IPCOP_shmctl 24