[#BloombergLP-bdls-FdStreamBuf-overflow] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdls.adoc[bdls]::xref:BloombergLP/bdls/FdStreamBuf.adoc[FdStreamBuf]::overflow :relfileprefix: ../../../ :mrdocs: Flush the output buffer, optionally appending character `c` first. == Synopsis Declared in `<bdls_fdstreambuf.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual int_type overflow(int_type c = traits_type::eof()) override; ---- == Description If in output mode, write the contents of the buffer to output. Return `traits_type::eof()` on failure, and any other value on success. Optionally specify a character `c` to be appended to the buffer prior to the flush. If no character is specified, no character is appended to the buffer. If not in output mode, switch to output mode. Note that the write will translate ` `s to `r `s. == Return Value `traits_type::eof()` on failure, and any other value on success == Parameters [cols="1,4"] |=== | Name| Description | *c* | character to append before flushing, or `eof()` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#