longjmp out of signal handler (was Re: alloca() portability)

Henry Spencer henry at zoo.toronto.edu
Sun Nov 25 10:09:18 AEST 1990


In article <257 at smds.UUCP> rh at smds.UUCP (Richard Harter) writes:
>I assume this is from the ANSI standard.  From this I gather that in
>fact there is no guaranteed portable way to longjmp out of a signal
>handler.  From this I infer (perhaps incorrectly) there is no way
>in ANSI C to do what I want that is safe.  On the other hand it is
>*probably* the case that the code schema I posted will work fine.

Correct.
-- 
"I'm not sure it's possible            | Henry Spencer at U of Toronto Zoology
to explain how X works."               |  henry at zoo.toronto.edu   utzoo!henry



More information about the Comp.lang.c mailing list