fn fsync(fd: fd_t) SyncError!void
Write all pending file contents and metadata modifications for the specified file descriptor to the underlying filesystem.
fd: fd_t,