Function cloudabi::fd_sync [] [src]

pub unsafe fn fd_sync(fd_: fd) -> errno

Synchronizes the data and metadata of a file to disk.

Parameters

fd: The file descriptor of the file whose data and metadata needs to be synchronized to disk.