lint question

James C. Benz jcbst3 at cisunx.UUCP
Wed Jan 18 06:08:23 AEST 1989


In article <9322 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn (VLD/VMB) <gwyn>) writes:
>you should indeed test their return values and take proper error-
>recovery actions.  The one possible exception is
>	(void)fprintf(stderr, "...: operation failed\n");
>because if a write to the standard error output fails, you may have just

Okay, so where does one find out what error codes are returned from these
stdio functions?  The UNIX (AT&T 3B2) manuals I have say nothing in printf(3S)
about error codes, and stdio(3S) says "Individual function descriptions 
describe the possible error conditions"  Sounds like Catch 22 to me.



More information about the Comp.lang.c mailing list