munmap(2)
DESCRIPTION
Removes a memory mapping range.
SYNOPSIS
long munmap(void *addr, long length);
RETURN VALUE
- Returns a non-negative result on success. Negative values are ABI errno codes.
ERRORS
-EINVAL- The length is zero or the address range is invalid.
-ESRCH- There is no current process.
ABI
Arguments enter through the direct syscall ABI; validation is performed before entering the process subsystem.