Getting the next character.
Declared in <bslstl_syncbuf.h>
<bslstl_syncbuf.h>
int_type snextc();
Calls sbumpc(), and if that function returns traits::eof(), so does this function. Otherwise, sgetc().
sbumpc(),
traits::eof(),
sgetc().
The next character, or eof.