Question on printf()

Jean-Pierre Radley jpr at dasys1.uucp
Fri Jun 15 14:26:10 AEST 1990


In article <1990Jun8.030206.4532 at virtech.uucp> cpcahil at virtech.UUCP (Conor P. Cahill) writes:
> [as one of the ways to geta printf() call to show up right away]

>3. add a setbuf(stdout,(char *) 0) at the begining of your program.  This 
>turns off all output buffering and can have a detrimental effect on the
>overall performance of your software.  

Why is that?
-- 
Jean-Pierre Radley						   jpr at jpradley
New York, NY					      72160.1341 at compuserve.com



More information about the Comp.unix.questions mailing list