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.
basic_filebuf::close
basic_filebuf *close();
The member function returns a null pointer if the file pointerfp is a null pointer. Otherwise, it calls fclose``(fp). If that function returns a nonzero value, the function returns a null pointer. Otherwise, it returns this to indicate that the file was successfully closed.