cpp/io/strstreambuf/overflow

Appends the character to the put area of the buffer, reallocating if possible.

@1@ If, does nothing @2@ Otherwise, if the put area has a write position available, stores the character as if by @3@ Otherwise, if the stream buffer mode is not dynamic or the stream buffer is currently frozen, the function fails and returns @4@ Otherwise, the function reallocates (or initially allocates) a dynamic array large enough to hold the contents of the current dynamic array (if any) plus at least one additional write position. If a pointer to the allocating function was used in the constructor, that function is called with  where  is the number of bytes to allocate, otherwise  is used. If a pointer to the deallocating function was used in the constructor, that function is called with  to deallocate the previous array, if needed, otherwise  is used. If allocation fails, the function fails and returns.

Return value
If, returns some value other than. Otherwise, returns on success, eof on failure.