Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-142
SIGLONGJMP_ Procedure
SIGLONGJMP_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
The SIGLONGJMP_ procedure performs a nonlocal goto. It restores the state of the
calling process using context saved in a jump buffer by the SIGSETJMP_ procedure.
Control returns to the location of the corresponding SIGSETJMP_ procedure call. The
signal mask is also restored if it was saved; all other signal-handling specifications
remain unchanged.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
env input
INT .EXT:ref:(SIGJMP_BUF_TEMPLATE)
indicates the address of a previously allocated and initialized jump buffer
containing the process context to be restored by this procedure.
value input
INT(32):value
Note. This procedure can be called only from native processes.
#include <setjmp.h>
void siglongjmp ( sigjmp_buf env
,int value );
?SOURCE $SYSTEM.SYSTEM.HSETJMP
SIGLONGJMP_ ( env ! i
,value ); ! i