MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / flushFile

Function flushFile

src/jrd/replication/ChangeLog.cpp:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 void flushFile(int handle)
90 {
91#ifdef WIN_NT
92 FlushFileBuffers((HANDLE) _get_osfhandle(handle));
93#else
94 fsync(handle);
95#endif
96 }
97
98 void raiseIOError(const char* syscall, const char* filename, ISC_STATUS errcode)
99 {

Callers 2

copyToMethod · 0.85
flushMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected