home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-generic / ipc.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  613 b   |  32 lines

  1. #ifndef _ASM_GENERIC_IPC_H
  2. #define _ASM_GENERIC_IPC_H
  3. /*
  4.  * These are used to wrap system calls.
  5.  *
  6.  * See architecture code for ugly details..
  7.  */
  8. struct ipc_kludge {
  9.     struct msgbuf __user *msgp;
  10.     long msgtyp;
  11. };
  12.  
  13. #define SEMOP         1
  14. #define SEMGET         2
  15. #define SEMCTL         3
  16. #define SEMTIMEDOP     4
  17. #define MSGSND        11
  18. #define MSGRCV        12
  19. #define MSGGET        13
  20. #define MSGCTL        14
  21. #define SHMAT        21
  22. #define SHMDT        22
  23. #define SHMGET        23
  24. #define SHMCTL        24
  25.  
  26. /* Used by the DIPC package, try and avoid reusing it */
  27. #define DIPC            25
  28.  
  29. #define IPCCALL(version,op)    ((version)<<16 | (op))
  30.  
  31. #endif    /* _ASM_GENERIC_IPC_H */
  32.