nix::sys::mman

Function munlock

source
pub unsafe fn munlock(addr: NonNull<c_void>, length: size_t) -> Result<()>
Expand description

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.