protected:
virtual int sync()
If a put area exists (e.g. the file was opened for writing), calls overflow() to write all pending output to the file, then flushes the file as if by calling std::fflush.
If a get area exists (e.g. the file was opened for reading), the effect is implementation-defined. Typical implementation may empty out the get area and move the current file position back by the corresponding number of bytes.
[edit] Parameters(none)
[edit] Return valueâ0â in case of success, -1 in case of failure.
[edit] Notessync()
or its equivalent is implicitly called for output streams by close()
, seekoff()
, and seekpos()
and explicitly called by std::basic_streambuf::pubsync()
std::basic_streambuf<CharT,Traits>
) [edit] synchronizes an output stream with the actual file
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4