HP-UX Reference (11i v3 07/02) - 5 Miscellaneous Topics (vol 9)

s
signal(5) signal(5)
NAME
signal: signal.h - description of signals
SYNOPSIS
#include <signal.h>
DESCRIPTION
The <signal.h> header defines the following symbolic constants, each of which expands to a distinct
constant expression of the type:
void (*)(int)
whose value matches no declarable function.
SIG_DFL Request for default signal handling.
SIG_ERR Return value from signal() in case of error.
SIG_HOLD Request that signal be held.
SIG_IGN Request that signal be ignored.
The following data types are defined through typedef:
sig_atomic_t Integral type of an object that can be accessed as an atomic entity, even in the pres-
ence of asynchronous interrupts
sigset_t Integral or structure type of an object used to represent sets of signals.
pid_t As described in <sys/types.h>
.
This header also declares the constants that are used to refer to the signals that occur in the system. Sig-
nals defined here begin with the letters
SIG. Each of the signals have distinct positive integral values.
The value 0 is reserved for use as the null signal (see kill(2)). Additional implementation-dependent signals
may occur in the system.
HP-UX supports multiple signal interfaces (see sigaction(2), signal(2), and sigset(3C)) that allow a process
to specify the action taken upon receipt of a signal.
The following signals are supported on all implementations. The default actions A (Abort), C (Continue), I
(Ignore), S (Stop) and T (Abnormal Termination) are explained after the table.
Default
Signal Action Description
SIGABRT A Process abort signal.
Same as SIGIOT.
SIGALRM T Alarm clock.
SIGBUS A Access to undefined portion of a memory object.
SIGCHLD I Child process terminated or stopped.
Same as SIGCLD.
SIGCLD I Same as SIGCHLD (also see WARNINGS below).
SIGCONT C Continue executing, if stopped.
SIGEMT A Software generated signal.
SIGFPE A Erroneous arithmetic operation.
SIGHUP THangup.
SIGILL A Illegal instruction.
SIGIO I Asynchronous I/O signal; see select(2).
Same as SIGPOLL.
SIGIOT A Process abort signal. Same as SIGABRT.
SIGINT T Terminal interrupt signal.
SIGKILL T Kill (cannot be caught or ignored).
SIGLOST A File lock lost (NFS file locking).
SIGPIPE T Write on a pipe with no one to read it.
SIGPOLL T Pollable event.
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 471