# std::basic_osyncstream<CharT,Traits,Allocator>::rdbuf

> C++ Atlas: `cppatlas.com/w/cpp/io/basic_osyncstream/rdbuf` | Source: https://en.cppreference.com/w/cpp/io/basic_osyncstream/rdbuf | Domain: Input/output

Returns a pointer to the underlying std::basic_syncbuf.

## Official Specification Summary (cppreference)

```cpp
syncbuf_type* rdbuf() const noexcept;
```

Returns a pointer to the underlying `std::basic_syncbuf`.

### Parameters

(none)

### Example

> Note: This section is incomplete Reason: no example

### See also

- [`get_wrapped`](https://en.cppreference.com/w/cpp/io/basic_osyncstream/get_wrapped): obtains a pointer to the final destination stream buffer (public member function)
- [`rdbuf`](https://en.cppreference.com/w/cpp/io/basic_ios/rdbuf): manages associated stream buffer (public member function of `std::basic_ios<CharT,Traits>`)

---
Attribution: content from https://en.cppreference.com/w/cpp/io/basic_osyncstream/rdbuf (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.