streambuf::sputbackc

Syntax

int sputbackc( char ch );

Parameters

ch

The character to be put back to the streambuf object.

Remarks

Moves the get pointer back one position. The ch character must match the character just before the get pointer.

Return Value

EOF on failure.

See Also

streambuf::sbumpc, streambuf::pbackfail