why is fprintf(stderr,) slow?

Jim Webb jrw at hropus.UUCP
Wed Aug 20 04:53:08 AEST 1986


> > Standard error is unbuffered, eg, one char at a time, so it makes one
> > write system call per character, hence its slowness.
>                     ^^^^^^^^^^^^^
> 
> Surely you mean "per call".

Nope, "per character" makes much more sense than "it makes one write system
call per call."
-- 
Jim Webb             "Out of phase--get help"         ihnp4!houxm!hropus!jrw



More information about the Comp.unix mailing list