fdSync

fnErrno fdSync(Fd fd) extern(C) nothrow @nogc @wasi @importName("fd_sync")

Synchronize the data and metadata of a file to disk.

Note

This is similar to fsync in POSIX.