]>
Commit | Line | Data |
---|---|---|
064997fb FG |
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}; | |
353b0b11 | 12 | pub use mmap::*; |
064997fb FG |
13 | pub use msync::{msync, MsyncFlags}; |
14 | #[cfg(any(target_os = "android", target_os = "linux"))] | |
15 | pub use userfaultfd::{userfaultfd, UserfaultfdFlags}; |