##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::basic_ifstream::rdbuf

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

[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_ifstream/rdbuf&oldid=50841"
Category:

- Todo no example