Ensure file contents are fully committed to disk, using a platform-specific feature analogous to fsync().
Declared in <util/fs_helpers.h>
bool
FileCommit(FILE* file);
true if the contents were committed successfully.
| Name | Description |
|---|---|
| file [in] | The open file whose contents should be flushed to disk. |