Why use (void) func() ? (lint beef)

Peter da Silva peter at ficc.ferranti.com
Thu Oct 4 03:09:38 AEST 1990


In article <151806 at felix.UUCP> asylvain at felix.UUCP (Alvin E. Sylvain) writes:
> (BTW, even if you never check printf, IMAO you should *always* check scanf.

IMHO you should never *use* scanf. Its behaviour is so mind-bogglingly
stupid that it thinks that if you can't see it, it can't see you.
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
peter at ferranti.com



More information about the Comp.lang.c mailing list