Debian Codegraph @

po/pt_BR/man3/setjmp.3.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # E. A. Tacão <[email protected]>, 2001.
5 # André Luiz Fassone <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
10 "PO-Revision-Date: 2001-05-31 17:26+0200\n"
11 "Last-Translator: André Luiz Fassone <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19 "X-Generator: Lokalize 20.04.1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "setjmp"
26 msgstr ""
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 fevereiro 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NOME"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "setjmp, sigsetjmp, longjmp, siglongjmp - performing a nonlocal goto"
53 msgstr ""
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTECA"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SINOPSE"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>setjmp.hE<gt>>\n"
80 msgstr "B<#include E<lt>setjmp.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<int setjmp(jmp_buf >I<env>B<);>\n"
88 "B<int sigsetjmp(sigjmp_buf >I<env>B<, int >I<savesigs>B<);>\n"
89 msgstr ""
90 "B<int setjmp(jmp_buf >I<env>B<);>\n"
91 "B<int sigsetjmp(sigjmp_buf >I<env>B<, int >I<savesigs>B<);>\n"
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 #, fuzzy, no-wrap
97 #| msgid ""
98 #| "B<void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n"
99 #| "B<void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n"
100 msgid ""
101 "B<[[noreturn]] void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n"
102 "B<[[noreturn]] void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n"
103 msgstr ""
104 "B<void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n"
105 "B<void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n"
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 msgid ""
111 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
112 msgstr ""
113 "Requisitos de macro de teste de recursos para o glibc (consulte "
114 "B<feature_test_macros>(7)):"
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 #, fuzzy
120 #| msgid "B<setjmp>(): see NOTES."
121 msgid "B<setjmp>(): see HISTORY."
122 msgstr "B<setjmp>(): veja NOTAS."
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 #, fuzzy
128 #| msgid ""
129 #| "B<setjmp>(),\n"
130 #| "B<sigsetjmp>()"
131 msgid "B<sigsetjmp>():"
132 msgstr ""
133 "B<setjmp>(),\n"
134 "B<sigsetjmp>()"
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid " _POSIX_C_SOURCE\n"
141 msgstr " _POSIX_C_SOURCE\n"
142
143 #. type: SH
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 #, no-wrap
147 msgid "DESCRIPTION"
148 msgstr "DESCRIÇÃO"
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "The functions described on this page are used for performing \"nonlocal "
155 "gotos\": transferring execution from one function to a predetermined "
156 "location in another function. The B<setjmp>() function dynamically "
157 "establishes the target to which control will later be transferred, and "
158 "B<longjmp>() performs the transfer of execution."
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 "The B<setjmp>() function saves various information about the calling "
166 "environment (typically, the stack pointer, the instruction pointer, possibly "
167 "the values of other registers and the signal mask) in the buffer I<env> for "
168 "later use by B<longjmp>(). In this case, B<setjmp>() returns 0."
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 B<longjmp>() function uses the information saved in I<env> to transfer "
176 "control back to the point where B<setjmp>() was called and to restore "
177 "(\"rewind\") the stack to its state at the time of the B<setjmp>() call. "
178 "In addition, and depending on the implementation (see NOTES and HISTORY), "
179 "the values of some other registers and the process signal mask may be "
180 "restored to their state at the time of the B<setjmp>() call."
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "Following a successful B<longjmp>(), execution continues as if B<setjmp>() "
188 "had returned for a second time. This \"fake\" return can be distinguished "
189 "from a true B<setjmp>() call because the \"fake\" return returns the value "
190 "provided in I<val>. If the programmer mistakenly passes the value 0 in "
191 "I<val>, the \"fake\" return will instead return 1."
192 msgstr ""
193
194 #. type: SS
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "sigsetjmp() and siglongjmp()"
199 msgstr "sigsetjmp() e siglongjmp()"
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 "B<sigsetjmp>() and B<siglongjmp>() also perform nonlocal gotos, but "
206 "provide predictable handling of the process signal mask."
207 msgstr ""
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "If, and only if, the I<savesigs> argument provided to B<sigsetjmp>() is "
214 "nonzero, the process's current signal mask is saved in I<env> and will be "
215 "restored if a B<siglongjmp>() is later performed with this I<env>."
216 msgstr ""
217
218 #. type: SH
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "RETURN VALUE"
223 msgstr "VALOR DE RETORNO"
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "B<setjmp>() and B<sigsetjmp>() return 0 when called directly; on the "
230 "\"fake\" return that occurs after B<longjmp>() or B<siglongjmp>(), the "
231 "nonzero value specified in I<val> is returned."
232 msgstr ""
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid "The B<longjmp>() or B<siglongjmp>() functions do not return."
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 "ATTRIBUTES"
245 msgstr "ATRIBUTOS"
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 "For an explanation of the terms used in this section, see B<attributes>(7)."
252 msgstr ""
253 "Para uma explicação dos termos usados nesta seção, consulte B<attributes>(7)."
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 "Interface"
260 msgstr "Interface"
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 "Attribute"
267 msgstr "Atributo"
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 "Value"
274 msgstr "Valor"
275
276 #. type: tbl table
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid ".na\n"
281 msgstr ".na\n"
282
283 #. type: tbl table
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, no-wrap
287 msgid ".nh\n"
288 msgstr ".nh\n"
289
290 #. type: tbl table
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid ""
295 "B<setjmp>(),\n"
296 "B<sigsetjmp>()"
297 msgstr ""
298 "B<setjmp>(),\n"
299 "B<sigsetjmp>()"
300
301 #. type: tbl table
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "Thread safety"
306 msgstr "Thread safety"
307
308 #. type: tbl table
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, no-wrap
312 msgid "MT-Safe"
313 msgstr "MT-Safe"
314
315 #. type: tbl table
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid ""
320 "B<longjmp>(),\n"
321 "B<siglongjmp>()"
322 msgstr ""
323 "B<longjmp>(),\n"
324 "B<siglongjmp>()"
325
326 #. type: SH
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "STANDARDS"
331 msgstr "PADRÕES"
332
333 #. type: TP
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, fuzzy, no-wrap
337 #| msgid ""
338 #| "B<setjmp>(),\n"
339 #| "B<sigsetjmp>()"
340 msgid "B<setjmp>()"
341 msgstr ""
342 "B<setjmp>(),\n"
343 "B<sigsetjmp>()"
344
345 #. type: TQ
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, fuzzy, no-wrap
349 #| msgid ""
350 #| "B<setjmp>(),\n"
351 #| "B<sigsetjmp>()"
352 msgid "B<longjmp>()"
353 msgstr ""
354 "B<setjmp>(),\n"
355 "B<sigsetjmp>()"
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 "C11, POSIX.1-2008."
361 msgstr "C11, POSIX.1-2008."
362
363 #. type: TP
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, fuzzy, no-wrap
367 #| msgid ""
368 #| "B<setjmp>(),\n"
369 #| "B<sigsetjmp>()"
370 msgid "B<sigsetjmp>()"
371 msgstr ""
372 "B<setjmp>(),\n"
373 "B<sigsetjmp>()"
374
375 #. type: TQ
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, fuzzy, no-wrap
379 #| msgid ""
380 #| "B<setjmp>(),\n"
381 #| "B<sigsetjmp>()"
382 msgid "B<siglongjmp>()"
383 msgstr ""
384 "B<setjmp>(),\n"
385 "B<sigsetjmp>()"
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid "POSIX.1-2008."
391 msgstr "POSIX.1-2008."
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 "HISTÓRICO"
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, C89."
404 msgstr "POSIX.1-2001, C89."
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid "POSIX.1-2001."
410 msgstr "POSIX.1-2001."
411
412 #. so that _FAVOR_BSD is triggered
413 #. .BR _XOPEN_SOURCE_EXTENDED ,
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid ""
418 "POSIX does not specify whether B<setjmp>() will save the signal mask (to be "
419 "later restored during B<longjmp>()). In System V it will not. In 4.3BSD it "
420 "will, and there is a function B<_setjmp>() that will not. The behavior "
421 "under Linux depends on the glibc version and the setting of feature test "
422 "macros. Before glibc 2.19, B<setjmp>() follows the System V behavior by "
423 "default, but the BSD behavior is provided if the B<_BSD_SOURCE> feature test "
424 "macro is explicitly defined and none of B<_POSIX_SOURCE>, "
425 "B<_POSIX_C_SOURCE>, B<_XOPEN_SOURCE>, B<_GNU_SOURCE>, or B<_SVID_SOURCE> is "
426 "defined. Since glibc 2.19, I<E<lt>setjmp.hE<gt>> exposes only the System V "
427 "version of B<setjmp>(). Programs that need the BSD semantics should replace "
428 "calls to B<setjmp>() with calls to B<sigsetjmp>() with a nonzero "
429 "I<savesigs> argument."
430 msgstr ""
431
432 #. type: SH
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "NOTES"
437 msgstr "NOTAS"
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid ""
443 "B<setjmp>() and B<longjmp>() can be useful for dealing with errors inside "
444 "deeply nested function calls or to allow a signal handler to pass control to "
445 "a specific point in the program, rather than returning to the point where "
446 "the handler interrupted the main program. In the latter case, if you want "
447 "to portably save and restore signal masks, use B<sigsetjmp>() and "
448 "B<siglongjmp>(). See also the discussion of program readability below."
449 msgstr ""
450
451 #. type: SH
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "CAVEATS"
456 msgstr ""
457
458 #. type: Plain text
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 msgid ""
462 "The compiler may optimize variables into registers, and B<longjmp>() may "
463 "restore the values of other registers in addition to the stack pointer and "
464 "program counter. Consequently, the values of automatic variables are "
465 "unspecified after a call to B<longjmp>() if they meet all the following "
466 "criteria:"
467 msgstr ""
468
469 #. type: IP
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "\\[bu]"
474 msgstr "\\[bu]"
475
476 #. type: Plain text
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 msgid ""
480 "they are local to the function that made the corresponding B<setjmp>() call;"
481 msgstr ""
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid ""
487 "their values are changed between the calls to B<setjmp>() and B<longjmp>(); "
488 "and"
489 msgstr ""
490
491 #. type: Plain text
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 msgid "they are not declared as I<volatile>."
495 msgstr ""
496
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 msgid "Analogous remarks apply for B<siglongjmp>()."
501 msgstr ""
502
503 #. type: SS
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 #, no-wrap
507 msgid "Nonlocal gotos and program readability"
508 msgstr ""
509
510 #. type: Plain text
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 msgid ""
514 "While it can be abused, the traditional C \"goto\" statement at least has "
515 "the benefit that lexical cues (the goto statement and the target label) "
516 "allow the programmer to easily perceive the flow of control. Nonlocal gotos "
517 "provide no such cues: multiple B<setjmp>() calls might employ the same "
518 "I<jmp_buf> variable so that the content of the variable may change over the "
519 "lifetime of the application. Consequently, the programmer may be forced to "
520 "perform detailed reading of the code to determine the dynamic target of a "
521 "particular B<longjmp>() call. (To make the programmer's life easier, each "
522 "B<setjmp>() call should employ a unique I<jmp_buf> variable.)"
523 msgstr ""
524
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid ""
529 "Adding further difficulty, the B<setjmp>() and B<longjmp>() calls may not "
530 "even be in the same source code module."
531 msgstr ""
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 #, fuzzy
537 #| msgid ""
538 #| "B<longjmp()> and B<siglongjmp()> make programs hard to understand and "
539 #| "maintain. If possible an alternative should be used."
540 msgid ""
541 "In summary, nonlocal gotos can make programs harder to understand and "
542 "maintain, and an alternative should be used if possible."
543 msgstr ""
544 "B<longjmp()> e B<siglongjmp()> tornam os programas difíceis de entender e "
545 "manter. Se possível, deve ser utilizada uma maneira alternativa."
546
547 #. type: SS
548 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
549 #: opensuse-leap-16-1 opensuse-tumbleweed
550 #, no-wrap
551 msgid "Undefined behavior"
552 msgstr ""
553
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 msgid ""
558 "If the function which called B<setjmp>() returns before B<longjmp>() is "
559 "called, the behavior is undefined. Some kind of subtle or unsubtle chaos is "
560 "sure to result."
561 msgstr ""
562
563 #
564 #
565 #. The following statement appeared in versions up to POSIX.1-2008 TC1,
566 #. but is set to be removed in POSIX.1-2008 TC2:
567 #. According to POSIX.1, if a
568 #. .BR longjmp ()
569 #. call is performed from a nested signal handler
570 #. (i.e., from a handler that was invoked in response to a signal that was
571 #. generated while another signal was already in the process of being
572 #. handled), the behavior is undefined.
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 msgid ""
577 "If, in a multithreaded program, a B<longjmp>() call employs an I<env> "
578 "buffer that was initialized by a call to B<setjmp>() in a different thread, "
579 "the behavior is undefined."
580 msgstr ""
581
582 #. http://austingroupbugs.net/view.php?id=516#c1195
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 msgid ""
587 "POSIX.1-2008 Technical Corrigendum 2 adds B<longjmp>() and B<siglongjmp>() "
588 "to the list of async-signal-safe functions. However, the standard "
589 "recommends avoiding the use of these functions from signal handlers and goes "
590 "on to point out that if these functions are called from a signal handler "
591 "that interrupted a call to a non-async-signal-safe function (or some "
592 "equivalent, such as the steps equivalent to B<exit>(3) that occur upon a "
593 "return from the initial call to I<main>()), the behavior is undefined if the "
594 "program subsequently makes a call to a non-async-signal-safe function. The "
595 "only way of avoiding undefined behavior is to ensure one of the following:"
596 msgstr ""
597
598 #. type: Plain text
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 msgid ""
602 "After long jumping from the signal handler, the program does not call any "
603 "non-async-signal-safe functions and does not return from the initial call to "
604 "I<main>()."
605 msgstr ""
606
607 #. type: Plain text
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 msgid ""
611 "Any signal whose handler performs a long jump must be blocked during "
612 "I<every> call to a non-async-signal-safe function and no non-async-signal-"
613 "safe functions are called after returning from the initial call to I<main>()."
614 msgstr ""
615
616 #. type: SH
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 #, no-wrap
620 msgid "SEE ALSO"
621 msgstr "VEJA TAMBÉM"
622
623 #. type: Plain text
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 msgid "B<signal>(7), B<signal-safety>(7)"
627 msgstr "B<signal>(7), B<signal-safety>(7)"
628
629 #. type: TH
630 #: debian-trixie
631 #, no-wrap
632 msgid "2024-06-16"
633 msgstr "16 junho 2024"
634
635 #. type: TH
636 #: debian-trixie
637 #, no-wrap
638 msgid "Linux man-pages 6.9.1"
639 msgstr "Linux man-pages 6.9.1"
640
641 #. type: Plain text
642 #: debian-trixie
643 msgid "Standard C library (I<libc>, I<-lc>)"
644 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
645
646 #. type: SS
647 #: debian-trixie
648 #, no-wrap
649 msgid "Undefined Behavior"
650 msgstr ""
651
652 #. type: TH
653 #: fedora-44 fedora-rawhide
654 #, no-wrap
655 msgid "2024-11-17"
656 msgstr "17 novembro 2024"
657
658 #. type: TH
659 #: fedora-44 fedora-rawhide
660 #, no-wrap
661 msgid "Linux man-pages 6.13"
662 msgstr "Linux man-pages 6.13"
663
664 #. type: TH
665 #: mageia-cauldron
666 #, no-wrap
667 msgid "Linux man-pages 6.17"
668 msgstr "Linux man-pages 6.17"
669
670 #. type: TH
671 #: opensuse-leap-16-1 opensuse-tumbleweed
672 #, no-wrap
673 msgid "Linux man-pages (unreleased)"
674 msgstr "Linux man-pages (não lançado)"