Debian Codegraph @

po/es/man3/getcontext.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 # Miguel Pérez Ibars <[email protected]>, 2004.
5 # Marcos Fouces <[email protected]>, 2023.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
10 "PO-Revision-Date: 2023-02-28 18:47+0100\n"
11 "Last-Translator: Marcos Fouces <[email protected]>\n"
12 "Language-Team: Spanish <[email protected]>\n"
13 "Language: es\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=2; plural=(n != 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 "getcontext"
24 msgstr "getcontext"
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 msgid "getcontext, setcontext - get or set the user context"
51 msgstr "getcontext, setcontext - consulta o establece el contexto de usuario"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "BIBLIOTECA"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "SINOPSIS"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "B<#include E<lt>ucontext.hE<gt>>\n"
78 msgstr "B<#include E<lt>ucontext.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int getcontext(ucontext_t *>I<ucp>B<);>\n"
86 "B<int setcontext(const ucontext_t *>I<ucp>B<);>\n"
87 msgstr ""
88 "B<int getcontext(ucontext_t *>I<ucp>B<);>\n"
89 "B<int setcontext(const ucontext_t *>I<ucp>B<);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "DESCRIPCIÓN"
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 msgid ""
102 "In a System V-like environment, one has the two types I<mcontext_t> and "
103 "I<ucontext_t> defined in I<E<lt>ucontext.hE<gt>> and the four functions "
104 "B<getcontext>(), B<setcontext>(), B<makecontext>(3), and B<swapcontext>(3) "
105 "that allow user-level context switching between multiple threads of control "
106 "within a process."
107 msgstr ""
108 "En un entorno del tipo System V, se encuentran los dos tipos I<mcontext_t> y "
109 "I<ucontext_t> definidos en I<E<lt>ucontext.hE<gt>> y las cuatro funciones "
110 "B<getcontext>(), B<setcontext>(), B<makecontext>() y B<swapcontext>() que "
111 "permiten el intercambio del contexto del nivel de usuario entre múltiples "
112 "hilos de control dentro de un proceso."
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid ""
118 "The I<mcontext_t> type is machine-dependent and opaque. The I<ucontext_t> "
119 "type is a structure that has at least the following fields:"
120 msgstr ""
121 "El tipo I<mcontext_t> es dependiente de la máquina y opaco. El tipo "
122 "I<ucontext_t> es una estructura que tiene al menos los campos siguientes:"
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 #, no-wrap
128 msgid ""
129 "typedef struct ucontext_t {\n"
130 " struct ucontext_t *uc_link;\n"
131 " sigset_t uc_sigmask;\n"
132 " stack_t uc_stack;\n"
133 " mcontext_t uc_mcontext;\n"
134 " ...\n"
135 "} ucontext_t;\n"
136 msgstr ""
137 "typedef struct ucontext_t {\n"
138 " struct ucontext_t *uc_link;\n"
139 " sigset_t uc_sigmask;\n"
140 " stack_t uc_stack;\n"
141 " mcontext_t uc_mcontext;\n"
142 " ...\n"
143 "} ucontext_t;\n"
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "with I<sigset_t> and I<stack_t> defined in I<E<lt>signal.hE<gt>>. Here "
150 "I<uc_link> points to the context that will be resumed when the current "
151 "context terminates (in case the current context was created using "
152 "B<makecontext>(3)), I<uc_sigmask> is the set of signals blocked in this "
153 "context (see B<sigprocmask>(2)), I<uc_stack> is the stack used by this "
154 "context (see B<sigaltstack>(2)), and I<uc_mcontext> is the machine-specific "
155 "representation of the saved context, that includes the calling thread's "
156 "machine registers."
157 msgstr ""
158 "de los cuales I<sigset_t> y I<stack_t> están definidos en "
159 "I<E<lt>signal.hE<gt>>. I<uc_link> apunta al contexto que será reanudado "
160 "cuando termine el contexto actual (en el caso de que el contexto actual haya "
161 "sido creado usando B<makecontext>(3)), I<uc_sigmask> es el conjunto de "
162 "señales bloqueadas en este contexto (véase B<sigprocmask>(2)), I<uc_stack> "
163 "es la pila usada por este contexto (véase B<sigaltstack>(2)), y "
164 "I<uc_mcontext> es la representación del contexto guardado específica de la "
165 "máquina, que incluye los registros de la máquina para el hilo invocador."
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "The function B<getcontext>() initializes the structure pointed to by I<ucp> "
172 "to the currently active context."
173 msgstr ""
174 "La función B<getcontext>() inicializa la estructura apuntada por I<ucp> al "
175 "contexto activo actualmente."
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, fuzzy
181 #| msgid ""
182 #| "The function B<setcontext>() restores the user context pointed at by "
183 #| "I<ucp>. A successful call does not return. The context should have been "
184 #| "obtained by a call of B<getcontext>(), or B<makecontext>(3), or passed as "
185 #| "third argument to a signal handler."
186 msgid ""
187 "The function B<setcontext>() restores the user context pointed to by "
188 "I<ucp>. A successful call does not return. The context should have been "
189 "obtained by a call of B<getcontext>(), or B<makecontext>(3), or received as "
190 "the third argument to a signal handler (see the discussion of the "
191 "B<SA_SIGINFO> flag in B<sigaction>(2))."
192 msgstr ""
193 "La función B<setcontext>() restablece el contexto de usuario apuntado por "
194 "I<ucp>. Si la llamada tiene éxito no regresa. El contexto debería haber "
195 "sido obtenido mediante una llamada a B<getcontext>(), o B<makecontext>(3), o "
196 "pasada como tercer argumento al manejador de señales."
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "If the context was obtained by a call of B<getcontext>(), program execution "
203 "continues as if this call just returned."
204 msgstr ""
205 "Si el contexto se obtuvo mediante una llamada a B<getcontext>(), la "
206 "ejecución del programa continúa como si esta llamada simplemente regresara."
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid ""
212 "If the context was obtained by a call of B<makecontext>(3), program "
213 "execution continues by a call to the function I<func> specified as the "
214 "second argument of that call to B<makecontext>(3). When the function "
215 "I<func> returns, we continue with the I<uc_link> member of the structure "
216 "I<ucp> specified as the first argument of that call to B<makecontext>(3). "
217 "When this member is NULL, the thread exits."
218 msgstr ""
219 "Si el contexto fue obtenido mediante una llamada a B<makecontext>(3), la "
220 "ejecución del programa continua por la llamada a la función I<func> "
221 "especificada como segundo argumento en la llamada a B<makecontext>(3). "
222 "Cuando la función I<func> regresa, se continua con el miembro I<uc_link> de "
223 "la estructura I<ucp> especificada como primer argumento en la llamada a "
224 "B<makecontext>(3). Cuando este miembro es NULL, el hilo termina."
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid ""
230 "If the context was obtained by a call to a signal handler, then old standard "
231 "text says that \"program execution continues with the program instruction "
232 "following the instruction interrupted by the signal\". However, this "
233 "sentence was removed in SUSv2, and the present verdict is \"the result is "
234 "unspecified\"."
235 msgstr ""
236 "Cuando el contexto se obtiene mediante una llamada a un manejador de "
237 "señales, se solía decir que \"la ejecución del programa continua con la "
238 "instrucción de programa siguiente a la instrucción interrumpida por la "
239 "señal\". Sin embargo, esta sentencia fue eliminada en SUSv2, y ahora se "
240 "establece que \"el resultado es indefinido\"."
241
242 #. type: SH
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, no-wrap
246 msgid "RETURN VALUE"
247 msgstr "VALOR DEVUELTO"
248
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid ""
253 "When successful, B<getcontext>() returns 0 and B<setcontext>() does not "
254 "return. On error, both return -1 and set I<errno> to indicate the error."
255 msgstr ""
256 "Cuando tiene éxito, B<getcontext>() devuelve 0 y B<setcontext>() no regresa. "
257 "En caso de error, ambas devuelven -1 y modifican I<errno> con el valor "
258 "apropiado."
259
260 #. type: SH
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "ERRORS"
265 msgstr "ERRORES"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid "None defined."
271 msgstr "No se definen errores."
272
273 #. type: SH
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "ATTRIBUTES"
278 msgstr "ATRIBUTOS"
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "For an explanation of the terms used in this section, see B<attributes>(7)."
285 msgstr ""
286 "Para obtener una explicación de los términos usados en esta sección, véase "
287 "B<attributes>(7)."
288
289 #. type: tbl table
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "Interface"
294 msgstr "Interfaz"
295
296 #. type: tbl table
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "Attribute"
301 msgstr "Atributo"
302
303 #. type: tbl table
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "Value"
308 msgstr "Valor"
309
310 #. type: tbl table
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid ".na\n"
315 msgstr ".na\n"
316
317 #. type: tbl table
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid ".nh\n"
322 msgstr ".nh\n"
323
324 #. type: tbl table
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid ""
329 "B<getcontext>(),\n"
330 "B<setcontext>()"
331 msgstr ""
332 "B<getcontext>(),\n"
333 "B<setcontext>()"
334
335 #. type: tbl table
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "Thread safety"
340 msgstr "Seguridad del hilo"
341
342 #. type: tbl table
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, fuzzy, no-wrap
346 #| msgid "MT-Safe locale"
347 msgid "MT-Safe race:ucp"
348 msgstr "Configuración regional de multi-hilo seguro"
349
350 #. type: SH
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "STANDARDS"
355 msgstr "ESTÁNDARES"
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 "None."
361 msgstr ""
362
363 #. type: SH
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "HISTORY"
368 msgstr "HISTORIAL"
369
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, fuzzy
374 #| msgid "C99, POSIX.1-2001."
375 msgid "SUSv2, POSIX.1-2001."
376 msgstr "C99, POSIX.1-2001."
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid ""
382 "POSIX.1-2008 removes these functions, citing portability issues, and "
383 "recommending that applications be rewritten to use POSIX threads instead."
384 msgstr ""
385
386 #. type: SH
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, no-wrap
390 msgid "NOTES"
391 msgstr "NOTAS"
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, fuzzy
397 #| msgid ""
398 #| "The earliest incarnation of this mechanism was the B<setjmp>(3)/"
399 #| "B<longjmp>(3) mechanism. Since that does not define the handling of the "
400 #| "signal context, the next stage was the B<sigsetjmp>(3)/B<siglongjmp>(3) "
401 #| "pair. The present mechanism gives much more control. On the other hand, "
402 #| "there is no easy way to detect whether a return from B<getcontext>() is "
403 #| "from the first call, or via a B<setcontext>() call. The user has to "
404 #| "invent their own bookkeeping device, and a register variable won't do "
405 #| "since registers are restored."
406 msgid ""
407 "The earliest incarnation of this mechanism was the B<setjmp>(3)/ "
408 "B<longjmp>(3) mechanism. Since that does not define the handling of the "
409 "signal context, the next stage was the B<sigsetjmp>(3)/ B<siglongjmp>(3) "
410 "pair. The present mechanism gives much more control. On the other hand, "
411 "there is no easy way to detect whether a return from B<getcontext>() is "
412 "from the first call, or via a B<setcontext>() call. The user has to invent "
413 "their own bookkeeping device, and a register variable won't do since "
414 "registers are restored."
415 msgstr ""
416 "La primera manifestación de este mecanismo fue el mecanismo B<setjmp>(3)/"
417 "B<longjmp>(3). Puesto que no define el manejo del contexto de señales, el "
418 "siguiente paso fue el par B<sigsetjmp>(3)/B<siglongjmp>(3). El presente "
419 "mecanismo proporciona mucho más control. Por otra parte, no hay un método "
420 "sencillo de detectar si un regreso de B<getcontext>() es de la primera "
421 "llamada o via una llamada a B<setcontext>(). El usuario tiene que inventar "
422 "su propio mecanismo de `contabilidad' y no se servirá una variable de tipo "
423 "registro ya que los registros se restauran."
424
425 #. type: Plain text
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 msgid ""
429 "When a signal occurs, the current user context is saved and a new context is "
430 "created by the kernel for the signal handler. Do not leave the handler "
431 "using B<longjmp>(3): it is undefined what would happen with contexts. Use "
432 "B<siglongjmp>(3) or B<setcontext>() instead."
433 msgstr ""
434 "Cuando ocurre una señal, el contexto de usuario actual se guarda y el núcleo "
435 "crea un nuevo contexto para el manejador de señales. No deje al manejador "
436 "usar B<longjmp>(3) - es indefinido que ocurriría con contextos. Use "
437 "B<siglongjmp>(3) o B<setcontext>() en su lugar."
438
439 #. type: SH
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "SEE ALSO"
444 msgstr "VÉASE TAMBIÉN"
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 ""
450 "B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
451 "B<makecontext>(3), B<sigsetjmp>(3), B<signal>(7)"
452 msgstr ""
453 "B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
454 "B<makecontext>(3), B<sigsetjmp>(3), B<signal>(7)"
455
456 #. type: TH
457 #: debian-trixie
458 #, no-wrap
459 msgid "2024-05-02"
460 msgstr "2 Mayo 2024"
461
462 #. type: TH
463 #: debian-trixie
464 #, no-wrap
465 msgid "Linux man-pages 6.9.1"
466 msgstr "Páginas de Manual de Linux 6.9.1"
467
468 #. type: Plain text
469 #: debian-trixie
470 msgid "Standard C library (I<libc>, I<-lc>)"
471 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
472
473 #. type: TH
474 #: fedora-44 fedora-rawhide
475 #, no-wrap
476 msgid "2024-07-23"
477 msgstr "23 ​​Julio 2024"
478
479 #. type: TH
480 #: fedora-44 fedora-rawhide
481 #, no-wrap
482 msgid "Linux man-pages 6.13"
483 msgstr "Páginas de Manual de Linux 6.13"
484
485 #. type: TH
486 #: mageia-cauldron
487 #, no-wrap
488 msgid "Linux man-pages 6.17"
489 msgstr "Páginas de Manual de Linux 6.17"
490
491 #. type: TH
492 #: opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "Linux man-pages (unreleased)"
495 msgstr "Páginas de Manual de Linux (no publicadas)"