Function syncfs

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

Commit filesystem caches containing file referred to by the open file descriptor fd to disk

See also syncfs(2)