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