protected: virtual int sync()
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.
0 in case of success,
-1 in case of failure.
(public member function of
| synchronizes an output stream with the actual file
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.