##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::basic_fstream::rdbuf

From cppreference.com
< cpp‎ | io‎ | basic fstream

[edit template]

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

Returns pointer to the underlying raw file device object.

### [edit] Parameters

(none)

### [edit] Return value

Pointer to the underlying raw file device.

### [edit] Example

| This section is incomplete Reason: no example

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/io/basic_fstream/rdbuf&oldid=50834"
Category:

- Todo no example