[−][src]Function nix::sys::mman::mlockall
pub fn mlockall(flags: MlockAllFlags) -> Result<()>
Locks all memory pages mapped into this process' address space.
Locked pages never move to the swap area.
Safety
addr
must meet all the requirements described in the mlockall(2)
man
page.