[#bsl-basic_stringbuf-sputn] = xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic_stringbuf]::sputn :relfileprefix: ../../ :mrdocs: Entry point for all single‐character output functions. == Synopsis Declared in `<bslstl_stringbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- streamsize sputn( char_type const* __s, streamsize __n); ---- == Description One of two public output functions. Returns xsputn(__s,__n). The effect is to write ___s[0]_ through ___s[]_ to the output sequence, if possible. == Parameters [cols="1,4"] |=== | Name| Description | *__s* | A buffer read area. | *__n* | A count. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#