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

s
signal(5) signal(5)
set of signals to be blocked
during execution of the sig-
nal handling function
sigset_t sa_mask
int sa_flags special flags
void (*) sa_sigaction pointer to signal
(int, siginfo_t *, void *) handler function
or one of the macros
SIG_IGN or SIG_DFL
The storage occupied by sa_handler and sa_sigaction may overlap, and a portable program must not use
both simultaneously.
The following are declared as constants:
SA_NOCLDSTOP Do not generate SIGCHLD when children stop.
SIG_BLOCK The resulting set is the union of the current set and the signal set pointed
to by the argument set.
SIG_UNBLOCK The resulting set is the intersection of the current set and the complement
of the signal set pointed to by the argument set.
SIG_SETMASK The resulting set is the signal set pointed to by the argument set.
SA_ONSTACK Causes signal delivery to occur on an alternate stack.
SA_RESETHAND Causes signal dispositions to be set to SIG_DFL on entry to signal
handlers.
SA_RESTART Causes certain functions to become restartable.
SA_SIGINFO Causes extra information to be passed to signal handlers at the time of
receipt of a signal.
SA_NOCLDWAIT Causes implementations not to create zombie processes on child death.
SA_NODEFER Causes signal not to be automatically blocked on entry to signal handler.
SS_ONSTACK Process is executing on an alternate signal stack.
SS_DISABLE Alternate signal stack is disabled.
MINSIGSTKSZ Minimum stack size for a signal handler.
SIGSTKSZ Default size in bytes for the alternate signal stack.
The ucontext_t structure is defined through typedef as described in <ucontext.h> .
The mcontext_t structure is defined through typedef as described in <ucontext.h> .
The <signal.h> header defines the stack_t type as a structure that includes at least the following
members:
void *ss_sp stack base or pointer
size_t ss_size stack size
int ss_flags flags
The <signal.h> header defines the sigstack structure that includes at least the following members:
int ss_onstack nonzero when signal stack is in use
void *ss_sp signal stack pointer
The <signal.h> header defines the sigevent structure that includes at least the following members:
int sigev_notify Notification type
int sigev_signo Signal number
union sigval sigev_value Signal value.
The sigev_notify member specifies the notification mechanism to use when an asynchronous event occurs.
The following values are defined for the sigev_notify member:
SIGEV_NONE No asynchronous notification will be delivered when the event of interest
occurs.
HP-UX 11i Version 3: February 2007 3 Hewlett-Packard Company 473