Function wasi::fd_sync

source · []
pub unsafe fn fd_sync(fd: Fd) -> Result<(), Errno>
Expand description

Synchronize the data and metadata of a file to disk. Note: This is similar to fsync in POSIX.