mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-05 14:06:27 -05:00
util.h: Document FileCommit function
This commit is contained in:
parent
844d650eea
commit
ce5cbaea63
1 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,11 @@ bool error(const char* fmt, const Args&... args)
|
||||||
}
|
}
|
||||||
|
|
||||||
void PrintExceptionContinue(const std::exception *pex, const char* pszThread);
|
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 FileCommit(FILE *file);
|
||||||
bool TruncateFile(FILE *file, unsigned int length);
|
bool TruncateFile(FILE *file, unsigned int length);
|
||||||
int RaiseFileDescriptorLimit(int nMinFD);
|
int RaiseFileDescriptorLimit(int nMinFD);
|
||||||
|
|
Loading…
Add table
Reference in a new issue