COHERENT manpages

This page displays the COHERENT manpage for sigaddset() [Add a signal to a set of signals].

List of available manpages
Index


sigaddset() -- Signal Function (libc)

Add a signal to a set of signals
#include <signal.h>
int sigaddset (set, signo)
sigset_t *set; int signo;

sigaddset() is  one of a  set of signalling functions  that manipulate data
objects addressable  by the application, instead of a  set of signals known
to the system.  It adds the signal signo to the set of signals to which set
points.

If all goes well, sigaddset() returns  zero.  If signo is set to an invalid
or unsupported value, it returns -1 and sets errno to EINVAL.

See Also

libc,
sigaction(),
sigdelset(),
sigemptyset(),
sigfillset(),
sigismember()

Notes

If  your program  is  compiled using  the  System V  Release 4  compilation
environment, this  is a  function that  is linked in  from libc. If  not, a
macro form is used.