blob: 5a439b34bb8641747064d0b5b4a6ce8953f2d564 [file] [log] [blame]
//! Memory map operations.
#[cfg(not(target_os = "redox"))]
mod madvise;
mod mmap;
mod msync;
#[cfg(any(target_os = "android", target_os = "linux"))]
mod userfaultfd;
#[cfg(not(target_os = "redox"))]
pub use madvise::{madvise, Advice};
pub use mmap::*;
pub use msync::{msync, MsyncFlags};
#[cfg(any(target_os = "android", target_os = "linux"))]
pub use userfaultfd::{userfaultfd, UserfaultfdFlags};