Guardian Procedure Calls Reference Manual
SIGACTION_RESTORE_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameter
Returned Value
Considerations
Example
Related Programming Manual
Summary
NOTE: This procedure can be called only from native processes.
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
#include <tdmsig.h>
int SIGACTION_RESTORE_ ( sig_save_template *signal-buffer );
Syntax for TAL Programmers
?SOURCE $SYSTEM.SYSTEM.HTDMSIG
error := SIGACTION_RESTORE_ ( signal-buffer ); ! i
Parameter
signal-buffer
input
INT .EXT:ref:(SIG_SAVE_TEMPLATE)
specifies the address of a buffer in which the previous signal-handling state is saved.
Returned Value
INT(32)
Outcome of the call:
Successful outcome.0D
An error occurred. The reason for the error is given in the errno variable-1D
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.
Use the ERRNO_GET_ procedure to obtain the value of errno in a Guardian process.
1366 Guardian Procedure Calls (S)