[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: print stdout and flush
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 26 May 2011 13:00:48 -0300
> C99, 7.19.3 Files, paragraph 7 and 5.1.2.3/6
> Basically it says that at program startup stdout is opened as a full
> buffered file unless it is connected to an interactive device...
7.19.3/7:
As initially opened, the standard error stream is not fully buffered;
the standard input and standard output streams are fully buffered if
and only if the stream can be determined not to refer to an interactive
device.
5.1.2.3/6:
What constitutes an interactive device is implementation-defined.
:)
-- Roberto