Entry point for all single‐character output functions.
Synopsis
Declared in <bslstl_syncbuf.h>
int_type
sputc(char_type __c);
Description
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).
Return Value
__c, if possible.
Parameters
Name |
Description |
__c |
A character to output. |
Created with MrDocs