]> git.proxmox.com Git - rustc.git/blame - vendor/rustix/src/mm/mod.rs
New upstream version 1.70.0+dfsg1
[rustc.git] / vendor / rustix / src / mm / mod.rs
CommitLineData
064997fb
FG
1//! Memory map operations.
2
3#[cfg(not(target_os = "redox"))]
4mod madvise;
5mod mmap;
6mod msync;
7#[cfg(any(target_os = "android", target_os = "linux"))]
8mod userfaultfd;
9
10#[cfg(not(target_os = "redox"))]
11pub use madvise::{madvise, Advice};
353b0b11 12pub use mmap::*;
064997fb
FG
13pub use msync::{msync, MsyncFlags};
14#[cfg(any(target_os = "android", target_os = "linux"))]
15pub use userfaultfd::{userfaultfd, UserfaultfdFlags};