>What does the ANSI standard say about this? The May 13, 1988 draft says that since "j" is of automatic storage duration, isn't declared "volatile", and was changed between the calls to "setjmp" and "longjmp", its value will be indeterminate after the call to "longjmp". Either behavior is conformant, as would be setting "j" to 666....