W3cubDocs

/C++

std::basic_ofstream<CharT,Traits>::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.
https://en.cppreference.com/w/cpp/io/basic_ofstream/rdbuf