BloombergLP::bdlsb::OverflowMemOutput::sputc

Write the specified character at the current write position.

Synopsis

Declared in <bdlsb_overflowmemoutput.h>

int_type
sputc(char c);

Description

Write the specified character c at the current write position and advance write position of this buffer. Return c, or traits_type::eof() if the end of the write buffer is reached.

Return Value

c on success, or traits_type::eof() if the write buffer is full

Parameters

NameDescription
ccharacter to write