pub fn fdatasync<Fd: AsFd>(fd: Fd) -> Result<()>
Expand description

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

References