basic_ofstream::rdbuf

basic_filebuf<E, T> *rdbuf() const

The member function returns the address of the stored stream buffer, of type pointer to basic_filebuf<E, T>.