devela::_dep::rustix::fs

Function fdatasync

pub fn fdatasync<Fd>(fd: Fd) -> Result<(), Errno> 
where Fd: AsFd,
Available on crate feature dep_rustix only.
Expand description

fdatasync(fd)—Ensures that file data is written to the underlying storage device.

§References