Does NEWLINE always flush stdio buffer?

Dave Jones djones at megatest.UUCP
Thu Jul 6 04:17:24 AEST 1989


>From article <8045 at bsu-cs.bsu.edu), by dhesi at bsu-cs.bsu.edu (Rahul Dhesi):
) In article <18351 at mimsy.UUCP) chris at mimsy.UUCP (Chris Torek) writes:
)    I feel the best approach is for applications to set all output files
)    to `fully buffered', and then to use fflush whenever the output is
)    supposed to appear.  This never produces surprises...
) 
) ...except under VAX/VMS which, when you run a batch job, interprets
) 
)      fflush(stdout);
) 	  
) to mean:
) 
)      printf("\n");
) -- 
) Rahul Dhesi <dhesi at bsu-cs.bsu.edu)
) UUCP:    ...!{iuvax,pur-ee}!bsu-cs!dhesi


This came up a year or two ago, and somebody said that it was
going to be "fixed in the next release".  Do you have the latest
and greatest?



More information about the Comp.lang.c mailing list