sigignore(2) DG/UX 5.4R3.00 sigignore(2)
NAME
sigignore - set the signal action of a signal to 'ignore'
SYNOPSIS
#include <signal.h>
int sigignore (signalnumber)
int signalnumber;
where:
signalnumber The signal whose action is to be changed to ignore
DESCRIPTION
Sigignore sets the signal action associated with the specified signal
to 'ignore' and the signal is removed from the set of signals blocked
from presentation. (Any pended signals are also effectively
discarded because as soon as they are unblocked, they are ignored.)
It is not possible to ignore SIGKILL or SIGSTOP (see sys/signal.h).
An attempt to ignore these signals will produce the error EINVAL.
This system call performs exactly the same basic operation as the
signal, sigset, and sigvec system calls with the function set to
SIG_IGN. Note, however, that sigvec does NOT remove the signal from
the set of blocked signals.
ACCESS CONTROL
None.
RETURN VALUE
0 The operation succeeded.
-1 The operation failed.
DIAGNOSTICS
Errno may be set to one of the following error codes:
EINVAL Signalnumber is an illegal signal number or a signal that
may not be ignored.
SEE ALSO
sighold(2), sigpause(2), sigrelse(2), sigset(2).
Licensed material--property of copyright holder(s) 1