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

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10

NAME

12       sigismember — test for a signal in a signal set
13

SYNOPSIS

15       #include <signal.h>
16
17       int sigismember(const sigset_t *set, int signo);
18

DESCRIPTION

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

RETURN VALUE

32       Upon  successful completion, sigismember() shall return 1 if the speci‐
33       fied signal is a member of the specified set, or 0 if it is not. Other‐
34       wise, it shall return -1 and set errno to indicate the error.
35

ERRORS

37       The sigismember() function may fail if:
38
39       EINVAL The signo argument is not a valid signal number, or is an unsup‐
40              ported signal number.
41
42       The following sections are informative.
43

EXAMPLES

45       None.
46

APPLICATION USAGE

48       None.
49

RATIONALE

51       None.
52

FUTURE DIRECTIONS

54       None.
55

SEE ALSO

57       Section   2.4,   Signal   Concepts,   pthread_sigmask(),   sigaction(),
58       sigaddset(),  sigdelset(),  sigfillset(),  sigemptyset(), sigpending(),
59       sigsuspend()
60
61       The Base Definitions volume of POSIX.1‐2017, <signal.h>
62
64       Portions of this text are reprinted and reproduced in  electronic  form
65       from  IEEE Std 1003.1-2017, Standard for Information Technology -- Por‐
66       table Operating System Interface (POSIX), The Open Group Base  Specifi‐
67       cations  Issue  7, 2018 Edition, Copyright (C) 2018 by the Institute of
68       Electrical and Electronics Engineers, Inc and The Open Group.   In  the
69       event of any discrepancy between this version and the original IEEE and
70       The Open Group Standard, the original IEEE and The Open Group  Standard
71       is  the  referee document. The original Standard can be obtained online
72       at http://www.opengroup.org/unix/online.html .
73
74       Any typographical or formatting errors that appear  in  this  page  are
75       most likely to have been introduced during the conversion of the source
76       files to man page format. To report such errors,  see  https://www.ker
77       nel.org/doc/man-pages/reporting_bugs.html .
78
79
80
81IEEE/The Open Group                  2017                      SIGISMEMBER(3P)
Impressum