Function lrs::syscall::madvise

Advise the kernel of a certain memory usage pattern.

Syntax

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

Arguments

NameDescription
addr

The start of the range to be advised.

len

The length of the range to be advised.

advice

The advice given.

See also