mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-27 14:51:18 +02:00
util.h: Document FileCommit function
This commit is contained in:
committed by
Luke Dashjr
parent
844d650eea
commit
ce5cbaea63
@@ -56,6 +56,11 @@ bool error(const char* fmt, const Args&... args)
|
||||
}
|
||||
|
||||
void PrintExceptionContinue(const std::exception *pex, const char* pszThread);
|
||||
|
||||
/**
|
||||
* Ensure file contents are fully committed to disk, using a platform-specific
|
||||
* feature analogous to fsync().
|
||||
*/
|
||||
bool FileCommit(FILE *file);
|
||||
bool TruncateFile(FILE *file, unsigned int length);
|
||||
int RaiseFileDescriptorLimit(int nMinFD);
|
||||
|
Reference in New Issue
Block a user