Function fdatasync

fn fdatasync<Fd: std::os::fd::AsFd>(fd: Fd) -> Result<()>

Synchronize the data of a file

See also fdatasync(2)