Function nc::sync[][src]

pub fn sync() -> Result<(), Errno>
Expand description

Commit filesystem caches to disk.

assert!(nc::sync().is_ok());