riot_sys

Function vfs_fsync

Source
pub unsafe extern "C" fn vfs_fsync(fd: c_int) -> c_int
Expand description

@brief Synchronize a file on storage Any pending writes are written out to storage.

@param[in] fd fd number obtained from vfs_open

@return 0 on success @return <0 on error