FlushFile Function

Flushes a file's buffered output; any buffered output is immediately written to the file.

bool FlushFile(Handle file)

Parameters

Handle file

Handle to the file.

Return Value

True on success or use_valve_fs specified with OpenFile, otherwise false on failure.