next up previous contents index
Next: 7.3.3 getroot: Return a Up: 7.3 oskit_filesystem: File System Previous: 7.3.1 statfs: Get attributes

7.3.2 sync: Synchronize in-core filesystem data with permanent storage

 

SYNOPSIS

#include <oskit/fs/filesystem.h>

oskit_error_t oskit_filesystem_sync(oskit_filesystem_t *f, oskit_bool_t wait);

DIRECTION

client OS tex2html_wrap_inline32841 filesystem library

DESCRIPTION

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.

PARAMETERS

f
The filesystem to sync.
wait
TRUE if the call should wait for completion.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



University of Utah Flux Research Group