1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Memory map operations.

#[cfg(not(target_os = "redox"))]
mod madvise;
mod mmap;
mod msync;
#[cfg(linux_kernel)]
mod userfaultfd;

#[cfg(not(target_os = "redox"))]
pub use madvise::{madvise, Advice};
pub use mmap::*;
pub use msync::{msync, MsyncFlags};
#[cfg(linux_kernel)]
pub use userfaultfd::{userfaultfd, UserfaultfdFlags};