We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6eee580 + 403f63e commit 9667d5fCopy full SHA for 9667d5f
src/unix/solarish/mod.rs
@@ -1894,6 +1894,14 @@ pub const IPC_RMID: ::c_int = 10;
1894
pub const IPC_SET: ::c_int = 11;
1895
pub const IPC_SEAT: ::c_int = 12;
1896
1897
+// sys/shm.h
1898
+pub const SHM_R: ::c_int = 0o400;
1899
+pub const SHM_W: ::c_int = 0o200;
1900
+pub const SHM_RDONLY: ::c_int = 0o10000;
1901
+pub const SHM_RND: ::c_int = 0o20000;
1902
+pub const SHM_SHARE_MMU: ::c_int = 0o40000;
1903
+pub const SHM_PAGEABLE: ::c_int = 0o100000;
1904
+
1905
pub const SHUT_RD: ::c_int = 0;
1906
pub const SHUT_WR: ::c_int = 1;
1907
pub const SHUT_RDWR: ::c_int = 2;
0 commit comments