Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Tries to synchronize the controlled streams with any associated external streams.
virtual int sync( );
Return Value
Returns zero if the file pointer fp is a null pointer. Otherwise, it returns zero only if calls to both overflow and fflush(fp) succeed in flushing any pending output to the stream.
Requirements
Header: <fstream>
Namespace: std