sigemptyset,  sigfillset,  sigaddset,  sigdelset,  sigismember  - POSIX
   signal set operations


   #include <signal.h>

   int sigemptyset(sigset_t *set);

   int sigfillset(sigset_t *set);

   int sigaddset(sigset_t *set, int signum);

   int sigdelset(sigset_t *set, int signum);

   int sigismember(const sigset_t *set, int signum);

   Feature Test Macro Requirements for glibc (see feature_test_macros(7)):

   sigemptyset(), sigfillset(), sigaddset(), sigdelset(), sigismember():


   These functions allow the manipulation of POSIX signal sets.

   sigemptyset() initializes the signal set given by set  to  empty,  with
   all signals excluded from the set.

   sigfillset() initializes set to full, including all signals.

   sigaddset()  and  sigdelset() add and delete respectively signal signum
   from set.

   sigismember() tests whether signum is a member of set.

   Objects of type sigset_t must  be  initialized  by  a  call  to  either
   sigemptyset()  or  sigfillset()  before  being  passed to the functions
   sigaddset(), sigdelset() and  sigismember()  or  the  additional  glibc
   functions    described   below   (sigisemptyset(),   sigandset(),   and
   sigorset()).  The results are undefined if this is not done.


   sigemptyset(), sigfillset(), sigaddset(), and sigdelset() return  0  on
   success and -1 on error.

   sigismember()  returns  1  if signum is a member of set, 0 if signum is
   not a member, and -1 on error.

   On error, these functions set errno to indicate the cause of the error.


   EINVAL sig is not a valid signal.


   For  an  explanation  of  the  terms  used   in   this   section,   see

   │InterfaceAttributeValue   │
   │sigemptyset(), sigfillset(),    │ Thread safety │ MT-Safe │
   │sigaddset(), sigdelset(),       │               │         │
   │sigismember(), sigisemptyset(), │               │         │
   │sigorset(), sigandset()         │               │         │


   POSIX.1-2001, POSIX.1-2008.


   When creating a filled signal set, the glibc sigfillset() function does
   not include the two real-time  signals  used  internally  by  the  NPTL
   threading implementation.  See nptl(7) for details.

   Glibc extensions
   If  the  _GNU_SOURCE  feature  test  macro  is defined, then <signal.h>
   exposes three other functions for manipulating signal sets:

   int sigisemptyset(const sigset_t *set);
   int sigorset(sigset_t *dest, const sigset_t *left,
                 const sigset_t *right);
   int sigandset(sigset_t *dest, const sigset_t *left,
                 const sigset_t *right);

   sigisemptyset() returns 1 if set contains no signals, and 0 otherwise.

   sigorset() places the union  of  the  sets  left  and  right  in  dest.
   sigandset() places the intersection of the sets left and right in dest.
   Both functions return 0 on success, and -1 on failure.

   These functions are nonstandard (a few other  systems  provide  similar
   functions) and their use should be avoided in portable applications.


   sigaction(2), sigpending(2), sigprocmask(2), sigsuspend(2)


   This  page  is  part of release 4.09 of the Linux man-pages project.  A
   description of the project, information about reporting bugs,  and  the
   latest     version     of     this    page,    can    be    found    at

More Linux Commands

iscsiuio(8) iSCSI UserSpace I O driver - Linux manual page
iscsiuio is the UserSpace I/O driver for the Broadcom NetXtreme II BCM5706/5708/5709 series PCI/PCI-X Gigabit Ethernet Network Interface Card (NIC) and for the

perfmonctl(2) interface to IA-64 performance monitoring unit
The IA-64-specific perfmonctl() system call provides an interface to the PMU (performance monitoring unit). The PMU consists of PMD (performance monitoring data

XInternalConnectionNumbers(3) - handle Xlib internal connect
The XAddConnectionWatch function registers a procedure to be called each time Xlib opens or closes an internal connection for the specified display. The procedu

setusershell(3) - get permitted user shells - Linux man page
setusershell.3 - The getusershell() function returns the next line from the file /etc/shells, opening the file if necessary. The line should contain the pathnam

gftp(1) file transfer client for NIX based machines.........
gFTP is a file transfer client for *NIX based machines. It currently has a text interface and a GTK+ 1.2/2.x graphical interface. It currently supports the FTP,

kunittestmodrunner(1) manual page for Qt 4.8.6 (Man Page)...
A command-line application that can be used to run KUnitTest modules. Generic options: --help Show help about options --help-qt Show Qt specific options --help-

x0vncserver(1) TigerVNC Server for X displays (Man Page)....
x0vncserver is a TigerVNC Server which makes any X display remotely accessible via VNC, TigerVNC or compatible viewers. Unlike Xvnc(1), it does not create a vir

glutTimerFunc(3) - registers a timer callback to be triggere
glutTimerFunc registers the timer callback func to be triggered in at least msecs milliseconds. The value parameter to the timer callback will be the value of t

TYPE_REGEXP(3form) - form system global variables (ManPage)
These are building blocks for the form library, defining fields that can be created using set_fieldtype(3X). Each provides functions for field- and character-va

glIndexiv(3gl) - set the current color index (Man Page).....
glIndex updates the current (single-valued) color index. It takes one argument, the new value for the current color index. The current index is stored as a floa

glGetHistogramParameter(3gl) - get histogram parameters.....
glGetHistogramParameter is used to query parameter values for the current histogram or for a proxy. The histogram state information may be queried by calling gl

gnutls_priority_set_direct(3) - API function (Man Page).....
Sets the priorities to use on the ciphers, key exchange methods, macs and compression methods. This function avoids keeping a priority cache and is used to dire

We can't live, work or learn in freedom unless the software we use is free.