Function linux_api::mman::munmap_raw

source ·
pub unsafe fn munmap_raw(
    addr: kernel_ulong_t,
    length: kernel_size_t,
) -> Result<(), Errno>
Expand description

Make the munmap syscall. See munmap(2).

Signature from SYSCALL_DEFINE2(munmap, ..., in linux’s mm/mmap.c.

§Safety

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