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

s
signal(5) signal(5)
SIGQUIT A Terminal quit signal.
SIGSEGV A Invalid memory reference.
SIGSTOP S Stop executing (cannot be caught or ignored).
SIGTERM T Termination signal.
SIGTSTP S Terminal stop signal.
SIGTTIN S Background process attempting read.
SIGTTOU S Background process attempting write.
SIGUSR1 T User-defined signal 1.
SIGUSR2 T User-defined signal 2.
SIGPOLL T Pollable event.
SIGPROF T Profiling timer expired.
SIGPWR I Power fail (see WARNINGS below).
SIGSYS A Bad system call.
SIGTRAP A Trace/breakpoint trap.
SIGURG I High bandwidth data is available at a socket.
SIGVTALRM T Virtual timer expired.
SIGWINCH I Window size change; see termio(7).
SIGXCPU A CPU time limit exceeded.
SIGXFSZ A File size limit exceeded.
SIGRTMIN T First realtime signal.
SIGRTMAX T Last realtime signal.
The macros
SIGRTMIN and SIGRTMAX evaluate to integral expressions, and specify a range that includes
at least {RTSIG_MAX} signal numbers that are reserved for application use and for which the realtime
signal extensions are supported (see sigaction(2)).
The default actions are as follows:
A Abnormal termination of the process. Additionally, for some signals having this default
action, If the following conditions are met, generate a core image file (see core(4)) in the
current working directory of the receiving process:
The effective user ID and the real user ID of the receiving process are equal.
The effective group ID and the real group ID of the receiving process are equal.
A regular file named
core does not exist and can be created, or exists and is writable.
If the file is created, it has the following properties:
The file mode is 0600, modified by the file creation mode mask (see umask(2)).
The file user ID is equal to the effective user ID of the receiving process.
The file group ID is equal to the effective group ID of the receiving process.
C Continue the process, if it is stopped; otherwise ignore the signal.
I Ignore the signal.
S Stop the process. While a process is stopped, any additional signals sent to the process are
suspended until the process is restarted (except
SIGKILL, which is processed immedi-
ately). However, when the process is restarted, pending signals are processed. When a
process that is in an orphaned process group (see glossary(9)) receives a SIGTSTP,
SIGTTIN,orSIGTTOU signal, the process is not stopped because a process in an
orphaned process group is not allowed to stop. Instead, a SIGHUP signal is sent to the pro-
cess, and the SIGTSTP, SIGTTIN,orSIGTTOU is discarded.
T Abnormal termination of the process. The process is terminated with all the consequences
of exit() except that the status made available to wait() and waitpid() indicates
abnormal termination by the specified signal. See exit(2), wait(2), waitpid(2).
The header provides a declaration of struct sigaction, including at least the following members:
what to do on receipt of sig-
nal
void (*sa_handler)(int)
472 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007