SYS$UNWIND (OpenVMS) SYS$UNWIND (OpenVMS)
NAME
longjmp - restore execution context
siglongjmp - restore execution and signal context
SYS$UNWIND - Unwind from condition handler frame
EXPLAINATION
The Digital UNIX longjmp system call is similar to the OpenVMS
SYS$UNWIND system service. The longjmp system call performs a non-
local goto operation. However, care must be taken to ensure the stack
is valid at the new location. The return location is set by the setjmp
system call. The longjmp call will reset all registers including the
PC and the SP to the values they contained at the time the sysjmp call
was invoked. The siglongjmp system call and its sibling, sigsetjmp,
also save and restore the signal context.
RELATED INFORMATION
Digital UNIX Functions:
siglongjmp(2), longjmp(2), setjmp(2), sigsetjmp(2) delim off
SYS$UNWIND (OpenVMS)