Guardian Programmer's Guide

Table Of Contents
Debugging, Trap Handling, and Signal Handling
Guardian Programmer’s Guide 421922-014
25 - 24
Standard Signals Functions
Table 25-3. Signals Functions That Conform to the POSIX.1
Standard (page 1 of 2)
C Function pTAL Procedure Description
abort() No equivalent Terminates the calling process by sending it a
SI
GABRT signal.
alarm() No equivalent Sets or changes a timer that expires at a
sp
ecified time in the future. When the timer
expires, the SIGALRM signal is generated.
kill() No equivalent Sends a signal to a process. The ki
ll()
function requires an OSS process ID to identify
the process receiving the signal, and a Guardian
process does not have an OSS process ID. A
native Guardian process cannot receive a signal
from or send a signal to another process
(Guardian or OSS) using the kill() function.
longjmp()
LONGJMP_ Performs a nonlocal goto. Restores the
execution context saved by a call to the
setjmp() function.
pause()
No equivalent Suspends the calling process until it receives a
signal whose action is either to execute a signal
handler or to terminate the process.
raise()
RAISE_ Sends a signal to the calling process.
setjmp()
SETJMP_ Saves the current execution context, which is
restored after a call to longjmp().
sigaction()
SIGACTION_ Specifies the action to be taken upon delivery of
a signal. An action for a signal remains in effect
until it is changed by another call to
sigaction().
sigaddset()
SIGADDSET_ Adds a signal to a signal set (not to a process
signal mask).
sigdelset()
SIGDELSET_ Deletes a signal from a signal set (not from a
process signal mask).
sigemptyset() SIGEMPTYSET_ Initializes a signal set (not a process signal
m
ask) to exclude all signals.
sigfillset() SIGFILLSET_ Initializes a signal set (not a process signal
ma
sk) to include all signals.
sigismember() SIGISMEMBER_ Tests whether a signal is a member of a signal
s
et (not of a process signal mask).