Function rustix::fs::fadvise

source ·
pub fn fadvise<Fd: AsFd>(
    fd: Fd,
    offset: u64,
    len: u64,
    advice: Advice
) -> Result<()>
Expand description

posix_fadvise(fd, offset, len, advice)—Declares an expected access pattern for a file.

References