Function fsync

pub fn fsync<Fd: AsFd>(fd: Fd) -> Result<()>

Synchronize changes to a file

See also fsync(2)