Function rustix::fs::fdatasync

pub fn fdatasync<Fd: AsFd>(fd: &Fd) -> io::Result<()>
Documentation

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

References