Skip to content
Snippets Groups Projects
Verified Commit 5032cdb6 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Add MADV constants

parent b30c33ad
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,12 @@ pub mod sys;
#[path = "redox.rs"]
pub mod sys;
pub const MADV_NORMAL: c_int = 0;
pub const MADV_RANDOM: c_int = 1;
pub const MADV_SEQUENTIAL: c_int = 2;
pub const MADV_WILLNEED: c_int = 3;
pub const MADV_DONTNEED: c_int = 4;
pub const MAP_SHARED: c_int = 0x0001;
pub const MAP_PRIVATE: c_int = 0x0002;
pub const MAP_TYPE: c_int = 0x000F;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment