[#bsl-basic_syncbuf-sgetn] = xref:bsl.adoc[bsl]::xref:bsl/basic_syncbuf.adoc[basic_syncbuf]::sgetn :relfileprefix: ../../ :mrdocs: Entry point for xsgetn. == Synopsis Declared in `<bslstl_syncbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- streamsize sgetn( char_type* __s, streamsize __n); ---- == Description Returns xsgetn(__s,__n). The effect is to fill ___s[0]_ through ___s[]_ with characters from the input sequence, if possible. == Parameters [cols="1,4"] |=== | Name| Description | *__s* | A buffer area. | *__n* | A count. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#