fn fsync(fd: fd_t) SyncError!void

Write all pending file contents and metadata modifications for the specified file descriptor to the underlying filesystem.

Parameters

fd: fd_t,