[#bsl-basic_syncbuf-sputc] = xref:bsl.adoc[bsl]::xref:bsl/basic_syncbuf.adoc[basic_syncbuf]::sputc :relfileprefix: ../../ :mrdocs: Entry point for all single‐character output functions. == Synopsis Declared in `<bslstl_syncbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *__c* | A character to output. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#