[#bsl-basic_syncbuf-snextc] = xref:bsl.adoc[bsl]::xref:bsl/basic_syncbuf.adoc[basic_syncbuf]::snextc :relfileprefix: ../../ :mrdocs: Getting the next character. == Synopsis Declared in `<bslstl_syncbuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int_type snextc(); ---- == Description Calls `sbumpc(),` and if that function returns `traits::eof(),` so does this function. Otherwise, `sgetc().` == Return Value The next character, or eof. [.small]#Created with https://www.mrdocs.com[MrDocs]#