mirror of
https://github.com/znc/znc.git
synced 2026-08-08 18:03:22 +02:00
Add CFile::Sync()
This adds a simple wrapper for fsync() to CFileUtils. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1431 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -98,6 +98,7 @@ public:
|
||||
static bool Chmod(const CString& sFile, mode_t mode);
|
||||
bool Seek(unsigned long uPos);
|
||||
bool Truncate();
|
||||
bool Sync();
|
||||
bool Open(const CString& sFileName, int iFlags = O_RDONLY, mode_t iMode = 0644);
|
||||
bool Open(int iFlags = O_RDONLY, mode_t iMode = 0644);
|
||||
int Read(char *pszBuffer, int iBytes);
|
||||
|
||||
Reference in New Issue
Block a user