basic_filebuf::sync

Overrides basic_streambuf::sync

  virtual int sync();
  
Remarks

This protected member function returns zero if the file pointer fp is a null pointer. Otherwise, it returns fflush(fp) to flush any pending output to the stream.