wasi::wasi_snapshot_preview1
pub unsafe extern "C" fn fd_sync(fd: Fd) -> Errno
Synchronize the data and metadata of a file to disk. Note: This is similar to fsync in POSIX.
fsync