write not buffered with custom configuration

Andy Valencia dont at spam.me
Sun Mar 1 14:59:39 UTC 2026


On Saturday, 28 February 2026 at 16:43:27 UTC, H. S. Teoh wrote:
> In general, stderr is unbuffered, whereas stdout is buffered.

POSIX has some implied fflush'ing of stdout, mostly having to do 
with cases where stdin is a terminal.  Modern best practices have 
converged on flushing for yourself at the point where you want 
the output to be seen.

Andy



More information about the Digitalmars-d-learn mailing list