1
0

Added cFile::Flush().

This is useful when using cFile as a log file and we know the server may crash after a specific write, so we flush the file before continuing.
This commit is contained in:
madmaxoft
2014-01-25 15:27:34 +01:00
parent 96b4af1596
commit 5aa3fc4c56
2 changed files with 34 additions and 20 deletions

View File

@@ -450,3 +450,12 @@ int cFile::Printf(const char * a_Fmt, ...)
void cFile::Flush(void)
{
fflush(m_File);
}