Newsgroups: comp.lang.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: longjmp out of signal handler (was Re: alloca() portability) Message-ID: <1990Nov21.181358.8660@zoo.toronto.edu> Organization: U of Toronto Zoology References: <14377@smoke.brl.mil> <9122@ncar.ucar.edu> <27537@mimsy.umd.edu> <1990Nov16.181436.21736@zoo.toronto.edu> <249@smds.UUCP> Date: Wed, 21 Nov 90 18:13:58 GMT In article <249@smds.UUCP> rh@smds.UUCP (Richard Harter) writes: >Is it allowed to ask for help? :-) No. (!) The exact wording is If the signal occurs other than as the result of calling the `abort' or `raise' function, the behavior is undefined if the signal handler calls any function in the standard library other than the `signal' function itself (with a first argument of the signal number corresponding to the signal that caused the invocation of the handler) or refers to any object with static storage duration other than by assigning a value to a static storage duration variable of type `volatile sig_atomic_t'. -- "I don't *want* to be normal!" | Henry Spencer at U of Toronto Zoology "Not to worry." | henry@zoo.toronto.edu utzoo!henry