casts to void

Mark Purtill Purtill at MIT-MULTICS.ARPA
Thu Aug 8 11:57:04 AEST 1985


<Fnord>
1. Who says you're on UNIX anyway?  UNIX may have uniform treatment of
I/O, but not all systems do, and some of them have C.

2. I'll conceed the point that usually you should do something when
printf fails.  However, usually that is print an error message (or fail
to do so) and die.  I claim the system should have some way of doing
that for me.  Perhaps there should be an io error signal which has
default action of doing nothing (where-upon the routine in question
returns an error value) but can be reset to print an error and die.

       Mark
^.-.^  Purtill at MIT-MULTICS.ARPA    **Insert favorite disclaimer here**
(("))  2-032 MIT Cambrige MA 02139



More information about the Comp.lang.c mailing list