Guardian Programming Reference Summary for pTAL and TAL
Procedure Calls Summary (R-Z)
Guardian Programming Reference Summary for pTAL and TAL—522631-001
8-29
SIGJMP_MASKSET_
Saves a signal mask in a jump buffer that has already been initialized by the
SIGSETJMP_ procedure.
SIGLONGJMP_
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.
Note. This procedure can be called only from TNS/R native processes.
?SOURCE $SYSTEM.SYSTEM.HTDMSIG
error := SIGJMP_MASKSET_ ( env
,signal-mask );
error, INT(32) returned value
0D Indicates a successful outcome.
Indicates an error. The reason for the error is given in the errno variable:
-1D
FE_EINVAL The jump buffer has not been initialized.
Use the ERRNO_GET_ procedure to obtain the value of errno in a Guardian
process.
env, INT .EXT:ref:(SIGJMP_BUF_TEMPLATE) input, output
signal-mask, INT .EXT:ref:(SIGSET_T) input
Note. This procedure can be called only from TNS/R native processes.
?SOURCE $SYSTEM.SYSTEM.HSETJMP
SIGLONGJMP_ ( env
,value );
env, INT .EXT:ref:(SIGJMP_BUF_TEMPLATE) input
value, INT(32):value input