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

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

References