HP-UX Reference (11i v1 00/12) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man5/!!!intro.5
________________________________________________________________
___ ___
s
signal(5) signal(5)
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 <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 non-zero 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.
SIGEV_SIGNAL The signal specified in sigev_signo will be generated for the process when
the event of interest occurs. If SA_SIGINFO is set for that signal number,
then the signal will be queued to the process, and the value specified in
sigev_value will be the sigev_value component of the generated signal. If
SA_SIGINFO is not set for that signal number, it is unspecified whether
the signal is queued, and what value, if any, is sent.
The sigev_signo member specifies the signal to be generated. The sigev_value member is the application-
defined value to be passed to the signal-catching function at the time of the signal delivery or to be returned
at signal acceptance as the si_value member of the siginfo_t structure.
The
<signal.h> header defines sigval as a union that includes at least the following members:
int sival_int Integer signal value
void * sival_ptr Pointer signal value.
The <signal.h> header defines the siginfo_t type as a structure that includes at least the following
members:
int si_signo signal number
if non-zero, an errno value
associated with this signal, as
defined in <errno.h>
int si_errno
int si_code signal code
union sigval si_value signal value
id_t si_pid sending process ID
uid_t si_uid real user ID of sending process
void *si_addr address of faulting instruction
int si_status exit value or signal
long si_band band event for SIGPOLL
The si_code member contains a code identifying the cause of the signal. The following values are defined
for si_code:
SI_USER The signal was sent by kill(). The si_code may be set to SI_USER also
if the signal was sent by raise() or similar functions that are provided
as implementation extensions of kill().
SI_QUEUE The signal was sent by sigqueue().
SI_TIMER The signal was generated by the expiration of a timer set by
timer_settime().
Section 5−−330 − 3 − HP-UX Release 11i: December 2000
___
___