std::basic_streambuf::sputn
From cppreference.com
< cpp | io | basic streambuf
int_type sputc( char_type ch ); |
||
Writes one character to the output sequence.
If the output sequence write position is not available, returns overflow(ch). Otherwise returns traits::to_int_type(ch).
Contents |
[edit] Parameters
ch | - | character to write |
[edit] Return value
The written character on success or traits::eof() on failure.
[edit] Example
This section is incomplete Reason: no example |
[edit] See also
invokes xsputn() (public member function) |