iostream hierarchy filebuf:: sync [virtual] [protected] |
cplusplus.com |
Synchronize file buffer.
Synchronizes the content of the internal file buffer with the physical file.
Parameters.
Return Value.
In case of success zero is returned,
Otherwise the function returns -1.
Basic template member declaration ( basic_filebuf<charT,traits> ):
int sync ( ); |
See also.
streambuf::pubsync
filebuf class