bsl::basic_syncbuf::sgetc

Getting the next character.

Synopsis

Declared in <bslstl_syncbuf.h>

int_type
sgetc();

Description

If the input read position is available, returns that character, otherwise calls and returns underflow(). Does not move the read position after fetching the character.

Return Value

The next character, or eof.