Entry point for all single-character output functions.
Declared in <bslstl_syncbuf.h>
int_type
sputc(char_type __c);
One of two public output functions.
If a write position is available for the output sequence (i.e., the buffer is not full), stores __c in that position, increments the position, and returns traits::to_int_type(__c). If a write position is not available, returns overflow(__c).
__c, if possible.
| Name | Description |
|---|---|
| __c | A character to output. |