volatile
Doug Gwyn
gwyn at brl-smoke.ARPA
Wed Apr 13 00:26:37 AEST 1988
In article <1045 at mcgill-vision.UUCP> mouse at mcgill-vision.UUCP (der Mouse) writes:
>In article <7594 at brl-smoke.ARPA>, gwyn at brl-smoke.ARPA (Doug Gwyn ) writes:
>> In article <1264 at PT.CS.CMU.EDU> edw at IUS1.CS.CMU.EDU (Eddie Wyatt) writes:
>>> static void catch(int signo, code; struct sigcontext *scp) { gotcha = 1; }
>> This Berkeley extension does not conform to the standard,
>Berkeley practice seems pretty firmly established to me.
Far from it; the additional arguments were a fairly recent change in
the Berkeley variant of UNIX; they run counter to the established
definition and implementation of signal() AT THE TIME BERKELEY DECIDED
TO CHANGE THEIR IMPLEMENTATION, and to top it off, the problem of
variadic argument lists wasn't dealt with (because all the world's
a VAX, presumably). Thus Berkeley's approach is simply not suitable
for an OS-independent standard. I wish they would invent new
interfaces when they decide to change things like this.
More information about the Comp.lang.c
mailing list