Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pavlov <ipavlov@users.sourceforge.net>2006-04-13 04:00:00 +0400
committerKornel LesiƄski <kornel@geekhood.net>2016-05-28 02:15:47 +0300
commit83911c8529146922f2d32b04d8d6107aaf338fb8 (patch)
tree5cef47b652cf2659635a6631bf8eb1a27abd5c93 /Common/StdOutStream.cpp
parentcb9eea7264409202d974b41b08d976ddbca6d203 (diff)
4.38 beta
Diffstat (limited to 'Common/StdOutStream.cpp')
-rwxr-xr-xCommon/StdOutStream.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Common/StdOutStream.cpp b/Common/StdOutStream.cpp
index b00fc399..5ab0f10b 100755
--- a/Common/StdOutStream.cpp
+++ b/Common/StdOutStream.cpp
@@ -31,6 +31,13 @@ bool CStdOutStream::Close()
return !_streamIsOpen;
}
+bool CStdOutStream::Flush()
+{
+ if(!_streamIsOpen)
+ return false;
+ return (fflush(_stream) == 0);
+}
+
CStdOutStream::~CStdOutStream ()
{
Close();