Function lrs::syscall::munmap

Unmaps a file.

Syntax

unsafe fn munmap(addr: usize, len: usize) -> i32

Arguments

NameDescription
addr

The address of the map.

len

The length of the map.

Return value

Returns success or an error value.

See also