File: sigsetops.3

package info (click to toggle)
manpages-ja 0.5.0.0.20080615-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 20,508 kB
  • ctags: 1
  • sloc: sh: 13,690; perl: 157; makefile: 114
file content (162 lines) | stat: -rw-r--r-- 4,182 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
.\" Copyright (c) 1994 Mike Battersby
.\"
.\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are
.\" preserved on all copies.
.\"
.\" Permission is granted to copy and distribute modified versions of this
.\" manual under the conditions for verbatim copying, provided that the
.\" entire resulting derived work is distributed under the terms of a
.\" permission notice identical to this one.
.\"
.\" Since the Linux kernel and libraries are constantly changing, this
.\" manual page may be incorrect or out-of-date.  The author(s) assume no
.\" responsibility for errors or omissions, or for damages resulting from
.\" the use of the information contained herein.  The author(s) may not
.\" have taken the same level of care in the production of this manual,
.\" which is licensed free of charge, as they might when working
.\" professionally.
.\"
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.\" Modified by aeb, 960721
.\" 2005-11-21, mtk, added descriptions of sigisemptyset(), sigandset(),
.\"                  and sigorset()
.\" 2007-10-26 mdw   added wording that a sigset_t must be initialized
.\"                  prior to use
.\"
.\"WORD:	signal set		ʥ뽸
.\"
.\" Japanese Version Copyright (c) 1998 HANATAKA Shinya
.\"         all rights reserved.
.\" Translated 1998-05-24, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
.\" Updated 2005-12-05, Akihiro MOTOKI, Catch up to LDP man-pages 2.16
.\" Updated 2008-02-09, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.77
.\"
.TH SIGSETOPS 3 2007-11-25 "Linux" "Linux Programmer's Manual"
.SH ̾
sigemptyset, sigfillset, sigaddset, sigdelset, sigismember \- POSIX
ʥ뽸
.SH 
.B #include <signal.h>
.sp
.BI "int sigemptyset(sigset_t *" set );
.sp
.BI "int sigfillset(sigset_t *" set );
.sp
.BI "int sigaddset(sigset_t *" set ", int " signum );
.sp
.BI "int sigdelset(sigset_t *" set ", int " signum );
.sp
.BI "int sigismember(const sigset_t *" set ", int " signum );
.SH 
δؿ POSIX ʥ뽸(signal set)뤿Ѥ롣
.PP
.BR sigemptyset ()

.I set
Ϳ줿ʥ뽸˽ʥ뤬Ĥ
ޤޤƤʤ֤ˤ롣
.PP
.BR sigfillset ()

.I set
Ϳ줿ʥ뽸礬ƤΥʥޤ褦ˤ롣
.PP
.BR sigaddset ()

.BR sigdelset ()

.I set

.I signum
ʥ򤽤줾äꡢꤹ롣
.PP
.BR sigismember ()

.I signum

.I set
˴ޤޤƤ뤫ɤƥȤ롣
.PP
.I sigset_t
Υ֥Ȥϡؿ
.BR sigaddset (),
.BR sigdelset (),
.BR sigismember ()
Ҥ glibc ɲôؿ
.RB ( sigisemptyset (),
.BR sigandset (),
.BR sigdelset ())
Ϥˡ
.BR sigemptyset ()

.BR sigfillset ()
ƤӽФƽʤФʤʤ
ʤäη̤̤Ǥ롣
.SH ֤
.BR sigemptyset (),
.BR sigfillset (),
.BR sigaddset (),
.BR sigdelset ()
 0 򡢥顼ξ \-1 ֤
.PP
.BR sigismember ()

.I signum

.I set
˴ޤޤƤ 1 ֤ޤޤƤʤ 0 ֤
顼ξ \-1 ֤
.SH 顼
.TP
.B EINVAL
.I sig
ͭʥʥǤϤʤ
.SH 
POSIX.1-2001.
.SH 
.SS glibc Ǥ
.B _GNU_SOURCE
ǽޥƤȡ
\fI<signal.h>\fP ǥʥ뽸 3ĤδؿɲäǸ롣
.TP
.BI "int sigisemptyset(sigset_t *" set );
.I set
˥ʥ뤬ĤޤޤƤʤ 1 ֤
ʳ 0 ֤
.TP
.BI "int sigorset(sigset_t *" dest ", sigset_t *" left \
", sigset_t *" right );
ʥ뽸
.I left

.I left
½
.I dest
˽񤭹ࡣ
.TP
.BI "int sigandset(sigset_t *" dest ", sigset_t *" left \
", sigset_t *" right );
ʥ뽸
.I left

.I left
ѽ
.I dest
˽񤭹ࡣ
.PP
.BR sigorset ()

.BR sigandset ()
 0 򡢼Ԥ \-1 ֤
.PP
δؿɸǤꡢ(¾ˤƱͤδؿ󶡤Ƥ륷ƥ
ĤϤ뤬) ܿθץꥱǤϻѤ򤱤٤
Ǥ롣
.SH Ϣ
.BR sigaction (2),
.BR sigpending (2),
.BR sigprocmask (2),
.BR sigsuspend (2)