1 | //! Memory map operations. |
---|---|
2 | |
3 | #[cfg(not(target_os = "redox"))] |
4 | mod madvise; |
5 | mod mmap; |
6 | mod msync; |
7 | #[cfg(linux_kernel)] |
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(linux_kernel)] |
15 | pub use userfaultfd::{userfaultfd, UserfaultfdFlags}; |
16 |