123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #ifndef _SYS_IPC_H
- # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead."
- #endif
- #include <bits/types.h>
- #include <bits/wordsize.h>
- #define IPC_CREAT 01000
- #define IPC_EXCL 02000
- #define IPC_NOWAIT 04000
- #define IPC_RMID 0
- #define IPC_SET 1
- #define IPC_STAT 2
- #ifdef __USE_GNU
- # define IPC_INFO 3
- #endif
- #define IPC_PRIVATE ((__key_t) 0)
- struct ipc_perm
- {
- __key_t __key;
- __uid_t uid;
- __gid_t gid;
- __uid_t cuid;
- __gid_t cgid;
- #if __WORDSIZE == 32
- unsigned short int __pad1;
- unsigned short int mode;
- unsigned short int __pad2;
- #else
- __mode_t mode;
- unsigned short int __pad2;
- #endif
- unsigned short int __seq;
- unsigned int __pad3;
- unsigned long long int __unused1;
- unsigned long long int __unused2;
- };
|