Debian Codegraph @

po/es/man3/setjmp.3.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Gerardo Aburruzaga García <[email protected]>, 1998.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
9 "PO-Revision-Date: 1998-03-08 19:55+0200\n"
10 "Last-Translator: Gerardo Aburruzaga García <[email protected]>\n"
11 "Language-Team: Spanish <[email protected]>\n"
12 "Language: es\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17 "X-Generator: Lokalize 20.04.1\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 "8 Febrero 2026"
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, fuzzy, no-wrap
36 #| msgid "Linux man-pages 6.17"
37 msgid "Linux man-pages 6.18"
38 msgstr "Páginas de Manual de Linux 6.17"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NOMBRE"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 #, fuzzy
51 #| msgid "setjmp, sigsetjmp - save stack context for non-local goto"
52 msgid "setjmp, sigsetjmp, longjmp, siglongjmp - performing a nonlocal goto"
53 msgstr "setjmp, sigsetjmp - guardan el contexto de pila para saltos no locales"
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 Estándar C (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 "SINOPSIS"
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 Macros de Prueba de Características para glibc (véase "
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 ""
121 #| "B<setjmp>(),\n"
122 #| "B<sigsetjmp>()"
123 msgid "B<setjmp>(): see HISTORY."
124 msgstr ""
125 "B<setjmp>(),\n"
126 "B<sigsetjmp>()"
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 #, fuzzy
132 #| msgid ""
133 #| "B<setjmp>(),\n"
134 #| "B<sigsetjmp>()"
135 msgid "B<sigsetjmp>():"
136 msgstr ""
137 "B<setjmp>(),\n"
138 "B<sigsetjmp>()"
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 #, no-wrap
144 msgid " _POSIX_C_SOURCE\n"
145 msgstr " _POSIX_C_SOURCE\n"
146
147 #. type: SH
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 #, no-wrap
151 msgid "DESCRIPTION"
152 msgstr "DESCRIPCIÓN"
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "The functions described on this page are used for performing \"nonlocal "
159 "gotos\": transferring execution from one function to a predetermined "
160 "location in another function. The B<setjmp>() function dynamically "
161 "establishes the target to which control will later be transferred, and "
162 "B<longjmp>() performs the transfer of execution."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "The B<setjmp>() function saves various information about the calling "
170 "environment (typically, the stack pointer, the instruction pointer, possibly "
171 "the values of other registers and the signal mask) in the buffer I<env> for "
172 "later use by B<longjmp>(). In this case, B<setjmp>() returns 0."
173 msgstr ""
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "The B<longjmp>() function uses the information saved in I<env> to transfer "
180 "control back to the point where B<setjmp>() was called and to restore "
181 "(\"rewind\") the stack to its state at the time of the B<setjmp>() call. "
182 "In addition, and depending on the implementation (see NOTES and HISTORY), "
183 "the values of some other registers and the process signal mask may be "
184 "restored to their state at the time of the B<setjmp>() call."
185 msgstr ""
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid ""
191 "Following a successful B<longjmp>(), execution continues as if B<setjmp>() "
192 "had returned for a second time. This \"fake\" return can be distinguished "
193 "from a true B<setjmp>() call because the \"fake\" return returns the value "
194 "provided in I<val>. If the programmer mistakenly passes the value 0 in "
195 "I<val>, the \"fake\" return will instead return 1."
196 msgstr ""
197
198 #. type: SS
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "sigsetjmp() and siglongjmp()"
203 msgstr "sigsetjmp() y siglongjmp()"
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<sigsetjmp>() and B<siglongjmp>() also perform nonlocal gotos, but "
210 "provide predictable handling of the process signal mask."
211 msgstr ""
212
213 #. type: Plain text
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, fuzzy
217 #| msgid ""
218 #| "B<sigsetjmp()> is similar to B<setjmp()>. If I<savesigs> is nonzero, the "
219 #| "set of blocked signals is saved in I<env> and will be restored if a "
220 #| "B<siglongjmp()> is later performed with this I<env>."
221 msgid ""
222 "If, and only if, the I<savesigs> argument provided to B<sigsetjmp>() is "
223 "nonzero, the process's current signal mask is saved in I<env> and will be "
224 "restored if a B<siglongjmp>() is later performed with this I<env>."
225 msgstr ""
226 "B<sigsetjmp()> es similar a B<setjmp()>. Si I<savesigs> es distinto de "
227 "cero, el conjunto de señales bloqueadas se guarda en I<env> y será "
228 "restaurado si se llama más tarde a B<siglongjmp()> con este I<env>."
229
230 #. type: SH
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "RETURN VALUE"
235 msgstr "VALOR DEVUELTO"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "B<setjmp>() and B<sigsetjmp>() return 0 when called directly; on the "
242 "\"fake\" return that occurs after B<longjmp>() or B<siglongjmp>(), the "
243 "nonzero value specified in I<val> is returned."
244 msgstr ""
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, fuzzy
250 #| msgid "B<longjmp>(3), B<siglongjmp>(3)"
251 msgid "The B<longjmp>() or B<siglongjmp>() functions do not return."
252 msgstr "B<longjmp>(3), B<siglongjmp>(3)"
253
254 #. type: SH
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "ATTRIBUTES"
259 msgstr "ATRIBUTOS"
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "For an explanation of the terms used in this section, see B<attributes>(7)."
266 msgstr ""
267 "Para obtener una explicación de los términos usados en esta sección, véase "
268 "B<attributes>(7)."
269
270 #. type: tbl table
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "Interface"
275 msgstr "Interfaz"
276
277 #. type: tbl table
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "Attribute"
282 msgstr "Atributo"
283
284 #. type: tbl table
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "Value"
289 msgstr "Valor"
290
291 #. type: tbl table
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid ".na\n"
296 msgstr ".na\n"
297
298 #. type: tbl table
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid ".nh\n"
303 msgstr ".nh\n"
304
305 #. type: tbl table
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid ""
310 "B<setjmp>(),\n"
311 "B<sigsetjmp>()"
312 msgstr ""
313 "B<setjmp>(),\n"
314 "B<sigsetjmp>()"
315
316 #. type: tbl table
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "Thread safety"
321 msgstr "Seguridad del hilo"
322
323 #. type: tbl table
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 #, no-wrap
327 msgid "MT-Safe"
328 msgstr "Multi-hilo seguro"
329
330 #. type: tbl table
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 #, no-wrap
334 msgid ""
335 "B<longjmp>(),\n"
336 "B<siglongjmp>()"
337 msgstr ""
338 "B<longjmp>(),\n"
339 "B<siglongjmp>()"
340
341 #. type: SH
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "STANDARDS"
346 msgstr "ESTÁNDARES"
347
348 #. type: TP
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, fuzzy, no-wrap
352 #| msgid ""
353 #| "B<setjmp>(),\n"
354 #| "B<sigsetjmp>()"
355 msgid "B<setjmp>()"
356 msgstr ""
357 "B<setjmp>(),\n"
358 "B<sigsetjmp>()"
359
360 #. type: TQ
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, fuzzy, no-wrap
364 #| msgid ""
365 #| "B<setjmp>(),\n"
366 #| "B<sigsetjmp>()"
367 msgid "B<longjmp>()"
368 msgstr ""
369 "B<setjmp>(),\n"
370 "B<sigsetjmp>()"
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 "C11, POSIX.1-2008."
376 msgstr "C11, POSIX.1-2008."
377
378 #. type: TP
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, fuzzy, no-wrap
382 #| msgid ""
383 #| "B<setjmp>(),\n"
384 #| "B<sigsetjmp>()"
385 msgid "B<sigsetjmp>()"
386 msgstr ""
387 "B<setjmp>(),\n"
388 "B<sigsetjmp>()"
389
390 #. type: TQ
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 #, fuzzy, no-wrap
394 #| msgid ""
395 #| "B<setjmp>(),\n"
396 #| "B<sigsetjmp>()"
397 msgid "B<siglongjmp>()"
398 msgstr ""
399 "B<setjmp>(),\n"
400 "B<sigsetjmp>()"
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid "POSIX.1-2008."
406 msgstr "POSIX.1-2008."
407
408 #. type: SH
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "HISTORY"
413 msgstr "HISTORIAL"
414
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 msgid "POSIX.1-2001, C89."
419 msgstr "POSIX.1-2001, C89."
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 "POSIX.1-2001."
425 msgstr "POSIX.1-2001."
426
427 #. so that _FAVOR_BSD is triggered
428 #. .BR _XOPEN_SOURCE_EXTENDED ,
429 #. type: Plain text
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 msgid ""
433 "POSIX does not specify whether B<setjmp>() will save the signal mask (to be "
434 "later restored during B<longjmp>()). In System V it will not. In 4.3BSD it "
435 "will, and there is a function B<_setjmp>() that will not. The behavior "
436 "under Linux depends on the glibc version and the setting of feature test "
437 "macros. Before glibc 2.19, B<setjmp>() follows the System V behavior by "
438 "default, but the BSD behavior is provided if the B<_BSD_SOURCE> feature test "
439 "macro is explicitly defined and none of B<_POSIX_SOURCE>, "
440 "B<_POSIX_C_SOURCE>, B<_XOPEN_SOURCE>, B<_GNU_SOURCE>, or B<_SVID_SOURCE> is "
441 "defined. Since glibc 2.19, I<E<lt>setjmp.hE<gt>> exposes only the System V "
442 "version of B<setjmp>(). Programs that need the BSD semantics should replace "
443 "calls to B<setjmp>() with calls to B<sigsetjmp>() with a nonzero "
444 "I<savesigs> argument."
445 msgstr ""
446
447 #. type: SH
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "NOTES"
452 msgstr "NOTAS"
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid ""
458 "B<setjmp>() and B<longjmp>() can be useful for dealing with errors inside "
459 "deeply nested function calls or to allow a signal handler to pass control to "
460 "a specific point in the program, rather than returning to the point where "
461 "the handler interrupted the main program. In the latter case, if you want "
462 "to portably save and restore signal masks, use B<sigsetjmp>() and "
463 "B<siglongjmp>(). See also the discussion of program readability below."
464 msgstr ""
465
466 #. type: SH
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 #, no-wrap
470 msgid "CAVEATS"
471 msgstr ""
472
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 msgid ""
477 "The compiler may optimize variables into registers, and B<longjmp>() may "
478 "restore the values of other registers in addition to the stack pointer and "
479 "program counter. Consequently, the values of automatic variables are "
480 "unspecified after a call to B<longjmp>() if they meet all the following "
481 "criteria:"
482 msgstr ""
483
484 #. type: IP
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 #, no-wrap
488 msgid "\\[bu]"
489 msgstr "\\[bu]"
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 ""
495 "they are local to the function that made the corresponding B<setjmp>() call;"
496 msgstr ""
497
498 #. type: Plain text
499 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
500 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
501 msgid ""
502 "their values are changed between the calls to B<setjmp>() and B<longjmp>(); "
503 "and"
504 msgstr ""
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid "they are not declared as I<volatile>."
510 msgstr ""
511
512 #. type: Plain text
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 msgid "Analogous remarks apply for B<siglongjmp>()."
516 msgstr ""
517
518 #. type: SS
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 #, no-wrap
522 msgid "Nonlocal gotos and program readability"
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 "While it can be abused, the traditional C \"goto\" statement at least has "
530 "the benefit that lexical cues (the goto statement and the target label) "
531 "allow the programmer to easily perceive the flow of control. Nonlocal gotos "
532 "provide no such cues: multiple B<setjmp>() calls might employ the same "
533 "I<jmp_buf> variable so that the content of the variable may change over the "
534 "lifetime of the application. Consequently, the programmer may be forced to "
535 "perform detailed reading of the code to determine the dynamic target of a "
536 "particular B<longjmp>() call. (To make the programmer's life easier, each "
537 "B<setjmp>() call should employ a unique I<jmp_buf> variable.)"
538 msgstr ""
539
540 #. type: Plain text
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 msgid ""
544 "Adding further difficulty, the B<setjmp>() and B<longjmp>() calls may not "
545 "even be in the same source code module."
546 msgstr ""
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 #, fuzzy
552 #| msgid ""
553 #| "B<setjmp()> and B<sigsetjmp> make programs hard to understand and "
554 #| "maintain. If possible an alternative should be used."
555 msgid ""
556 "In summary, nonlocal gotos can make programs harder to understand and "
557 "maintain, and an alternative should be used if possible."
558 msgstr ""
559 "B<setjmp()> y B<sigsetjmp> hacen que los programas sean difíciles de "
560 "entender y mantener. Si es posible busque otra alternativa."
561
562 #. type: SS
563 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
564 #: opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "Undefined behavior"
567 msgstr ""
568
569 #. type: Plain text
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 msgid ""
573 "If the function which called B<setjmp>() returns before B<longjmp>() is "
574 "called, the behavior is undefined. Some kind of subtle or unsubtle chaos is "
575 "sure to result."
576 msgstr ""
577
578 #
579 #
580 #. The following statement appeared in versions up to POSIX.1-2008 TC1,
581 #. but is set to be removed in POSIX.1-2008 TC2:
582 #. According to POSIX.1, if a
583 #. .BR longjmp ()
584 #. call is performed from a nested signal handler
585 #. (i.e., from a handler that was invoked in response to a signal that was
586 #. generated while another signal was already in the process of being
587 #. handled), the behavior is undefined.
588 #. type: Plain text
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 msgid ""
592 "If, in a multithreaded program, a B<longjmp>() call employs an I<env> "
593 "buffer that was initialized by a call to B<setjmp>() in a different thread, "
594 "the behavior is undefined."
595 msgstr ""
596
597 #. http://austingroupbugs.net/view.php?id=516#c1195
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 "POSIX.1-2008 Technical Corrigendum 2 adds B<longjmp>() and B<siglongjmp>() "
603 "to the list of async-signal-safe functions. However, the standard "
604 "recommends avoiding the use of these functions from signal handlers and goes "
605 "on to point out that if these functions are called from a signal handler "
606 "that interrupted a call to a non-async-signal-safe function (or some "
607 "equivalent, such as the steps equivalent to B<exit>(3) that occur upon a "
608 "return from the initial call to I<main>()), the behavior is undefined if the "
609 "program subsequently makes a call to a non-async-signal-safe function. The "
610 "only way of avoiding undefined behavior is to ensure one of the following:"
611 msgstr ""
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid ""
617 "After long jumping from the signal handler, the program does not call any "
618 "non-async-signal-safe functions and does not return from the initial call to "
619 "I<main>()."
620 msgstr ""
621
622 #. type: Plain text
623 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
624 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
625 msgid ""
626 "Any signal whose handler performs a long jump must be blocked during "
627 "I<every> call to a non-async-signal-safe function and no non-async-signal-"
628 "safe functions are called after returning from the initial call to I<main>()."
629 msgstr ""
630
631 #. type: SH
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "SEE ALSO"
636 msgstr "VÉASE TAMBIÉN"
637
638 #. type: Plain text
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 msgid "B<signal>(7), B<signal-safety>(7)"
642 msgstr "B<signal>(7), B<signal-safety>(7)"
643
644 #. type: TH
645 #: debian-trixie
646 #, no-wrap
647 msgid "2024-06-16"
648 msgstr "16 Junio 2024"
649
650 #. type: TH
651 #: debian-trixie
652 #, no-wrap
653 msgid "Linux man-pages 6.9.1"
654 msgstr "Páginas de Manual de Linux 6.9.1"
655
656 #. type: Plain text
657 #: debian-trixie
658 msgid "Standard C library (I<libc>, I<-lc>)"
659 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
660
661 #. type: SS
662 #: debian-trixie
663 #, no-wrap
664 msgid "Undefined Behavior"
665 msgstr ""
666
667 #. type: TH
668 #: fedora-44 fedora-rawhide
669 #, no-wrap
670 msgid "2024-11-17"
671 msgstr "17 Noviembre 2024"
672
673 #. type: TH
674 #: fedora-44 fedora-rawhide
675 #, no-wrap
676 msgid "Linux man-pages 6.13"
677 msgstr "Páginas de Manual de Linux 6.13"
678
679 #. type: TH
680 #: mageia-cauldron
681 #, no-wrap
682 msgid "Linux man-pages 6.17"
683 msgstr "Páginas de Manual de Linux 6.17"
684
685 #. type: TH
686 #: opensuse-leap-16-1 opensuse-tumbleweed
687 #, no-wrap
688 msgid "Linux man-pages (unreleased)"
689 msgstr "Páginas de Manual de Linux (no publicadas)"