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 402f84a + 10681f2 commit 94bf82aCopy full SHA for 94bf82a
src/unix/haiku/mod.rs
@@ -680,6 +680,7 @@ pub const MAP_SHARED: ::c_int = 0x01;
680
pub const MAP_PRIVATE: ::c_int = 0x02;
681
pub const MAP_FIXED: ::c_int = 0x04;
682
pub const MAP_ANONYMOUS: ::c_int = 0x08;
683
+pub const MAP_NORESERVE: ::c_int = 0x10;
684
pub const MAP_ANON: ::c_int = MAP_ANONYMOUS;
685
686
pub const MAP_FAILED: *mut ::c_void = !0 as *mut ::c_void;
@@ -786,6 +787,7 @@ pub const MADV_SEQUENTIAL: ::c_int = 2;
786
787
pub const MADV_RANDOM: ::c_int = 3;
788
pub const MADV_WILLNEED: ::c_int = 4;
789
pub const MADV_DONTNEED: ::c_int = 5;
790
+pub const MADV_FREE: ::c_int = 6;
791
792
// https://github.com/haiku/haiku/blob/master/headers/posix/net/if.h#L80
793
pub const IFF_UP: ::c_int = 0x0001;
0 commit comments