nix::sys::mman

Function munmap

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

remove a mapping

ยงSafety

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