*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> sigsetops (3)              
Title
Content
Arch
Section
 

SIGSETOPS(3)

Contents


NAME    [Toc]    [Back]

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

SYNOPSIS    [Toc]    [Back]

       #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);

DESCRIPTION    [Toc]    [Back]

       The sigsetops(3) 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.

RETURN VALUE    [Toc]    [Back]

       sigemptyset,  sigfullset,  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.

ERRORS    [Toc]    [Back]

       EINVAL sig is not a valid signal.

CONFORMING TO    [Toc]    [Back]

       POSIX

SEE ALSO    [Toc]    [Back]

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



Linux 1.0			  1994-09-24			  SIGSETOPS(3)
[ Back ]
 Similar pages
Name OS Title
sigaction Linux POSIX signal handling functions.
sigqueue IRIX queue a signal to a process (POSIX)
sigaction IRIX software signal facilities (POSIX)
pxfsigemptyset IRIX Initializes signal set such that all signals defined in POSIX standard are excluded
pxfsigfillset IRIX Initializes signal set such that all signals defined in POSIX standard are included
aio_listio_max HP-UX the maximum number of POSIX asynchronous I/O operations that can be specified in a listio() call
aio_max_ops HP-UX maximum number of POSIX async I/O operations that can be queued at any time
locale IRIX Perl pragma to use and avoid POSIX locales for built-in operations
pipcrm HP-UX remove a POSIX message queue or a POSIX named semaphore
pxfsigismember IRIX Determines if the specified signal is a member of the specified signal set
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service