Function rustix::fs::fdatasync
pub fn fdatasync<Fd: AsFd>(fd: &Fd) -> io::Result<()>
The portability is definied by:
#[cfg(not(any(target_os = "dragonfly", target_os = "ios", target_os = "macos",
target_os = "redox")))]