SETJMP(3F) COMMAND REFERENCE SETJMP(3F) NAME setjmp, longjmp - nonlocal goto SYNOPSIS integer function setjmp(ienv) integer ienv(18) integer function longjmp(ienv, ival) integer ienv(18) integer ival DESCRIPTION These routines are useful for dealing with errors and interrupts encountered in a low-level subroutine of a program. Setjmp saves its stack environment in ienv for later use by longjmp. It returns value 0. Longjmp restores the environment saved by the last call of setjmp. It then returns in such a way that execution continues as if the call of setjmp had just returned the value ival to the function that invoked setjmp, which must not itself have returned in the interim. All accessible data have values as of the time longjmp was called, except for objects of storage class auto or register whose values have been changed between the setjmp and longjmp calls. These values are undefined. SEE ALSO setjmp(3c) and signal(3c). Printed 5/12/88 1
%%index%% na:312,83; sy:395,1240; de:1635,1486; se:3121,164; %%index%%000000000084