HP-UX Reference (11i v1 05/09) - 2 System Calls (vol 5)
s
sigaction(2) sigaction(2)
• The type of argument act is changed from
struct sigaction * to const struct sigac-
tion *
.
• A statement is added to the DESCRIPTION section indicating that the consequence of attempting
to set
SIG_DFL for a signal that cannot be caught or ignored is unspecified. The [EINVAL] error,
describing one possible reaction to this condition, is added to the ERRORS section.
Other changes are incorporated as follows:
• The
raise() and signal() functions are added to the list of functions that are either reen-
trant or not interruptible by signals;
fpathconf() is also added to this list and marked as an
extension;
ustat() is removed from the list, as this function is withdrawn from the interface
definition. It is no longer specified whether
abort(), chroot(), exit(), and longjmp()
also fall into this category of functions.
• The APPLICATIONUSAGE section is added. Most of this text is moved from the DESCRIPTION
section in Issue 3.
• The WARNINGS section is added.
Issue 4, Version 2
The following changes are incorporated for X/OPEN UNIX conformance:
• The DESCRIPTION describes
sa_sigaction , the member of the sigaction structure that is the
signal-catching function.
• The DESCRIPTION describes the SA_ONSTACK , SA_RESETHAND , SA_RESTART ,
SA_SIGINFO , SA_NOCLDWAIT , and SA_NODEFER settings of sa_flags. The text describes the
implications of the use of SA_SIGINFO for the number of arguments passed to the signal-catching
function. The text also describes the effects of the SA_NODEFER and SA_RESETHAND flags on
the delivery of a signal and on the permanence of an installed action.
• The DESCRIPTION specifies the effect if the action for the
SIGCHLD signal is set to
SIG_IGN.
• In the DESCRIPTION, additional text describes the effect if the action is a pointer to a function. A
new bullet covers the case where
SA_SIGINFO is set. SIGBUS is given as an additional signal
for which the behaviour of a process is undefined following a normal return from the signal-
catching function.
• The APPLICATION USAGE section is updated to describe use of an alternate signal stack;
resumption of the process receiving the signal; coding for compatibility with POSIX.4-1993; and
implementation of signal-handling functions in BSD.
HP-UX 11i Version 1: September 2005 − 7 − Hewlett-Packard Company Section 2−−361