Sha256: 92d2cb7e8e27b8e6bf2e18e29137aa249935f9ae97ee48aa30fcbb1acd0f4b6e
Contents?: true
Size: 701 Bytes
Versions: 7
Compression:
Stored size: 701 Bytes
Contents
//! Memory map operations. #[cfg(not(target_os = "redox"))] mod madvise; mod mmap; mod msync; #[cfg(any(target_os = "android", target_os = "linux"))] mod userfaultfd; #[cfg(not(target_os = "redox"))] pub use madvise::{madvise, Advice}; pub use mmap::{ mlock, mmap, mmap_anonymous, mprotect, munlock, munmap, MapFlags, MprotectFlags, ProtFlags, }; #[cfg(any(target_os = "android", target_os = "linux"))] pub use mmap::{mlock_with, MlockFlags}; #[cfg(any(linux_raw, all(libc, target_os = "linux")))] pub use mmap::{mremap, mremap_fixed, MremapFlags}; pub use msync::{msync, MsyncFlags}; #[cfg(any(target_os = "android", target_os = "linux"))] pub use userfaultfd::{userfaultfd, UserfaultfdFlags};
Version data entries
7 entries across 7 versions & 1 rubygems