Skip to main content

sys_munmap

Function sys_munmap 

Source
pub fn sys_munmap(addr: u64, len: u64) -> Result<u64, SyscallError>
Expand description

SYS_MUNMAP (101): unmap a virtual memory range.

addr must be page-aligned. len is rounded up to a page boundary. Unmapping an address range that contains no mappings is silently ignored (POSIX behaviour).