08316a377ea7c513dad6a96dc0c190d6335403e8
[musl] / include / bits / ipc.h
1 #define IPC_CREAT  01000
2 #define IPC_EXCL   02000
3 #define IPC_NOWAIT 04000
4
5 #define IPC_RMID 0
6 #define IPC_SET  1
7 #define IPC_STAT 2
8 #ifdef _GNU_SOURCE
9 #define IPC_INFO 3
10 #endif
11
12 #define IPC_PRIVATE ((key_t) 0)
13
14 struct ipc_perm
15 {
16         key_t key;
17         uid_t uid;
18         gid_t gid;
19         uid_t cuid;
20         gid_t cgid;
21         mode_t mode;
22         int seq;
23         long __pad1;
24         long __pad2;
25 };