Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual522629-013
14-133
SIGACTION_SUPPLANT_ Procedure
SIGACTION_SUPPLANT_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
General Considerations
Handler Considerations
Example
Related Programming Manual
Summary
The SIGACTION_SUPPLANT_ procedure allows a subsystem (such as a shared run-
time library) to take over signal handling temporarily. Before exiting, the same
subsystem calls the SIGACTION_RESTORE_ restore to restore the signal-handling
state established by the process before entering the subsystem.
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:
Note. This procedure can be called only from native processes.
#include <tdmsig.h>
int SIGACTION_SUPPLANT_ ( void (* handler) ( int signum
,siginfo_t *
,void * )
,sig_save_template *signal-buffer
,short length );
?SOURCE $SYSTEM.SYSTEM.HTDMSIG
error := SIGACTION_SUPPLANT_ ( handler ! i
,signal-buffer ! o
,length ); ! i