Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-131
SIGACTION_RESTORE_ Procedure
SIGACTION_RESTORE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
The SIGACTION_RESTORE_ procedure restores the signal-handling state saved by a
previous call to the SIGACTION_SUPPLANT_ procedure. SIGACTION_SUPPLANT_
allows a subsystem (such as a shared run-time library) to take over signal handling
temporarily. SIGACTION_RESTORE_ restores the signal-handling state of the
process before the subsystem exits.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
error returned value
INT(32)
indicates the outcome of the call:
0D indicates a successful outcome.
-1D indicates an error. The reason for the error is given in the
errno variable:
FE_EFAULT The address in signal-buffer is invalid.
FE_EINVAL the content of the signal-buffer contains invalid data
or SIGACTION_SUPPLANT_ was not called.
Note. This procedure can be called only from native processes.
#include <tdmsig.h>
int SIGACTION_RESTORE_ ( sig_save_template *signal-buffer );
?SOURCE $SYSTEM.SYSTEM.HTDMSIG
error := SIGACTION_RESTORE_ ( signal-buffer ); ! i