VAX signal() prototype (Re: 0 and pointers.( Re: Abandon NULL for (0)))

Peter da Silva peter at ficc.uu.net
Thu Oct 19 02:07:45 AEST 1989


I can't believe that you guys are still flaming about the varargs nature
of the VAX/VMS prototype for signal(). That's not the weird part if you've
ever used VMS C (try ``open(name, mode, "tag=value", "tag=value")''). The
weird part is that it takes an (int *)() and returns a (void *)() (or the
other way around). What, you need to cast the return value of signal()
before you can pass it back to itself?
-- 
Peter da Silva, *NIX support guy @ Ferranti International Controls Corporation.
Biz: peter at ficc.uu.net, +1 713 274 5180. Fun: peter at sugar.hackercorp.com. `-_-'
"You can tell when a USENET discussion is getting old when one of the      'U`
 participants drags out Hitler and the Nazis" -- Richard Sexton



More information about the Comp.lang.c mailing list