Debian Codegraph @

templates/man3/setjmp.3.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:42+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 "setjmp"
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 "setjmp, sigsetjmp, longjmp, siglongjmp - performing a nonlocal goto"
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 #, no-wrap
76 msgid "B<#include E<lt>setjmp.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<int setjmp(jmp_buf >I<env>B<);>\n"
85 "B<int sigsetjmp(sigjmp_buf >I<env>B<, int >I<savesigs>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<[[noreturn]] void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n"
94 "B<[[noreturn]] void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n"
95 msgstr ""
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 msgid ""
101 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid "B<setjmp>(): see HISTORY."
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 msgid "B<sigsetjmp>():"
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 #, no-wrap
120 msgid " _POSIX_C_SOURCE\n"
121 msgstr ""
122
123 #. type: SH
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid "DESCRIPTION"
128 msgstr ""
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "The functions described on this page are used for performing \"nonlocal "
135 "gotos\": transferring execution from one function to a predetermined "
136 "location in another function. The B<setjmp>() function dynamically "
137 "establishes the target to which control will later be transferred, and "
138 "B<longjmp>() performs the transfer of execution."
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid ""
145 "The B<setjmp>() function saves various information about the calling "
146 "environment (typically, the stack pointer, the instruction pointer, possibly "
147 "the values of other registers and the signal mask) in the buffer I<env> for "
148 "later use by B<longjmp>(). In this case, B<setjmp>() returns 0."
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "The B<longjmp>() function uses the information saved in I<env> to transfer "
156 "control back to the point where B<setjmp>() was called and to restore "
157 "(\"rewind\") the stack to its state at the time of the B<setjmp>() call. "
158 "In addition, and depending on the implementation (see NOTES and HISTORY), "
159 "the values of some other registers and the process signal mask may be "
160 "restored to their state at the time of the B<setjmp>() call."
161 msgstr ""
162
163 #. type: Plain text
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 msgid ""
167 "Following a successful B<longjmp>(), execution continues as if B<setjmp>() "
168 "had returned for a second time. This \"fake\" return can be distinguished "
169 "from a true B<setjmp>() call because the \"fake\" return returns the value "
170 "provided in I<val>. If the programmer mistakenly passes the value 0 in "
171 "I<val>, the \"fake\" return will instead return 1."
172 msgstr ""
173
174 #. type: SS
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "sigsetjmp() and siglongjmp()"
179 msgstr ""
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "B<sigsetjmp>() and B<siglongjmp>() also perform nonlocal gotos, but "
186 "provide predictable handling of the process signal mask."
187 msgstr ""
188
189 #. type: Plain text
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 msgid ""
193 "If, and only if, the I<savesigs> argument provided to B<sigsetjmp>() is "
194 "nonzero, the process's current signal mask is saved in I<env> and will be "
195 "restored if a B<siglongjmp>() is later performed with this I<env>."
196 msgstr ""
197
198 #. type: SH
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "RETURN VALUE"
203 msgstr ""
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 msgid ""
209 "B<setjmp>() and B<sigsetjmp>() return 0 when called directly; on the "
210 "\"fake\" return that occurs after B<longjmp>() or B<siglongjmp>(), the "
211 "nonzero value specified in I<val> is returned."
212 msgstr ""
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid "The B<longjmp>() or B<siglongjmp>() functions do not return."
218 msgstr ""
219
220 #. type: SH
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "ATTRIBUTES"
225 msgstr ""
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "For an explanation of the terms used in this section, see B<attributes>(7)."
232 msgstr ""
233
234 #. type: tbl table
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "Interface"
239 msgstr ""
240
241 #. type: tbl table
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "Attribute"
246 msgstr ""
247
248 #. type: tbl table
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "Value"
253 msgstr ""
254
255 #. type: tbl table
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid ".na\n"
260 msgstr ""
261
262 #. type: tbl table
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid ".nh\n"
267 msgstr ""
268
269 #. type: tbl table
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid ""
274 "B<setjmp>(),\n"
275 "B<sigsetjmp>()"
276 msgstr ""
277
278 #. type: tbl table
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "Thread safety"
283 msgstr ""
284
285 #. type: tbl table
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "MT-Safe"
290 msgstr ""
291
292 #. type: tbl table
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid ""
297 "B<longjmp>(),\n"
298 "B<siglongjmp>()"
299 msgstr ""
300
301 #. type: SH
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "STANDARDS"
306 msgstr ""
307
308 #. type: TP
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "B<setjmp>()"
313 msgstr ""
314
315 #. type: TQ
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "B<longjmp>()"
320 msgstr ""
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid "C11, POSIX.1-2008."
326 msgstr ""
327
328 #. type: TP
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "B<sigsetjmp>()"
333 msgstr ""
334
335 #. type: TQ
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "B<siglongjmp>()"
340 msgstr ""
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 msgid "POSIX.1-2008."
346 msgstr ""
347
348 #. type: SH
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "HISTORY"
353 msgstr ""
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid "POSIX.1-2001, C89."
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 msgid "POSIX.1-2001."
365 msgstr ""
366
367 #. so that _FAVOR_BSD is triggered
368 #. .BR _XOPEN_SOURCE_EXTENDED ,
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 msgid ""
373 "POSIX does not specify whether B<setjmp>() will save the signal mask (to be "
374 "later restored during B<longjmp>()). In System V it will not. In 4.3BSD it "
375 "will, and there is a function B<_setjmp>() that will not. The behavior "
376 "under Linux depends on the glibc version and the setting of feature test "
377 "macros. Before glibc 2.19, B<setjmp>() follows the System V behavior by "
378 "default, but the BSD behavior is provided if the B<_BSD_SOURCE> feature test "
379 "macro is explicitly defined and none of B<_POSIX_SOURCE>, "
380 "B<_POSIX_C_SOURCE>, B<_XOPEN_SOURCE>, B<_GNU_SOURCE>, or B<_SVID_SOURCE> is "
381 "defined. Since glibc 2.19, I<E<lt>setjmp.hE<gt>> exposes only the System V "
382 "version of B<setjmp>(). Programs that need the BSD semantics should replace "
383 "calls to B<setjmp>() with calls to B<sigsetjmp>() with a nonzero "
384 "I<savesigs> argument."
385 msgstr ""
386
387 #. type: SH
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "NOTES"
392 msgstr ""
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "B<setjmp>() and B<longjmp>() can be useful for dealing with errors inside "
399 "deeply nested function calls or to allow a signal handler to pass control to "
400 "a specific point in the program, rather than returning to the point where "
401 "the handler interrupted the main program. In the latter case, if you want "
402 "to portably save and restore signal masks, use B<sigsetjmp>() and "
403 "B<siglongjmp>(). See also the discussion of program readability below."
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 "CAVEATS"
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 "The compiler may optimize variables into registers, and B<longjmp>() may "
418 "restore the values of other registers in addition to the stack pointer and "
419 "program counter. Consequently, the values of automatic variables are "
420 "unspecified after a call to B<longjmp>() if they meet all the following "
421 "criteria:"
422 msgstr ""
423
424 #. type: IP
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid "\\[bu]"
429 msgstr ""
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "they are local to the function that made the corresponding B<setjmp>() call;"
436 msgstr ""
437
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 msgid ""
442 "their values are changed between the calls to B<setjmp>() and B<longjmp>(); "
443 "and"
444 msgstr ""
445
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid "they are not declared as I<volatile>."
450 msgstr ""
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid "Analogous remarks apply for B<siglongjmp>()."
456 msgstr ""
457
458 #. type: SS
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "Nonlocal gotos and program readability"
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 "While it can be abused, the traditional C \"goto\" statement at least has "
470 "the benefit that lexical cues (the goto statement and the target label) "
471 "allow the programmer to easily perceive the flow of control. Nonlocal gotos "
472 "provide no such cues: multiple B<setjmp>() calls might employ the same "
473 "I<jmp_buf> variable so that the content of the variable may change over the "
474 "lifetime of the application. Consequently, the programmer may be forced to "
475 "perform detailed reading of the code to determine the dynamic target of a "
476 "particular B<longjmp>() call. (To make the programmer's life easier, each "
477 "B<setjmp>() call should employ a unique I<jmp_buf> variable.)"
478 msgstr ""
479
480 #. type: Plain text
481 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
482 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
483 msgid ""
484 "Adding further difficulty, the B<setjmp>() and B<longjmp>() calls may not "
485 "even be in the same source code module."
486 msgstr ""
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid ""
492 "In summary, nonlocal gotos can make programs harder to understand and "
493 "maintain, and an alternative should be used if possible."
494 msgstr ""
495
496 #. type: SS
497 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
498 #: opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "Undefined behavior"
501 msgstr ""
502
503 #. type: Plain text
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 msgid ""
507 "If the function which called B<setjmp>() returns before B<longjmp>() is "
508 "called, the behavior is undefined. Some kind of subtle or unsubtle chaos is "
509 "sure to result."
510 msgstr ""
511
512 #
513 #
514 #. The following statement appeared in versions up to POSIX.1-2008 TC1,
515 #. but is set to be removed in POSIX.1-2008 TC2:
516 #. According to POSIX.1, if a
517 #. .BR longjmp ()
518 #. call is performed from a nested signal handler
519 #. (i.e., from a handler that was invoked in response to a signal that was
520 #. generated while another signal was already in the process of being
521 #. handled), the behavior is undefined.
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid ""
526 "If, in a multithreaded program, a B<longjmp>() call employs an I<env> "
527 "buffer that was initialized by a call to B<setjmp>() in a different thread, "
528 "the behavior is undefined."
529 msgstr ""
530
531 #. http://austingroupbugs.net/view.php?id=516#c1195
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid ""
536 "POSIX.1-2008 Technical Corrigendum 2 adds B<longjmp>() and B<siglongjmp>() "
537 "to the list of async-signal-safe functions. However, the standard "
538 "recommends avoiding the use of these functions from signal handlers and goes "
539 "on to point out that if these functions are called from a signal handler "
540 "that interrupted a call to a non-async-signal-safe function (or some "
541 "equivalent, such as the steps equivalent to B<exit>(3) that occur upon a "
542 "return from the initial call to I<main>()), the behavior is undefined if the "
543 "program subsequently makes a call to a non-async-signal-safe function. The "
544 "only way of avoiding undefined behavior is to ensure one of the following:"
545 msgstr ""
546
547 #. type: Plain text
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 msgid ""
551 "After long jumping from the signal handler, the program does not call any "
552 "non-async-signal-safe functions and does not return from the initial call to "
553 "I<main>()."
554 msgstr ""
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 msgid ""
560 "Any signal whose handler performs a long jump must be blocked during "
561 "I<every> call to a non-async-signal-safe function and no non-async-signal-"
562 "safe functions are called after returning from the initial call to I<main>()."
563 msgstr ""
564
565 #. type: SH
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 #, no-wrap
569 msgid "SEE ALSO"
570 msgstr ""
571
572 #. type: Plain text
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 msgid "B<signal>(7), B<signal-safety>(7)"
576 msgstr ""
577
578 #. type: TH
579 #: debian-trixie
580 #, no-wrap
581 msgid "2024-06-16"
582 msgstr ""
583
584 #. type: TH
585 #: debian-trixie
586 #, no-wrap
587 msgid "Linux man-pages 6.9.1"
588 msgstr ""
589
590 #. type: Plain text
591 #: debian-trixie
592 msgid "Standard C library (I<libc>, I<-lc>)"
593 msgstr ""
594
595 #. type: SS
596 #: debian-trixie
597 #, no-wrap
598 msgid "Undefined Behavior"
599 msgstr ""
600
601 #. type: TH
602 #: fedora-44 fedora-rawhide
603 #, no-wrap
604 msgid "2024-11-17"
605 msgstr ""
606
607 #. type: TH
608 #: fedora-44 fedora-rawhide
609 #, no-wrap
610 msgid "Linux man-pages 6.13"
611 msgstr ""
612
613 #. type: TH
614 #: mageia-cauldron
615 #, no-wrap
616 msgid "Linux man-pages 6.17"
617 msgstr ""
618
619 #. type: TH
620 #: opensuse-leap-16-1 opensuse-tumbleweed
621 #, no-wrap
622 msgid "Linux man-pages (unreleased)"
623 msgstr ""