Programming Windows D Examples are now Online!

Walter Bright newshound2 at digitalmars.com
Thu Jun 23 10:46:31 PDT 2011


On 6/23/2011 4:27 AM, Jimmy Cao wrote:
> Also, there's nothing in the C standard that says, stdout must be buffered this
> way or that way or even buffered at all.  I believe you can safely assume that
> stdout is line-buffered in Linux, though, but I'm not sure.

Even so, stdout buffering is done on a global, shared basis. There is not a 
per-thread buffer.

DMC++ buffers stdout by line if the output is a tty. This is normal practice.


More information about the Digitalmars-d-announce mailing list