pub fn fdatasync<Fd>(fd: Fd) -> Result<(), Errno> ⓘwhere Fd: AsFd,
dep_rustix
fdatasync(fd)—Ensures that file data is written to the underlying storage device.
fdatasync(fd)