nix::fcntl

Function posix_fadvise

Source
pub fn posix_fadvise<Fd: AsFd>(
    fd: Fd,
    offset: off_t,
    len: off_t,
    advice: PosixFadviseAdvice,
) -> Result<()>
Expand description

Allows a process to describe to the system its data access behavior for an open file descriptor.

ยงSee Also