Revision control
Copy as Markdown
Other Tools
use crate::backend;
/// `sync`—Flush cached filesystem data for all filesystems.
///
/// # References
/// - [POSIX]
/// - [Linux]
///
#[inline]
pub fn sync() {
backend::fs::syscalls::sync();
}