FD_SYNC

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

(@interface func (export "fd_sync")
(param $fd $fd)
(result $error (expected (error $errno)))
)