cpp/io/basic streambuf/sputc

Writes one character to the output sequence.

If the output sequence write position is not available (the buffer is full), then calls.

Return value
The written character, converted to with  on success.

(as returned by overflow) on failure.