[#FileCommit] = FileCommit :mrdocs: Ensure file contents are fully committed to disk, using a platform‐specific feature analogous to fsync(). == Synopsis Declared in `<util/fs_helpers.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool FileCommit(FILE* file); ---- == Return Value true if the contents were committed successfully. == Parameters [cols="1,4"] |=== | Name| Description | *file* [in] | The open file whose contents should be flushed to disk. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#