#include <oskit/fs/filesystem.h>oskit_error_t oskit_filesystem_sync(oskit_filesystem_t *f, oskit_bool_t wait);
client OS filesystem library
This method writes all of this filesystem's data back to permanent storage. If wait is TRUE, then the call does not return until all pending data has been completely written.
- f
- The filesystem to sync.
- wait
- TRUE if the call should wait for completion.
Returns 0 on success, or an error code specified in <oskit/error.h>, on error.