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