Function lrs::syscall::mincore

Checks whether pages are in memory or swapped out.

Syntax

fn mincore(addr: usize, length: usize, buf: &mut [u8]) -> i32

Arguments

NameDescription
addr

The base address of the range to check.

length

The length of the range to check.

buf

The buffer in which the result will be stored.

See also