Penguin
Blame: sigaddset(3)
EditPageHistoryDiffInfoLikePages
Annotated edit history of sigaddset(3) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 SIGSETOPS
2 !!!SIGSETOPS
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 RETURN VALUE
7 ERRORS
8 CONFORMING TO
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 sigemptyset, sigfillset, sigaddset, sigdelset, sigismember - POSIX signal set operations.
15 !!SYNOPSIS
16
17
18 __#include __
19
20
21 __int sigemptyset(sigset_t
22 *__''set''__);__
23
24
25 __int sigfillset(sigset_t
26 *__''set''__);__
27
28
29 __int sigaddset(sigset_t *__''set''__, int__
30 ''signum''__);__
31
32
33 __int sigdelset(sigset_t *__''set''__, int__
34 ''signum''__);__
35
36
37 __int sigismember(const sigset_t *__''set''__,
38 int__ ''signum''__);__
39 !!DESCRIPTION
40
41
42 The sigsetops(3) functions allow the manipulation of
43 POSIX signal sets.
44
45
46 __sigemptyset__ initializes the signal set given by
47 ''set'' to empty, with all signals excluded from the
48 set.
49
50
51 __sigfillset__ initializes ''set'' to full, including
52 all signals.
53
54
55 __sigaddset__ and __sigdelset__ add and delete
56 respectively signal ''signum'' from
57 ''set''.
58
59
60 __sigismember__ tests whether ''signum'' is a member
61 of ''set.''
62 !!RETURN VALUE
63
64
65 __sigemptyset__, __sigfullset__, __sigaddset__ and
66 __sigdelset__ return 0 on success and -1 on
67 error.
68
69
70 __sigismember__ returns 1 if ''signum'' is a member of
71 ''set'', 0 if ''signum'' is not a member, and -1 on
72 error.
73 !!ERRORS
74
75
76 __EINVAL__
77
78
79 ''sig'' is not a valid signal.
80 !!CONFORMING TO
81
82
83 POSIX
84 !!SEE ALSO
85
86
87 sigaction(2), sigpending(2),
88 sigprocmask(2), sigsuspend(2)
89 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.