Ambiguity in definition of setjmp/longjmp makes them much less useful
Henry Spencer
henry at zoo.toronto.edu
Thu Oct 11 01:26:59 AEST 1990
In article <1990Oct09.143521.24019 at unx.sas.com> sasrer at unx.sas.com (Rodney Radford) writes:
>I believe (just guessing really) that the original C used 'builtins' for the
>setjmp/longjmp functions, ie: they special cased them.
Nope. The original pdp11 C compiler had a predictable stack-frame format
and could do stack unravelling right.
--
Imagine life with OS/360 the standard | Henry Spencer at U of Toronto Zoology
operating system. Now think about X. | henry at zoo.toronto.edu utzoo!henry
More information about the Comp.lang.c
mailing list