Debian Codegraph @

po/es/man3/stdarg.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 # Juan Piernas <[email protected]>, 2000.
5 # Miguel Pérez Ibars <[email protected]>, 2005.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
10 "PO-Revision-Date: 2005-02-03 19:55+0200\n"
11 "Last-Translator: Miguel Pérez Ibars <[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 "X-Generator: Lokalize 20.04.1\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "stdarg"
25 msgstr "stdarg"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-05-17"
32 msgstr "17 Mayo 2025"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Páginas de Manual de Linux 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NOMBRE"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "stdarg, va_start, va_arg, va_end, va_copy - variable argument lists"
52 msgstr ""
53 "stdarg, va_start, va_arg, va_end, va_copy - lista de argumentos variable"
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>stdarg.hE<gt>>\n"
80 msgstr "B<#include E<lt>stdarg.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<void va_start(va_list >I<ap>B<, >I<last>B<);>\n"
88 "I<type>B< va_arg(va_list >I<ap>B<, >I<type>B<);>\n"
89 "B<void va_end(va_list >I<ap>B<);>\n"
90 "B<void va_copy(va_list >I<dest>B<, va_list >I<src>B<);>\n"
91 msgstr ""
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "DESCRIPCIÓN"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid ""
104 "A function may be called with a varying number of arguments of varying "
105 "types. The include file I<E<lt>stdarg.hE<gt>> declares a type I<va_list> "
106 "and defines three macros for stepping through a list of arguments whose "
107 "number and types are not known to the called function."
108 msgstr ""
109 "Una función podría ser llamada con un número de argumentos variable de tipos "
110 "igualmente variables. El fichero de cabecera (include) "
111 "I<E<lt>stdarg.hE<gt>> declara un tipo I<va_list> y define tres macros para "
112 "moverse a través de una lista de argumentos cuyo número y tipo no son "
113 "conocidos para la función llamada."
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The called function must declare an object of type I<va_list> which is used "
120 "by the macros B<va_start>(), B<va_arg>(), and B<va_end>()."
121 msgstr ""
122 "Dicha función debe declarar un objeto de tipo I<va_list> el cual es "
123 "utilizado por las macros B<va_start>(), B<va_arg>() y B<va_end>()."
124
125 #. type: SS
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid "va_start()"
130 msgstr "va_start()"
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "The B<va_start>() macro initializes I<ap> for subsequent use by "
137 "B<va_arg>() and B<va_end>(), and must be called first."
138 msgstr ""
139 "La macro B<va_start>() inicializa I<ap> para su uso posterior por "
140 "B<va_arg>() y B<va_end>(), y debe ser llamada en primer lugar."
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 #, fuzzy
146 #| msgid ""
147 #| "The parameter I<last> is the name of the last parameter before the "
148 #| "variable argument list, i.e., the last parameter of which the calling "
149 #| "function knows the type."
150 msgid ""
151 "The argument I<last> is the name of the last argument before the variable "
152 "argument list, that is, the last argument of which the calling function "
153 "knows the type."
154 msgstr ""
155 "El parámetro I<last> es el nombre del último parámetro antes de la lista de "
156 "argumentos variables, es decir, el último parametro sobre el cual la función "
157 "llamada conoce el tipo."
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, fuzzy
163 #| msgid ""
164 #| "Because the address of this parameter may be used in the B<va_start> "
165 #| "macro, it should not be declared as a register variable, or as a function "
166 #| "or an array type."
167 msgid ""
168 "Because the address of this argument may be used in the B<va_start>() "
169 "macro, it should not be declared as a register variable, or as a function or "
170 "an array type."
171 msgstr ""
172 "Dado que la dirección de este parámetro puede ser utilizada por la macro "
173 "B<va_start> no debería ser declarado como una variable de registro, como una "
174 "función ni como un array."
175
176 #. type: SS
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "va_arg()"
181 msgstr "va_arg()"
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 #, fuzzy
187 #| msgid ""
188 #| "The B<va_arg> macro expands to an expression that has the type and value "
189 #| "of the next argument in the call. The parameter I<ap> is the B<va_list> "
190 #| "I<ap> initialized by B<va_start>. Each call to B<va_arg> modifies I<ap> "
191 #| "so that the next call returns the next argument. The parameter I<type> "
192 #| "is a type name specified so that the type of a pointer to an object that "
193 #| "has the specified type can be obtained simply by adding a * to I<type>."
194 msgid ""
195 "The B<va_arg>() macro expands to an expression that has the type and value "
196 "of the next argument in the call. The argument I<ap> is the I<va_list> "
197 "I<ap> initialized by B<va_start>(). Each call to B<va_arg>() modifies "
198 "I<ap> so that the next call returns the next argument. The argument I<type> "
199 "is a type name specified so that the type of a pointer to an object that has "
200 "the specified type can be obtained simply by adding a * to I<type>."
201 msgstr ""
202 "La macro B<va_arg> expande una expresión que contiene el tipo y el valor del "
203 "próximo argumento empleado en la llamada. El parámetro I<ap> es el "
204 "B<va_list> I<ap> inicializado por B<va_start>. Cada llamada a B<va_arg> "
205 "modifica I<ap> por tanto la siguiente llamada devolverá el próximo "
206 "argumento. El parámetro I<type> es el nombre de un tipo especificado para "
207 "que para que el tipo de un puntero a un objeto que es de dicho tipo pueda "
208 "ser obtenido simplemente añadiendo un * a I<type>."
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid ""
214 "The first use of the B<va_arg>() macro after that of the B<va_start>() "
215 "macro returns the argument after I<last>. Successive invocations return the "
216 "values of the remaining arguments."
217 msgstr ""
218 "El primer uso de la macro B<va_arg>() despues de B<va_start>() devuelve el "
219 "argumento tras I<last>. Invocaciones sucesivas devolverán los valores del "
220 "resto de los argumentos."
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "If there is no next argument, or if I<type> is not compatible with the type "
227 "of the actual next argument (as promoted according to the default argument "
228 "promotions), random errors will occur."
229 msgstr ""
230 "Si no hay próximo argumento, o si I<type> no es compatible con el tipo del "
231 "próximo argumento, se producirán errores impredecibles."
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid ""
237 "If I<ap> is passed to a function that uses B<va_arg(>I<ap>B<,>I<type>B<),> "
238 "then the value of I<ap> is undefined after the return of that function."
239 msgstr ""
240 "Si I<ap> es pasado a una función que usa B<va_arg(>I<ap>B<,>I<type>B<),> el "
241 "valor de I<ap> es indefinido al regresar dicha función."
242
243 #. type: SS
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "va_end()"
248 msgstr "va_end()"
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "Each invocation of B<va_start>() must be matched by a corresponding "
255 "invocation of B<va_end>() in the same function. After the call "
256 "B<va_end(>I<ap>B<)> the variable I<ap> is undefined. Multiple traversals of "
257 "the list, each bracketed by B<va_start>() and B<va_end>() are possible. "
258 "B<va_end>() may be a macro or a function."
259 msgstr ""
260 "A cada invocación de B<va_start>() le corresponde una invocación de "
261 "B<va_end>() en la misma función. Después de la llamada a B<va_end(>I<ap>B<)> "
262 "la variable I<ap> es indefinida. Son posibles varios recorridos de la lista, "
263 "cada uno comprendido entre B<va_start>() y B<va_end>(). B<va_end>() puede "
264 "ser una macro o una función."
265
266 #. type: SS
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "va_copy()"
271 msgstr "va_copy()"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 msgid ""
277 "The B<va_copy>() macro copies the (previously initialized) variable "
278 "argument list I<src> to I<dest>. The behavior is as if B<va_start>() were "
279 "applied to I<dest> with the same I<last> argument, followed by the same "
280 "number of B<va_arg>() invocations that was used to reach the current state "
281 "of I<src>."
282 msgstr ""
283
284 #. Proposal from [email protected], 1997-02-28
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid ""
289 "An obvious implementation would have a I<va_list> be a pointer to the stack "
290 "frame of the variadic function. In such a setup (by far the most common) "
291 "there seems nothing against an assignment"
292 msgstr ""
293 "Una implementación obvia haría que I<va_list> fuera un puntero al marco de "
294 "pila de la función. En tal caso (con mucho el más común) no hay ningún "
295 "problema con una asignación del tipo"
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 #, no-wrap
301 msgid "va_list aq = ap;\n"
302 msgstr "va_list aq = ap;\n"
303
304 #. type: Plain text
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 msgid ""
308 "Unfortunately, there are also systems that make it an array of pointers (of "
309 "length 1), and there one needs"
310 msgstr ""
311 "Desafortunadamente, también hay sistemas que lo implementan como un array de "
312 "punteros (de longitud 1), y por tanto es necesario"
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid ""
319 "va_list aq;\n"
320 "*aq = *ap;\n"
321 msgstr ""
322 "va_list aq;\n"
323 "*aq = *ap;\n"
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, fuzzy
329 #| msgid ""
330 #| "Finally, on systems where parameters are passed in registers, it may be "
331 #| "necessary for B<va_start> to allocate memory, store the parameters there, "
332 #| "and also an indication of which parameter is next, so that B<va_arg> can "
333 #| "step through the list. Now B<va_end> can free the allocated memory "
334 #| "again. To accommodate this situation, C99 adds a macro B<va_copy>, so "
335 #| "that the above assignment can be replaced by"
336 msgid ""
337 "Finally, on systems where arguments are passed in registers, it may be "
338 "necessary for B<va_start>() to allocate memory, store the arguments there, "
339 "and also an indication of which argument is next, so that B<va_arg>() can "
340 "step through the list. Now B<va_end>() can free the allocated memory "
341 "again. To accommodate this situation, C99 adds a macro B<va_copy>(), so "
342 "that the above assignment can be replaced by"
343 msgstr ""
344 "Finalmente, en sistemas donde los parámetros son pasados en registros, puede "
345 "ser necesario para B<va_start> reservar memoria y almacenar ahí los "
346 "parámetros junto con una indicación de qué parámetro es el siguiente, con el "
347 "fin de que B<va_arg> pueda recorrer la lista. Ahora B<va_end> puede liberar "
348 "de nuevo la memoria reservada. Para acomodarse a esta situación, C99 añade "
349 "una macro B<va_copy>, para que la asignación de arriba puede reemplazarse por"
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 #, no-wrap
355 msgid ""
356 "va_list aq;\n"
357 "va_copy(aq, ap);\n"
358 "\\&...\n"
359 "va_end(aq);\n"
360 msgstr ""
361 "va_list aq;\n"
362 "va_copy(aq, ap);\n"
363 "\\&...\n"
364 "va_end(aq);\n"
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "Each invocation of B<va_copy>() must be matched by a corresponding "
371 "invocation of B<va_end>() in the same function. Some systems that do not "
372 "supply B<va_copy>() have B<__va_copy> instead, since that was the name used "
373 "in the draft proposal."
374 msgstr ""
375 "A cada invocación de B<va_copy>() le corresponde una invocación de "
376 "B<va_end>() en la misma función. Algunos sistemas que no proporcionan "
377 "B<va_copy>() tienen B<__va_copy>() en su lugar, puesto que ese fue el nombre "
378 "usado en la propuesta inicial."
379
380 #. type: SH
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "ATTRIBUTES"
385 msgstr "ATRIBUTOS"
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 ""
391 "For an explanation of the terms used in this section, see B<attributes>(7)."
392 msgstr ""
393 "Para obtener una explicación de los términos usados en esta sección, véase "
394 "B<attributes>(7)."
395
396 #. type: tbl table
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "Interface"
401 msgstr "Interfaz"
402
403 #. type: tbl table
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "Attribute"
408 msgstr "Atributo"
409
410 #. type: tbl table
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "Value"
415 msgstr "Valor"
416
417 #. type: tbl table
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 #, no-wrap
421 msgid ".na\n"
422 msgstr ".na\n"
423
424 #. type: tbl table
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid ".nh\n"
429 msgstr ".nh\n"
430
431 #. type: tbl table
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid ""
436 "B<va_start>(),\n"
437 "B<va_end>(),\n"
438 "B<va_copy>()"
439 msgstr ""
440 "B<va_start>(),\n"
441 "B<va_end>(),\n"
442 "B<va_copy>()"
443
444 #. type: tbl table
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "Thread safety"
449 msgstr "Seguridad del hilo"
450
451 #. type: tbl table
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "MT-Safe"
456 msgstr "Multi-hilo seguro"
457
458 #. type: TQ
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "B<va_arg>()"
463 msgstr "B<va_arg>()"
464
465 #. type: tbl table
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, fuzzy, no-wrap
469 #| msgid "MT-Safe locale"
470 msgid "MT-Safe race:ap"
471 msgstr "Configuración regional de multi-hilo seguro"
472
473 #. type: SH
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 #, no-wrap
477 msgid "STANDARDS"
478 msgstr "ESTÁNDARES"
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 "C11, POSIX.1-2008."
484 msgstr "C11, POSIX.1-2008."
485
486 #. type: SH
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 #, no-wrap
490 msgid "HISTORY"
491 msgstr "HISTORIAL"
492
493 #. type: TP
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, fuzzy, no-wrap
497 #| msgid "va_start()"
498 msgid "B<va_start>()"
499 msgstr "va_start()"
500
501 #. type: TQ
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 #, fuzzy, no-wrap
505 #| msgid "va_end()"
506 msgid "B<va_end>()"
507 msgstr "va_end()"
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 msgid "C89, POSIX.1-2001."
513 msgstr "C89, POSIX.1-2001."
514
515 #. type: TP
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, fuzzy, no-wrap
519 #| msgid "va_copy()"
520 msgid "B<va_copy>()"
521 msgstr "va_copy()"
522
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid "C99, POSIX.1-2001."
527 msgstr "C99, POSIX.1-2001."
528
529 #. type: SH
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 #, no-wrap
533 msgid "CAVEATS"
534 msgstr ""
535
536 #. type: Plain text
537 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
538 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
539 #, fuzzy
540 #| msgid ""
541 #| "Unlike the B<varargs> macros, the B<stdarg> macros do not permit "
542 #| "programmers to code a function with no fixed arguments. This problem "
543 #| "generates work mainly when converting B<varargs> code to B<stdarg> code, "
544 #| "but it also creates difficulties for variadic functions that wish to pass "
545 #| "all of their arguments on to a function that takes a B<va_list> argument, "
546 #| "such as B<vfprintf>(3)."
547 msgid ""
548 "Unlike the historical B<varargs> macros, the B<stdarg> macros do not permit "
549 "programmers to code a function with no fixed arguments. This problem "
550 "generates work mainly when converting B<varargs> code to B<stdarg> code, but "
551 "it also creates difficulties for variadic functions that wish to pass all of "
552 "their arguments on to a function that takes a I<va_list> argument, such as "
553 "B<vfprintf>(3)."
554 msgstr ""
555 "Al contrario que las macros B<varargs>, las macros B<stdarg> no permiten a "
556 "los programadores codificar una función con argumentos variables. Este "
557 "problema genera trabajo principalmente cuando se convierte código basado en "
558 "B<varargs> a B<stdarg> pero además crea dificultades a las funciones que "
559 "quieran pasar todos sus argumentos en una función que toma una lista de "
560 "argumentos B<va_list>, como B<vfprintf>(3)."
561
562 #. type: SH
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "EXAMPLES"
567 msgstr "EJEMPLOS"
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 "The function I<foo> takes a string of format characters and prints out the "
574 "argument associated with each format character based on the type."
575 msgstr ""
576 "La función I<foo> toma una cadena de caracteres de formato e imprime el "
577 "argumento asociado con cada carácter de formato basado en el tipo."
578
579 #. type: Plain text
580 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
581 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
582 #, fuzzy, no-wrap
583 #| msgid ""
584 #| "\tva_start(ap, fmt);\n"
585 #| "\twhile (*fmt)\n"
586 #| "\t\tswitch(*fmt++) {\n"
587 #| "\t\tcase 's':\t\t\t/* string */\n"
588 #| "\t\t\ts = va_arg(ap, char *);\n"
589 #| "\t\t\tprintf(\"string %s\\en\", s);\n"
590 #| "\t\t\tbreak;\n"
591 #| "\t\tcase 'd':\t\t\t/* int */\n"
592 #| "\t\t\td = va_arg(ap, int);\n"
593 #| "\t\t\tprintf(\"int %d\\en\", d);\n"
594 #| "\t\t\tbreak;\n"
595 #| "\t\tcase 'c':\t\t\t/* char */\n"
596 #| "\t\t\t/* need a cast here since va_arg only\n"
597 #| "\t\t\t takes fully promoted types */\n"
598 #| "\t\t\tc = (char) va_arg(ap, int);\n"
599 #| "\t\t\tprintf(\"char %c\\en\", c);\n"
600 #| "\t\t\tbreak;\n"
601 #| "\t\t}\n"
602 #| "\tva_end(ap);\n"
603 #| "}\n"
604 msgid ""
605 "#include E<lt>stdio.hE<gt>\n"
606 "#include E<lt>stdarg.hE<gt>\n"
607 "\\&\n"
608 "void\n"
609 "foo(char *fmt, ...) /* \\[aq]...\\[aq] is C syntax for a variadic function */\n"
610 "\\&\n"
611 "{\n"
612 " va_list ap;\n"
613 " int d;\n"
614 " char c;\n"
615 " char *s;\n"
616 "\\&\n"
617 " va_start(ap, fmt);\n"
618 " while (*fmt)\n"
619 " switch (*fmt++) {\n"
620 " case \\[aq]s\\[aq]: /* string */\n"
621 " s = va_arg(ap, char *);\n"
622 " printf(\"string %s\\[rs]n\", s);\n"
623 " break;\n"
624 " case \\[aq]d\\[aq]: /* int */\n"
625 " d = va_arg(ap, int);\n"
626 " printf(\"int %d\\[rs]n\", d);\n"
627 " break;\n"
628 " case \\[aq]c\\[aq]: /* char */\n"
629 " /* need a cast here since va_arg only\n"
630 " takes fully promoted types */\n"
631 " c = (char) va_arg(ap, int);\n"
632 " printf(\"char %c\\[rs]n\", c);\n"
633 " break;\n"
634 " }\n"
635 " va_end(ap);\n"
636 "}\n"
637 msgstr ""
638 "\tva_start(ap, fmt);\n"
639 "\twhile (*fmt)\n"
640 "\t\tswitch(*fmt++) {\n"
641 "\t\tcase 's':\t\t\t/* string */\n"
642 "\t\t\ts = va_arg(ap, char *);\n"
643 "\t\t\tprintf(\"string %s\\en\", s);\n"
644 "\t\t\tbreak;\n"
645 "\t\tcase 'd':\t\t\t/* int */\n"
646 "\t\t\td = va_arg(ap, int);\n"
647 "\t\t\tprintf(\"int %d\\en\", d);\n"
648 "\t\t\tbreak;\n"
649 "\t\tcase 'c':\t\t\t/* char */\n"
650 "\t\t\t/* Aquí es necesaria una conversión forzada\n"
651 "\t\t\t * de tipos ya que va_arg sólo toma tipos\n"
652 "\t\t\t * totalmente `ascendidos'.\n"
653 "\t\t\t */\n"
654 "\t\t\tc = (char) va_arg(ap, char);\n"
655 "\t\t\tprintf(\"char %c\\en\", c);\n"
656 "\t\t\tbreak;\n"
657 "\t\t}\n"
658 "\tva_end(ap);\n"
659 "}\n"
660
661 #. type: SH
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 #, no-wrap
665 msgid "SEE ALSO"
666 msgstr "VÉASE TAMBIÉN"
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 msgid "B<vprintf>(3), B<vscanf>(3), B<vsyslog>(3)"
672 msgstr "B<vprintf>(3), B<vscanf>(3), B<vsyslog>(3)"
673
674 #. type: TH
675 #: debian-trixie
676 #, no-wrap
677 msgid "2024-06-15"
678 msgstr "15 Junio 2024"
679
680 #. type: TH
681 #: debian-trixie
682 #, no-wrap
683 msgid "Linux man-pages 6.9.1"
684 msgstr "Páginas de Manual de Linux 6.9.1"
685
686 #. type: Plain text
687 #: debian-trixie
688 msgid "Standard C library (I<libc>, I<-lc>)"
689 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
690
691 #. type: TH
692 #: fedora-44 fedora-rawhide
693 #, no-wrap
694 msgid "2024-07-23"
695 msgstr "23 ​​Julio 2024"
696
697 #. type: TH
698 #: fedora-44 fedora-rawhide
699 #, no-wrap
700 msgid "Linux man-pages 6.13"
701 msgstr "Páginas de Manual de Linux 6.13"
702
703 #. type: TH
704 #: mageia-cauldron
705 #, no-wrap
706 msgid "Linux man-pages 6.17"
707 msgstr "Páginas de Manual de Linux 6.17"
708
709 #. type: TH
710 #: opensuse-leap-16-1 opensuse-tumbleweed
711 #, no-wrap
712 msgid "Linux man-pages (unreleased)"
713 msgstr "Páginas de Manual de Linux (no publicadas)"