Guardian Programming Reference Summary for C
Functions Summary (R-Z)
Guardian Programming Reference Summary for C—522630-001
8-23
SIGACTION_RESTORE_
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.
returned value:
SIGACTION_SUPPLANT_
Allows a subsystem (such as a shared run-time library) to take over signal handling 
temporarily.  Before exiting, the same subsystem calls SIGACTION_RESTORE_ to 
restore the signal-handling state established by the process before entering the 
subsystem.
Note. This procedure can be called only from TNS/R native processes.
#include <tdmsig.h>
int SIGACTION_RESTORE_ 
 ( sig_save_template *signal-buffer ); /* i */
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 TNS/R native processes.
#include <tdmsig.h>
int SIGACTION_SUPPLANT_ ( void (* handler) /* i */
 ( int signum 
 ,siginfo_t *
 ,void * )
 ,sig_save_template *signal-buffer /* o */
 ,short length ); /* i */










