ipc.h 559 B

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