Moving backwards in the input stream.

Synopsis

Declared in <bslstl_stringbuf.h>

int_type
sungetc();

Description

If a putback position is available, this function decrements the input pointer and returns that character. Otherwise, calls and returns pbackfail(). The effect is to unget the last character gotten.

Return Value

The previous character, if possible.

Created with MrDocs