projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d509556
)
add some missing macros to sys/shm.h
author
Rich Felker
<dalias@aerifal.cx>
Sat, 15 Dec 2012 05:43:27 +0000
(
00:43
-0500)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 15 Dec 2012 05:43:27 +0000
(
00:43
-0500)
these are not specified in the standard, but in the reserved
namespace, so there is no problem with defining them unconditionally.
include/sys/shm.h
patch
|
blob
|
history
diff --git
a/include/sys/shm.h
b/include/sys/shm.h
index ce3029f545367974cc17ce5c819950caadae2d16..bca6ed62c33990269573f00ed5e4f51b08ebccac 100644
(file)
--- a/
include/sys/shm.h
+++ b/
include/sys/shm.h
@@
-16,6
+16,9
@@
extern "C" {
#include <sys/ipc.h>
#include <bits/shm.h>
+#define SHM_R 0400
+#define SHM_W 0200
+
#define SHM_RDONLY 010000
#define SHM_RND 020000
#define SHM_REMAP 040000