Function nix::sys::mman::madvise[][src]

pub unsafe fn madvise(
    addr: *mut c_void,
    length: size_t,
    advise: MmapAdvise
) -> Result<()>

give advice about use of memory

Safety

See the madvise(2) man page. Take special care when using MmapAdvise::MADV_FREE.