[#BloombergLP-bdlsb-FixedMemInput-sputbackc] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlsb.adoc[bdlsb]::xref:BloombergLP/bdlsb/FixedMemInput.adoc[FixedMemInput]::sputbackc :relfileprefix: ../../../ :mrdocs: Put back the specified character if it matches the previous character. == Synopsis Declared in `<bdlsb_fixedmeminput.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlsb/FixedMemInput/int_type.adoc[FixedMemInput::int_type] sputbackc(char c); ---- == Description Move the current read position back one character if the current read position is not at the beginning of the buffer and the previous position contains the specified character `c`, and return that character. Otherwise, return `traits_type::eof()` and do not move the current read position. == Return Value `c` on success, or `traits_type::eof()` on failure == Parameters [cols="1,4"] |=== | Name| Description | *c* | character that must match the previous character in the buffer |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#