/*! \internal */ bool QFSFileEnginePrivate::nativeFlush() { #ifdef Q_OS_SYMBIAN if (symbianFile.SubSessionHandle()) return (KErrNone == symbianFile.Flush()); #endif return fh ? flushFh() : fd != -1; }
/* \internal */ bool QFSFileEnginePrivate::nativeFlush() { if (fh) { // Buffered stdlib mode. return flushFh(); } if (fd != -1) { // Unbuffered stdio mode; always succeeds (no buffer). return true; } // Windows native mode; flushing is unnecessary. return true; }
/*! \internal */ bool QFSFileEnginePrivate::nativeFlush() { return fh ? flushFh() : fd != -1; }