fileFlush
Shared
Writes to disk what was written to the file and is still in memory.
bool fileFlush(file file)
Parameters
| Name | Type | Description |
|---|---|---|
| file | file | A file opened by fileOpen or fileCreate. |
Returns
true if it worked.
Example
fileWrite(log, "checkpoint\n")
fileFlush(log)