fstream - STL C++

basic_filebuf<C, T>::sync()

Declaration

protected:
virtual int basic_filebuf<C,T>::sync();

Description

This is sync() function for the basic_filebuf class template. This is a protected function that is called to uses to synchronize streams. The function returns 0 if the file pointer is null. Otherwise, it returns 0 to indicate success and a nonzero value to indicate failure.

Header Include

#include <fstream>
 

© 2007–2024 XoaX.net LLC. All rights reserved.