MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / Flush

Method Flush

Libraries/unrar/file.cpp:585–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

583
584
585void File::Flush()
586{
587#ifdef _WIN_ALL
588 FlushFileBuffers(hFile);
589#else
590#ifndef FILE_USE_OPEN
591 fflush(hFile);
592#endif
593 fsync(GetFD());
594#endif
595}
596
597
598void File::SetOpenFileTime(RarTime *ftm,RarTime *ftc,RarTime *fta)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected