[net.lang.c] Shady programming, ignoring return values

grt@twitch.UUCP ( G.R.Tomasevich) (05/12/86)

> 		w = y;				return w = x,
> 		return;

As usual, news arrived out of order.  Someone else already barfed on this.

> Yes, but it all depends on what you're willing to put up with. I find it
> terribly ugly having to cast printf's or close's to void. And as

What happens if your program is a filter and the printf() return values
are trying to tell you something, such as that the disk is full?  We have
had people do that to us with overnight program runs.  Even if your program
is not a filter WRT stdout, you might still redirect output, or even
stderr also for an overnight run.  A 'little output' could become a lot for
some pathological reason.
-- 
	George Tomasevich, ihnp4!twitch!grt
	AT&T Bell Laboratories, Holmdel, NJ