std::basic_streambuf::sputn

From cppreference.com
 
 
 
 
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

[edit] See also

invokes xsputn()
(public member function)