fdSync

fnErrno fdSync(Fd fd) @importName("fd_sync")

Synchronize the data and metadata of a file to disk.

Note

This is similar to fsync in POSIX.