streambuf::sputbackc

int sputbackc( char ch );

Return Value

EOF on failure.

Parameter

ch

The character to be put back to the streambuf object.

Remarks

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

streambuf OverviewStream Buffer Classes

See Also   streambuf::sbumpc, streambuf::pbackfail