From: utzoo!decvax!cca!gwyn@Brl@sri-unix
Newsgroups: net.unix-wizards
Title: STDIO buffering
Article-I.D.: sri-unix.2863
Posted: Mon Aug 23 20:46:30 1982
Received: Wed Sep  8 15:52:03 1982

From:     Doug Gwyn 
Date:     14 Aug 82 1:13:06-EDT (Sat)
Strange, I use fflush() whenever buffering of output would be a
problem.  This gets the efficiency benefit (especially if you use
setbuf() to buffer stdout) with no hassles.

Perhaps the real problem is, some programmers don't understand how
to use the buffered i/o package correctly.  It really is useful
if you take the trouble to exert proper control over the buffering
strategy when you program.  On the other hand, no automatic buffering
scheme will be appropriate in all cases for people who can't be
bothered to invoke flushing/buffering when required.