1SIGDELSET(P)               POSIX Programmer's Manual              SIGDELSET(P)
2
3
4

NAME

6       sigdelset - delete a signal from a signal set
7

SYNOPSIS

9       #include <signal.h>
10
11       int sigdelset(sigset_t *set, int signo);
12
13

DESCRIPTION

15       The  sigdelset()  function  deletes  the individual signal specified by
16       signo from the signal set pointed to by set.
17
18       Applications should call either sigemptyset() or sigfillset() at  least
19       once  for  each  object of type sigset_t prior to any other use of that
20       object. If such an object is not initialized in this way, but is  none‐
21       theless  supplied  as  an  argument to any of pthread_sigmask(), sigac‐
22       tion(), sigaddset(), sigdelset(), sigismember(), sigpending(), sigproc‐
23       mask(),  sigsuspend(), sigtimedwait(), sigwait(), or sigwaitinfo(), the
24       results are undefined.
25

RETURN VALUE

27       Upon successful completion, sigdelset() shall return 0;  otherwise,  it
28       shall return -1 and set errno to indicate the error.
29

ERRORS

31       The sigdelset() function may fail if:
32
33       EINVAL The signo argument is not a valid signal number, or is an unsup‐
34              ported signal number.
35
36
37       The following sections are informative.
38

EXAMPLES

40       None.
41

APPLICATION USAGE

43       None.
44

RATIONALE

46       None.
47

FUTURE DIRECTIONS

49       None.
50

SEE ALSO

52       Signal Concepts , sigaction() ,  sigaddset()  ,  sigemptyset()  ,  sig‐
53       fillset() , sigismember() , sigpending() , sigprocmask() , sigsuspend()
54       , the Base Definitions volume of IEEE Std 1003.1-2001, <signal.h>
55
57       Portions of this text are reprinted and reproduced in  electronic  form
58       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
59       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
60       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
61       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
62       event of any discrepancy between this version and the original IEEE and
63       The Open Group Standard, the original IEEE and The Open Group  Standard
64       is  the  referee document. The original Standard can be obtained online
65       at http://www.opengroup.org/unix/online.html .
66
67
68
69IEEE/The Open Group                  2003                         SIGDELSET(P)
Impressum