Function linux_api::mman::munmap

source ·
pub unsafe fn munmap(addr: *mut c_void, length: usize) -> Result<(), Errno>
Expand description

Make the munmap syscall, with a thin layer of type-safety over munmap_raw. See munmap(2).

§Safety

Invalidates the referenced memory range. See munmap(2).