Function fsync

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

Synchronize changes to a file

See also fsync(2)