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)
.