Mail Archives: djgpp/1997/08/22/20:20:11
Lawrence Kirby wrote:
> 7.9.3 does *not* guarantee that stdout's buffer is flushed before a
> character is read:
>
> 1. it doesn't guarantee that stdout refers to an interactive device
>
> 2. even if it does the stream can be line buffered and there is no
> new-line character being output above.
That's not the way I read it:
"Furthermore, characters are intended to be transmitted as a block to
the host environment when a buffer is filled, when inputi s requested
on an unbuffered stream, or when input is requested on a line buffered
stream that requires the transmission of characters from the host
environment" (ANSI C 7.9.3).
--
Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com
Alcyone Systems / web / http://www.alcyone.com/max/
San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W
\
"Love is not love which alters / when it alteration finds."
/ William Shakespeare, _Sonnets_, 116
- Raw text -