fstream::rdbuf

filebuf* rdbuf() const;

Remarks

Returns a pointer to the filebuf buffer object that is associated with this stream. (This is not the character buffer; the filebuf object contains a pointer to the character area.)

fstream OverviewInput Stream Classes