diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-02-15 00:33:23 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-02-15 00:33:23 -0500 |
commit | 1355fdca7cb923c93f9011d8e9dcf49e1a67e537 (patch) | |
tree | bdff256e69dbeb5b5fcab7a2afc549d496d956f0 /arch/i386/bits/ipc.h | |
parent | 8f4865c8d25e508154a1cb89291f79489a4b3b4c (diff) | |
download | musl-1355fdca7cb923c93f9011d8e9dcf49e1a67e537.tar.gz musl-1355fdca7cb923c93f9011d8e9dcf49e1a67e537.tar.bz2 musl-1355fdca7cb923c93f9011d8e9dcf49e1a67e537.tar.xz musl-1355fdca7cb923c93f9011d8e9dcf49e1a67e537.zip |
preparing build system to handle ports - step 1
Diffstat (limited to 'arch/i386/bits/ipc.h')
-rw-r--r-- | arch/i386/bits/ipc.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/i386/bits/ipc.h b/arch/i386/bits/ipc.h new file mode 100644 index 00000000..08316a37 --- /dev/null +++ b/arch/i386/bits/ipc.h @@ -0,0 +1,25 @@ +#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 _GNU_SOURCE +#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; + mode_t mode; + int seq; + long __pad1; + long __pad2; +}; |