W3cubDocs

/C++

std::basic_fstream::rdbuf

std::basic_filebuf<CharT, Traits>* rdbuf() const;
(since C++11)

Returns pointer to the underlying raw file device object.

Parameters

(none).

Return value

Pointer to the underlying raw file device.

Example

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/io/basic_fstream/rdbuf