1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef _SYS_IPC_H
- # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead."
- #endif
- #include <bits/types.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;
- unsigned short int mode;
- unsigned short int __pad1;
- unsigned short int __seq;
- unsigned short int __pad2;
- unsigned long int __unused1;
- unsigned long int __unused2;
- };
|