Function nix::sys::mman::munlock

pub unsafe fn munlock(addr: *const c_void, length: size_t) -> Result<()>
Documentation

Unlocks all memory pages that contain part of the address range with length bytes starting at addr.

Safety

addr must meet all the requirements described in the munlock(2) man page.