basic_fstream::rdbuf

Returns the address of the stored stream buffer, of type pointer to basic_filebuf<Elem, Tr>.

basic_filebuf<Elem, Tr> *rdbuf( ) const

Return Value

The address of the stored stream buffer.

Example

See basic_filebuf::close for an example of how to use rdbuf.

Requirements

Header: <fstream>

Namespace: std

See Also

Reference

basic_fstream Class

iostream Programming

iostreams Conventions

Other Resources

basic_fstream Members