Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

Files signal(4)
If a subsequent occurrence of a pending signal is generated, it is discarded and only one instance
of the same signal remains pending; however, because this action is likely to change in future
releases, users should not rely on this behavior. The order in which pending signals are delivered
to a process is unspecified and should not be relied upon.
When any stop signal (SIGSTOP, SIGTSTP, SIGTTIN,orSIGTTOU) is generated for a pro-
cess, any pending SIGCONT signal for that process is discarded. Conversely, when SIGCONT
is generated for a process, all pending stop signals for that process are discarded even if these
signals are being caught.
When SIGCONT is generated for a process that is stopped, the process continues, even if the
SIGCONT signal is blocked or ignored. If SIGCONT is blocked and not ignored, it remains
pending until either it is unblocked or a stop signal is generated for the process.
When SIGUNCP is generated, the action taken allows an H-series process to control what hap-
pens when the process does not offer frequent enough opportunities to synchronize blade ele-
ments. Either the process can call a user signal-handler function, or the following actions are
defined:
SIG_ABORT The process terminates abnormally.
SIG_DEBUG The process enters the debugger so that an appropriate location for a voluntary
rendezvous opportunity can be identified.
SIG_DFL The signal is ignored by the process, but the system suspends the process until an
EMS event is generated for logging by the $ZLOG distributor.
SIG_IGN The signal is ignored by the process and no EMS event is generated.
When a signal handler is invoked (which normally only happens to allow debugging), the process
should call sigaction() to set SIG_IGN or SIG_DFL or simply return. It is undefined what hap-
pens if the signal is rearmed and siglongjmp() is called before the synchronization completes:
the process might suspend or it might abend.
Signals reserve the last 1000 words of the user stack. When a SIGSTK signal is delivered, the
system cuts back the stack to the start of the last 1000 words. If user data is present in the last
1000 words of the stack, that data is lost.
The Signals
The following table lists each signal name and corresponding signal number and default action.
On receipt of one of these signals, the application can elect to:
Accept the default action; see Default Action, later in this reference page.
Ignore the signal; see Ignoring a Signal, later.
Catch the signal by invoking a signal-specific function; see Catching a Signal, later.
Note that the SIGKILL, SIGSTOP, and SIGABEND signals can neither be caught nor ignored.
527186-023 Hewlett-Packard Company 1133