Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

MailFlushHandle

function MailFlushHandle(aHandle: THandle): Boolean;
Flushes an open file (or, on POSIX, directory) to stable storage: True when the system says it did. Windows FlushFileBuffers; POSIX fsync; Darwin F_FULLFSYNC, falling back to fsync where the file system does not implement it (SMB, some FUSE) - as SQLite and Go do.