Function rustix::fs::fcntl_nocache
source · pub fn fcntl_nocache<Fd: AsFd>(fd: Fd, value: bool) -> Result<()>
Expand description
fcntl(fd, F_NOCACHE, value)
—Turn data caching off or on for a file
descriptor.
See this mailing list post for additional information about the meanings
of F_NOCACHE
and F_GLOBAL_NOCACHE
.
See also fcntl_global_nocache
.