Bug in isatty (all systems!)

hamilton at uiucuxc.Uiuc.ARPA hamilton at uiucuxc.Uiuc.ARPA
Mon Aug 5 06:58:00 AEST 1985


> No where does the documentation explicitly say "Some routines which return
> successful results may, as a side-effect, set the value of errno to an
> arbitrary value."  In addition, I would consider such cases to warrant
> mention in the "Special Considerations" :-) section.

of course the documentation doesn't say that.  it isn't true.
isatty() and mktemp(), for example, don't even "know" errno exists.



More information about the Comp.bugs.4bsd.ucb-fixes mailing list