Debian Codegraph @

templates/man2/sigwaitinfo.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 "sigwaitinfo"
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 ""
50 "sigwaitinfo, sigtimedwait, rt_sigtimedwait - synchronously wait for queued "
51 "signals"
52 msgstr ""
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr ""
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr ""
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr ""
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>signal.hE<gt>>\n"
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<int sigwaitinfo(const sigset_t *restrict >I<set>B<,>\n"
87 "B< siginfo_t *_Nullable restrict >I<info>B<);>\n"
88 "B<int sigtimedwait(const sigset_t *restrict >I<set>B<,>\n"
89 "B< siginfo_t *_Nullable restrict >I<info>B<,>\n"
90 "B< const struct timespec *restrict >I<timeout>B<);>\n"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
98 msgstr ""
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid "B<sigwaitinfo>(), B<sigtimedwait>():"
104 msgstr ""
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid " _POSIX_C_SOURCE E<gt>= 199309L\n"
111 msgstr ""
112
113 #. type: SH
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 #, no-wrap
117 msgid "DESCRIPTION"
118 msgstr ""
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "B<sigwaitinfo>() suspends execution of the calling thread until one of the "
125 "signals in I<set> is pending (If one of the signals in I<set> is already "
126 "pending for the calling thread, B<sigwaitinfo>() will return immediately.)"
127 msgstr ""
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 msgid ""
133 "B<sigwaitinfo>() removes the signal from the set of pending signals and "
134 "returns the signal number as its function result. If the I<info> argument "
135 "is not NULL, then the buffer that it points to is used to return a structure "
136 "of type I<siginfo_t> (see B<sigaction>(2)) containing information about the "
137 "signal."
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "If multiple signals in I<set> are pending for the caller, the signal that is "
145 "retrieved by B<sigwaitinfo>() is determined according to the usual ordering "
146 "rules; see B<signal>(7) for further details."
147 msgstr ""
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "B<sigtimedwait>() operates in exactly the same way as B<sigwaitinfo>() "
154 "except that it has an additional argument, I<timeout>, which specifies the "
155 "interval for which the thread is suspended waiting for a signal. (This "
156 "interval will be rounded up to the system clock granularity, and kernel "
157 "scheduling delays mean that the interval may overrun by a small amount.) "
158 "This argument is a B<timespec>(3) structure."
159 msgstr ""
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid ""
165 "If both fields of this structure are specified as 0, a poll is performed: "
166 "B<sigtimedwait>() returns immediately, either with information about a "
167 "signal that was pending for the caller, or with an error if none of the "
168 "signals in I<set> was pending."
169 msgstr ""
170
171 #. type: SH
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 #, no-wrap
175 msgid "RETURN VALUE"
176 msgstr ""
177
178 #. type: Plain text
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 msgid ""
182 "On success, both B<sigwaitinfo>() and B<sigtimedwait>() return a signal "
183 "number (i.e., a value greater than zero). On failure both calls return -1, "
184 "with I<errno> set to indicate the error."
185 msgstr ""
186
187 #. type: SH
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 #, no-wrap
191 msgid "ERRORS"
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<EAGAIN>"
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 ""
205 "No signal in I<set> became pending within the I<timeout> period specified to "
206 "B<sigtimedwait>()."
207 msgstr ""
208
209 #. type: TP
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "B<EINTR>"
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "The wait was interrupted by a signal handler; see B<signal>(7). (This "
221 "handler was for a signal other than one of those in I<set>.)"
222 msgstr ""
223
224 #. type: TP
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "B<EINVAL>"
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid "I<timeout> was invalid."
235 msgstr ""
236
237 #. type: SH
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "VERSIONS"
242 msgstr ""
243
244 #. type: SS
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "C library/kernel differences"
249 msgstr ""
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "On Linux, B<sigwaitinfo>() is a library function implemented on top of "
256 "B<sigtimedwait>()."
257 msgstr ""
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "The glibc wrapper functions for B<sigwaitinfo>() and B<sigtimedwait>() "
264 "silently ignore attempts to wait for the two real-time signals that are used "
265 "internally by the NPTL threading implementation. See B<nptl>(7) for "
266 "details."
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 original Linux system call was named B<sigtimedwait>(). However, with "
274 "the addition of real-time signals in Linux 2.2, the fixed-size, 32-bit "
275 "I<sigset_t> type supported by that system call was no longer fit for "
276 "purpose. Consequently, a new system call, B<rt_sigtimedwait>(), was added "
277 "to support an enlarged I<sigset_t> type. The new system call takes a fourth "
278 "argument, I<size_t sigsetsize>, which specifies the size in bytes of the "
279 "signal set in I<set>. This argument is currently required to have the value "
280 "I<sizeof(sigset_t)> (or the error B<EINVAL> results). The glibc "
281 "B<sigtimedwait>() wrapper function hides these details from us, "
282 "transparently calling B<rt_sigtimedwait>() when the kernel provides it."
283 msgstr ""
284
285 #. type: SH
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "STANDARDS"
290 msgstr ""
291
292 #. type: Plain text
293 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
294 #: opensuse-tumbleweed
295 msgid "POSIX.1-2024."
296 msgstr ""
297
298 #. type: SH
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "HISTORY"
303 msgstr ""
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid "POSIX.1-2001."
309 msgstr ""
310
311 #. type: SH
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "NOTES"
316 msgstr ""
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid ""
322 "In normal usage, the calling program blocks the signals in I<set> via a "
323 "prior call to B<sigprocmask>(2) (so that the default disposition for these "
324 "signals does not occur if they become pending between successive calls to "
325 "B<sigwaitinfo>() or B<sigtimedwait>()) and does not establish handlers for "
326 "these signals. In a multithreaded program, the signal should be blocked in "
327 "all threads, in order to prevent the signal being treated according to its "
328 "default disposition in a thread other than the one calling B<sigwaitinfo>() "
329 "or B<sigtimedwait>())."
330 msgstr ""
331
332 #. type: Plain text
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 msgid ""
336 "The set of signals that is pending for a given thread is the union of the "
337 "set of signals that is pending specifically for that thread and the set of "
338 "signals that is pending for the process as a whole (see B<signal>(7))."
339 msgstr ""
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid "Attempts to wait for B<SIGKILL> and B<SIGSTOP> are silently ignored."
345 msgstr ""
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "If multiple threads of a process are blocked waiting for the same signal(s) "
352 "in B<sigwaitinfo>() or B<sigtimedwait>(), then exactly one of the threads "
353 "will actually receive the signal if it becomes pending for the process as a "
354 "whole; which of the threads receives the signal is indeterminate."
355 msgstr ""
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid ""
361 "B<sigwaitinfo>() or B<sigtimedwait>(), can't be used to receive signals "
362 "that are synchronously generated, such as the B<SIGSEGV> signal that results "
363 "from accessing an invalid memory address or the B<SIGFPE> signal that "
364 "results from an arithmetic error. Such signals can be caught only via "
365 "signal handler."
366 msgstr ""
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 msgid ""
372 "POSIX leaves the meaning of a NULL value for the I<timeout> argument of "
373 "B<sigtimedwait>() unspecified, permitting the possibility that this has the "
374 "same meaning as a call to B<sigwaitinfo>(), and indeed this is what is done "
375 "on Linux."
376 msgstr ""
377
378 #. type: SH
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid "SEE ALSO"
383 msgstr ""
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid ""
389 "B<kill>(2), B<sigaction>(2), B<signal>(2), B<signalfd>(2), B<sigpending>(2), "
390 "B<sigprocmask>(2), B<sigqueue>(3), B<sigsetops>(3), B<sigwait>(3), "
391 "B<timespec>(3), B<signal>(7), B<time>(7)"
392 msgstr ""
393
394 #. type: TH
395 #: debian-trixie
396 #, no-wrap
397 msgid "2024-05-02"
398 msgstr ""
399
400 #. type: TH
401 #: debian-trixie
402 #, no-wrap
403 msgid "Linux man-pages 6.9.1"
404 msgstr ""
405
406 #. type: Plain text
407 #: debian-trixie
408 msgid "Standard C library (I<libc>, I<-lc>)"
409 msgstr ""
410
411 #. type: Plain text
412 #: debian-trixie fedora-44 fedora-rawhide
413 msgid "POSIX.1-2008."
414 msgstr ""
415
416 #. type: TH
417 #: fedora-44 fedora-rawhide
418 #, no-wrap
419 msgid "2024-07-23"
420 msgstr ""
421
422 #. type: TH
423 #: fedora-44 fedora-rawhide
424 #, no-wrap
425 msgid "Linux man-pages 6.13"
426 msgstr ""
427
428 #. type: TH
429 #: mageia-cauldron
430 #, no-wrap
431 msgid "Linux man-pages 6.17"
432 msgstr ""
433
434 #. type: TH
435 #: opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "Linux man-pages (unreleased)"
438 msgstr ""