Debian Codegraph @

templates/man2/sigprocmask.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:43+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "sigprocmask"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "sigprocmask, rt_sigprocmask - examine and change blocked signals"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 msgid "B<#include E<lt>signal.hE<gt>>"
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid ""
83 "/* Prototype for the glibc wrapper function */\n"
84 "B<int sigprocmask(int >I<how>B<, const sigset_t *_Nullable restrict >I<set>B<,>\n"
85 "B< sigset_t *_Nullable restrict >I<oldset>B<);>\n"
86 msgstr ""
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid ""
93 "B<#include E<lt>signal.hE<gt>> /* Definition of B<SIG_*> constants */\n"
94 "B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
95 "B<#include E<lt>unistd.hE<gt>>\n"
96 msgstr ""
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 #, no-wrap
102 msgid ""
103 "/* Prototype for the underlying system call */\n"
104 "B<int syscall(SYS_rt_sigprocmask, int >I<how>B<,>\n"
105 "B< const kernel_sigset_t *_Nullable >I<set>B<,>\n"
106 "B< kernel_sigset_t *_Nullable >I<oldset>B<,>\n"
107 "B< size_t >I<sigsetsize>B<);>\n"
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid ""
115 "/* Prototype for the legacy system call */\n"
116 "B<[[deprecated]] int syscall(SYS_sigprocmask, int >I<how>B<,>\n"
117 "B< const old_kernel_sigset_t *_Nullable >I<set>B<,>\n"
118 "B< old_kernel_sigset_t *_Nullable >I<oldset>B<);>\n"
119 msgstr ""
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
126 msgstr ""
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid "B<sigprocmask>():"
132 msgstr ""
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 #, no-wrap
138 msgid " _POSIX_C_SOURCE\n"
139 msgstr ""
140
141 #. type: SH
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, no-wrap
145 msgid "DESCRIPTION"
146 msgstr ""
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "B<sigprocmask>() is used to fetch and/or change the signal mask of the "
153 "calling thread. The signal mask is the set of signals whose delivery is "
154 "currently blocked for the caller (see also B<signal>(7) for more details)."
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "The behavior of the call is dependent on the value of I<how>, as follows."
162 msgstr ""
163
164 #. type: TP
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "B<SIG_BLOCK>"
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "The set of blocked signals is the union of the current set and the I<set> "
176 "argument."
177 msgstr ""
178
179 #. type: TP
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid "B<SIG_UNBLOCK>"
184 msgstr ""
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid ""
190 "The signals in I<set> are removed from the current set of blocked signals. "
191 "It is permissible to attempt to unblock a signal which is not blocked."
192 msgstr ""
193
194 #. type: TP
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "B<SIG_SETMASK>"
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid "The set of blocked signals is set to the argument I<set>."
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "If I<oldset> is non-NULL, the previous value of the signal mask is stored in "
212 "I<oldset>."
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "If I<set> is NULL, then the signal mask is unchanged (i.e., I<how> is "
220 "ignored), but the current value of the signal mask is nevertheless returned "
221 "in I<oldset> (if it is not NULL)."
222 msgstr ""
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid ""
228 "A set of functions for modifying and inspecting variables of type "
229 "I<sigset_t> (\"signal sets\") is described in B<sigsetops>(3)."
230 msgstr ""
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid ""
236 "The use of B<sigprocmask>() is unspecified in a multithreaded process; see "
237 "B<pthread_sigmask>(3)."
238 msgstr ""
239
240 #. type: SH
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "RETURN VALUE"
245 msgstr ""
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid ""
251 "B<sigprocmask>() returns 0 on success. On failure, -1 is returned and "
252 "I<errno> is set to indicate the error."
253 msgstr ""
254
255 #. type: SH
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "ERRORS"
260 msgstr ""
261
262 #. type: TP
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "B<EFAULT>"
267 msgstr ""
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid ""
273 "The I<set> or I<oldset> argument points outside the process's allocated "
274 "address space."
275 msgstr ""
276
277 #. type: TP
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "B<EINVAL>"
282 msgstr ""
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "Either the value specified in I<how> was invalid or the kernel does not "
289 "support the size passed in I<sigsetsize.>"
290 msgstr ""
291
292 #. type: SH
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "VERSIONS"
297 msgstr ""
298
299 #. type: SS
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "C library/kernel differences"
304 msgstr ""
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "The kernel's definition of I<sigset_t> differs in size from that used by the "
311 "C library. In this manual page, the former is referred to as "
312 "I<kernel_sigset_t> (it is nevertheless named I<sigset_t> in the kernel "
313 "sources)."
314 msgstr ""
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid ""
320 "The glibc wrapper function for B<sigprocmask>() silently ignores attempts "
321 "to block the two real-time signals that are used internally by the NPTL "
322 "threading implementation. See B<nptl>(7) for details."
323 msgstr ""
324
325 #. #-#-#-#-# archlinux: sigprocmask.2.pot (PACKAGE VERSION) #-#-#-#-#
326 #. sizeof(kernel_sigset_t) == _NSIG / 8,
327 #. which equals to 8 on most architectures, but e.g., on MIPS it's 16.
328 #. type: Plain text
329 #. #-#-#-#-# debian-trixie: sigprocmask.2.pot (PACKAGE VERSION) #-#-#-#-#
330 #. sizeof(kernel_sigset_t) == _NSIG / 8,
331 #. which equals to 8 on most architectures, but e.g. on MIPS it's 16.
332 #. type: Plain text
333 #. #-#-#-#-# debian-unstable: sigprocmask.2.pot (PACKAGE VERSION) #-#-#-#-#
334 #. sizeof(kernel_sigset_t) == _NSIG / 8,
335 #. which equals to 8 on most architectures, but e.g., on MIPS it's 16.
336 #. type: Plain text
337 #. #-#-#-#-# fedora-44: sigprocmask.2.pot (PACKAGE VERSION) #-#-#-#-#
338 #. sizeof(kernel_sigset_t) == _NSIG / 8,
339 #. which equals to 8 on most architectures, but e.g. on MIPS it's 16.
340 #. type: Plain text
341 #. #-#-#-#-# fedora-rawhide: sigprocmask.2.pot (PACKAGE VERSION) #-#-#-#-#
342 #. sizeof(kernel_sigset_t) == _NSIG / 8,
343 #. which equals to 8 on most architectures, but e.g. on MIPS it's 16.
344 #. type: Plain text
345 #. #-#-#-#-# mageia-cauldron: sigprocmask.2.pot (PACKAGE VERSION) #-#-#-#-#
346 #. sizeof(kernel_sigset_t) == _NSIG / 8,
347 #. which equals to 8 on most architectures, but e.g., on MIPS it's 16.
348 #. type: Plain text
349 #. #-#-#-#-# opensuse-leap-16-1: sigprocmask.2.pot (PACKAGE VERSION) #-#-#-#-#
350 #. sizeof(kernel_sigset_t) == _NSIG / 8,
351 #. which equals to 8 on most architectures, but e.g., on MIPS it's 16.
352 #. type: Plain text
353 #. #-#-#-#-# opensuse-tumbleweed: sigprocmask.2.pot (PACKAGE VERSION) #-#-#-#-#
354 #. sizeof(kernel_sigset_t) == _NSIG / 8,
355 #. which equals to 8 on most architectures, but e.g., on MIPS it's 16.
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 msgid ""
360 "The original Linux system call was named B<sigprocmask>(). However, with "
361 "the addition of real-time signals in Linux 2.2, the fixed-size, 32-bit "
362 "I<sigset_t> (referred to as I<old_kernel_sigset_t> in this manual page) "
363 "type supported by that system call was no longer fit for purpose. "
364 "Consequently, a new system call, B<rt_sigprocmask>(), was added to support "
365 "an enlarged I<sigset_t> type (referred to as I<kernel_sigset_t> in this "
366 "manual page). The new system call takes a fourth argument, I<size_t "
367 "sigsetsize>, which specifies the size in bytes of the signal sets in I<set> "
368 "and I<oldset>. This argument is currently required to have a fixed "
369 "architecture specific value (equal to I<sizeof(kernel_sigset_t)>)."
370 msgstr ""
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "The glibc B<sigprocmask>() wrapper function hides these details from us, "
377 "transparently calling B<rt_sigprocmask>() when the kernel provides it."
378 msgstr ""
379
380 #. type: SH
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "STANDARDS"
385 msgstr ""
386
387 #. type: Plain text
388 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
389 #: opensuse-tumbleweed
390 msgid "POSIX.1-2024."
391 msgstr ""
392
393 #. type: SH
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "HISTORY"
398 msgstr ""
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 msgid "POSIX.1-2001."
404 msgstr ""
405
406 #. type: SH
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "NOTES"
411 msgstr ""
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "It is not possible to block B<SIGKILL> or B<SIGSTOP>. Attempts to do so are "
418 "silently ignored."
419 msgstr ""
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid "Each of the threads in a process has its own signal mask."
425 msgstr ""
426
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 msgid ""
431 "A child created via B<fork>(2) inherits a copy of its parent's signal mask; "
432 "the signal mask is preserved across B<execve>(2)."
433 msgstr ""
434
435 #. type: Plain text
436 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
437 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
438 msgid ""
439 "If B<SIGBUS>, B<SIGFPE>, B<SIGILL>, or B<SIGSEGV> are generated while they "
440 "are blocked, the result is undefined, unless the signal was generated by "
441 "B<kill>(2), B<sigqueue>(3), or B<raise>(3)."
442 msgstr ""
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 msgid "See B<sigsetops>(3) for details on manipulating signal sets."
448 msgstr ""
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 msgid ""
454 "Note that it is permissible (although not very useful) to specify both "
455 "I<set> and I<oldset> as NULL."
456 msgstr ""
457
458 #. type: SH
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "SEE ALSO"
463 msgstr ""
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "B<kill>(2), B<pause>(2), B<sigaction>(2), B<signal>(2), B<sigpending>(2), "
470 "B<sigsuspend>(2), B<pthread_sigmask>(3), B<sigqueue>(3), B<sigsetops>(3), "
471 "B<signal>(7)"
472 msgstr ""
473
474 #. type: TH
475 #: debian-trixie
476 #, no-wrap
477 msgid "2024-05-02"
478 msgstr ""
479
480 #. type: TH
481 #: debian-trixie
482 #, no-wrap
483 msgid "Linux man-pages 6.9.1"
484 msgstr ""
485
486 #. type: Plain text
487 #: debian-trixie
488 msgid "Standard C library (I<libc>, I<-lc>)"
489 msgstr ""
490
491 #. type: Plain text
492 #: debian-trixie fedora-44 fedora-rawhide
493 msgid "POSIX.1-2008."
494 msgstr ""
495
496 #. type: TH
497 #: fedora-44 fedora-rawhide
498 #, no-wrap
499 msgid "2024-07-23"
500 msgstr ""
501
502 #. type: TH
503 #: fedora-44 fedora-rawhide
504 #, no-wrap
505 msgid "Linux man-pages 6.13"
506 msgstr ""
507
508 #. type: TH
509 #: mageia-cauldron
510 #, no-wrap
511 msgid "Linux man-pages 6.17"
512 msgstr ""
513
514 #. type: TH
515 #: opensuse-leap-16-1 opensuse-tumbleweed
516 #, no-wrap
517 msgid "Linux man-pages (unreleased)"
518 msgstr ""