>>>>> "tb" == <[EMAIL PROTECTED]> writes:
tb> Dave Reed's message says:
tb> ]- (be certain to use fprintf(stderr, not printf since printf is
tb> ]- buffered output.
tb> This is the only point I'd disagree with. I think you'll find
tb> that both named routines are buffered, or that the stream passed
tb> to fprintf is irrelevant. Certainly it used to be that stdio
tb> was all buffered until a newline was output or the stream's
tb> buffer was full. Even then you can force the issue with
tb> fflush() and most involutary process exits flush stdio streams.
IIRC, the C standard indicates that stderr shall not be buffered
unless the program mandates this with setvbuf() or maybe uses
freopen().
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.