ipc.h 637 B

1234567891011121314151617181920212223242526272829
  1. #ifndef IPC_H
  2. #define IPC_H
  3. #include <syscall.h>
  4. #define __IPC_64 0x100
  5. #ifdef __NR_ipc
  6. /* The actual system call: all functions are multiplexed by this. */
  7. extern int __syscall_ipc __P((int __call, int __first, int __second,
  8. int __third, void *__ptr));
  9. /* The codes for the functions to use the multiplexer `__syscall_ipc'. */
  10. #define IPCOP_semop 1
  11. #define IPCOP_semget 2
  12. #define IPCOP_semctl 3
  13. #define IPCOP_msgsnd 11
  14. #define IPCOP_msgrcv 12
  15. #define IPCOP_msgget 13
  16. #define IPCOP_msgctl 14
  17. #define IPCOP_shmat 21
  18. #define IPCOP_shmdt 22
  19. #define IPCOP_shmget 23
  20. #define IPCOP_shmctl 24
  21. #endif
  22. #endif /* IPC_H */