Debian Codegraph @

po/fr/man3/stdarg.3.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999,2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006, 2013.
16 # Denis Barbier <[email protected]>, 2006,2010.
17 # David Prévot <[email protected]>, 2010, 2013.
18 # Cédric Boutillier <[email protected]>, 2011, 2012, 2013.
19 # Frédéric Hantrais <[email protected]>, 2013, 2014.
20 # Grégoire Scano <[email protected]>, 2021.
21 msgid ""
22 msgstr ""
23 "Project-Id-Version: manpages-l10n 4.22.0\n"
24 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
25 "PO-Revision-Date: 2024-05-21 20:17+0200\n"
26 "Last-Translator: Grégoire Scano <[email protected]>\n"
27 "Language-Team: French <[email protected]>\n"
28 "Language: fr\n"
29 "MIME-Version: 1.0\n"
30 "Content-Type: text/plain; charset=UTF-8\n"
31 "Content-Transfer-Encoding: 8bit\n"
32 "Plural-Forms: nplurals=2; plural=n > 1;\n"
33 "X-Generator: Lokalize 22.12.3\n"
34
35 #. type: TH
36 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
37 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
38 #, no-wrap
39 msgid "stdarg"
40 msgstr "stdarg"
41
42 #. type: TH
43 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
44 #: opensuse-tumbleweed
45 #, no-wrap
46 msgid "2025-05-17"
47 msgstr "17 mai 2025"
48
49 #. type: TH
50 #: archlinux debian-unstable
51 #, no-wrap
52 msgid "Linux man-pages 6.18"
53 msgstr "Pages du manuel de Linux 6.18"
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 "NAME"
60 msgstr "NOM"
61
62 #. type: Plain text
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "stdarg, va_start, va_arg, va_end, va_copy - variable argument lists"
66 msgstr "stdarg, va_start, va_arg, va_end, va_copy - Liste variable d'arguments"
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 "LIBRARY"
73 msgstr "BIBLIOTHÈQUE"
74
75 #. type: Plain text
76 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
77 #: opensuse-leap-16-1 opensuse-tumbleweed
78 msgid "Standard C library (I<libc>,\\ I<-lc>)"
79 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
80
81 #. type: SH
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "SYNOPSIS"
86 msgstr "SYNOPSIS"
87
88 #. type: Plain text
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "B<#include E<lt>stdarg.hE<gt>>\n"
93 msgstr "B<#include E<lt>stdarg.hE<gt>>\n"
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid ""
100 "B<void va_start(va_list >I<ap>B<, >I<last>B<);>\n"
101 "I<type>B< va_arg(va_list >I<ap>B<, >I<type>B<);>\n"
102 "B<void va_end(va_list >I<ap>B<);>\n"
103 "B<void va_copy(va_list >I<dest>B<, va_list >I<src>B<);>\n"
104 msgstr ""
105 "B<void va_start(va_list >I<ap>B<, >I<last>B<);>\n"
106 "I<type>B< va_arg(va_list >I<ap>B<, >I<type>B<);>\n"
107 "B<void va_end(va_list >I<ap>B<);>\n"
108 "B<void va_copy(va_list >I<dest>B<, va_list >I<src>B<);>\n"
109
110 #. type: SH
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid "DESCRIPTION"
115 msgstr "DESCRIPTION"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 msgid ""
121 "A function may be called with a varying number of arguments of varying "
122 "types. The include file I<E<lt>stdarg.hE<gt>> declares a type I<va_list> "
123 "and defines three macros for stepping through a list of arguments whose "
124 "number and types are not known to the called function."
125 msgstr ""
126 "Une fonction peut être appelée avec un nombre variable d'arguments, eux-"
127 "mêmes de types variables. Une telle fonction est dite «\\ variadique\\ ». Le "
128 "fichier d'en-tête I<E<lt>stdarg.hE<gt>> déclare un type I<va_list> et "
129 "définit trois macros permettant de parcourir la liste d'arguments dont le "
130 "nombre et les types ne sont pas connus par la fonction appelée."
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 called function must declare an object of type I<va_list> which is used "
137 "by the macros B<va_start>(), B<va_arg>(), and B<va_end>()."
138 msgstr ""
139 "La fonction appelée doit déclarer un objet de type I<va_list> utilisé par "
140 "les macros B<va_start>(), B<va_arg>() et B<va_end>()."
141
142 #. type: SS
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 #, no-wrap
146 msgid "va_start()"
147 msgstr "va_start()"
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "The B<va_start>() macro initializes I<ap> for subsequent use by "
154 "B<va_arg>() and B<va_end>(), and must be called first."
155 msgstr ""
156 "La macro B<va_start>() initialise I<ap> pour les utilisations ultérieures de "
157 "B<va_arg>() et B<va_end>(), et doit donc être appelée en premier."
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 msgid ""
163 "The argument I<last> is the name of the last argument before the variable "
164 "argument list, that is, the last argument of which the calling function "
165 "knows the type."
166 msgstr ""
167 "Le paramètre I<dernier> est le nom du dernier paramètre avant la liste "
168 "variable de paramètres, c'est-à-dire le dernier paramètre dont la fonction "
169 "connaisse le type."
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 "Because the address of this argument may be used in the B<va_start>() "
176 "macro, it should not be declared as a register variable, or as a function or "
177 "an array type."
178 msgstr ""
179 "Comme l'adresse de ce paramètre est utilisée dans la macro B<va_start>(), il "
180 "ne doit pas être déclaré comme une variable en registre, ni comme un type "
181 "fonction ou tableau."
182
183 #. type: SS
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 #, no-wrap
187 msgid "va_arg()"
188 msgstr "va_arg()"
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid ""
194 "The B<va_arg>() macro expands to an expression that has the type and value "
195 "of the next argument in the call. The argument I<ap> is the I<va_list> "
196 "I<ap> initialized by B<va_start>(). Each call to B<va_arg>() modifies "
197 "I<ap> so that the next call returns the next argument. The argument I<type> "
198 "is a type name specified so that the type of a pointer to an object that has "
199 "the specified type can be obtained simply by adding a * to I<type>."
200 msgstr ""
201 "La macro B<va_arg>() se développe en une expression qui a le type et la "
202 "valeur de l'argument suivant de l'appel. Le paramètre I<ap> est la "
203 "I<va_list> I<ap> initialisée par B<va_start>(). Chaque appel de B<va_arg>() "
204 "modifie I<ap> pour que l'appel suivant renvoie le paramètre suivant. Le "
205 "paramètre I<type> est le nom du type, indiqué de telle manière qu'un "
206 "pointeur sur un objet de ce type puisse être déclaré simplement en ajoutant "
207 "un astérisque à I<type>."
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 "The first use of the B<va_arg>() macro after that of the B<va_start>() "
214 "macro returns the argument after I<last>. Successive invocations return the "
215 "values of the remaining arguments."
216 msgstr ""
217 "La première utilisation de la macro B<va_arg>() après celle de B<va_start>() "
218 "renvoie l'argument suivant I<dernier>. Les invocations successives renvoient "
219 "les valeurs des arguments restants."
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "If there is no next argument, or if I<type> is not compatible with the type "
226 "of the actual next argument (as promoted according to the default argument "
227 "promotions), random errors will occur."
228 msgstr ""
229 "S'il n'y a pas d'argument suivant, ou si I<type> n'est pas compatible avec "
230 "le type du prochain argument effectif, des erreurs imprévisibles se "
231 "produiront."
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> est passé à une fonction qui utilise B<va_arg(>I<ap>B<,>I<type>B<)> "
241 "alors la valeur de I<ap> est indéfinie après le retour de cette fonction."
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 "À chaque invocation de B<va_start>() doit correspondre une invocation de "
261 "B<va_end>() dans la même fonction. Après l'appel B<va_end(>I<ap>B<)> la "
262 "variable I<ap> est indéfinie. Plusieurs traversées de la liste sont "
263 "possibles, à condition que chacune soit encadrée par B<va_start>() et "
264 "B<va_end>(). B<va_end>() peut être une macro ou une fonction."
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 "La macro B<va_copy>() copie la liste d'arguments variables (précédemment "
284 "initialisés) I<src> vers I<dest>. Le comportement serait similaire si "
285 "B<va_start>() était appliqué à I<dest> avec le même argument I<dernier>, "
286 "suivi du même nombre d'invocations de B<va_arg>() qui seraient utilisées "
287 "pour atteindre l'état actuel de I<src>."
288
289 #. Proposal from [email protected], 1997-02-28
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid ""
294 "An obvious implementation would have a I<va_list> be a pointer to the stack "
295 "frame of the variadic function. In such a setup (by far the most common) "
296 "there seems nothing against an assignment"
297 msgstr ""
298 "Une implémentation évidente est de représenter I<va_list> par un pointeur "
299 "dans la pile de la fonction variadique. Dans une telle situation (de loin la "
300 "plus courante), rien ne semble s'opposer à une affectation"
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "va_list aq = ap;\n"
307 msgstr "va_list aq = ap;\n"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid ""
313 "Unfortunately, there are also systems that make it an array of pointers (of "
314 "length 1), and there one needs"
315 msgstr ""
316 "Malheureusement, il y a aussi des systèmes qui créent une table de pointeurs "
317 "(de longueur 1), et on devrait écrire"
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid ""
324 "va_list aq;\n"
325 "*aq = *ap;\n"
326 msgstr ""
327 "va_list aq;\n"
328 "*aq = *ap;\n"
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid ""
334 "Finally, on systems where arguments are passed in registers, it may be "
335 "necessary for B<va_start>() to allocate memory, store the arguments there, "
336 "and also an indication of which argument is next, so that B<va_arg>() can "
337 "step through the list. Now B<va_end>() can free the allocated memory "
338 "again. To accommodate this situation, C99 adds a macro B<va_copy>(), so "
339 "that the above assignment can be replaced by"
340 msgstr ""
341 "De plus, sur les systèmes où les paramètres sont passés dans des registres, "
342 "il peut être nécessaire pour B<va_start>() d'allouer de la mémoire, d'y "
343 "enregistrer les paramètres ainsi que l'indication du paramètre suivant, afin "
344 "que B<va_arg>() puisse balayer la liste. Ainsi B<va_end>() pourra libérer la "
345 "mémoire allouée. Pour gérer ces situations, C99 ajoute une macro "
346 "B<va_copy>(), afin que les affectations ci-dessus soient remplacées par"
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid ""
353 "va_list aq;\n"
354 "va_copy(aq, ap);\n"
355 "\\&...\n"
356 "va_end(aq);\n"
357 msgstr ""
358 "va_list aq;\n"
359 "va_copy(aq, ap);\n"
360 "\\&...\n"
361 "va_end(aq);\n"
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid ""
367 "Each invocation of B<va_copy>() must be matched by a corresponding "
368 "invocation of B<va_end>() in the same function. Some systems that do not "
369 "supply B<va_copy>() have B<__va_copy> instead, since that was the name used "
370 "in the draft proposal."
371 msgstr ""
372 "À chaque invocation de B<va_copy>() doit correspondre une invocation de "
373 "B<va_end>() dans la même fonction. Certains systèmes qui ne disposent pas de "
374 "B<va_copy>() ont une macro B<__va_copy>() à la place, puisque c'était le nom "
375 "proposé auparavant."
376
377 #. type: SH
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "ATTRIBUTES"
382 msgstr "ATTRIBUTS"
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 msgid ""
388 "For an explanation of the terms used in this section, see B<attributes>(7)."
389 msgstr ""
390 "Pour une explication des termes utilisés dans cette section, consulter "
391 "B<attributes>(7)."
392
393 #. type: tbl table
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "Interface"
398 msgstr "Interface"
399
400 #. type: tbl table
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "Attribute"
405 msgstr "Attribut"
406
407 #. type: tbl table
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "Value"
412 msgstr "Valeur"
413
414 #. type: tbl table
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid ".na\n"
419 msgstr ".na\n"
420
421 #. type: tbl table
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid ".nh\n"
426 msgstr ".nh\n"
427
428 #. type: tbl table
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid ""
433 "B<va_start>(),\n"
434 "B<va_end>(),\n"
435 "B<va_copy>()"
436 msgstr ""
437 "B<va_start>(),\n"
438 "B<va_end>(),\n"
439 "B<va_copy>()"
440
441 #. type: tbl table
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "Thread safety"
446 msgstr "Sécurité des threads"
447
448 #. type: tbl table
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "MT-Safe"
453 msgstr "MT-Safe"
454
455 #. type: TQ
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 #, no-wrap
459 msgid "B<va_arg>()"
460 msgstr "B<va_arg>()"
461
462 #. type: tbl table
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 #, no-wrap
466 msgid "MT-Safe race:ap"
467 msgstr "MT-Safe race:ap"
468
469 #. type: SH
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 #, no-wrap
473 msgid "STANDARDS"
474 msgstr "NORMES"
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 "C11, POSIX.1-2008."
480 msgstr "C11, POSIX.1-2008."
481
482 #. type: SH
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "HISTORY"
487 msgstr "HISTORIQUE"
488
489 #. type: TP
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "B<va_start>()"
494 msgstr "B<va_start>()"
495
496 #. type: TQ
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "B<va_end>()"
501 msgstr "B<va_end>()"
502
503 #. type: Plain text
504 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
505 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
506 msgid "C89, POSIX.1-2001."
507 msgstr "C89, POSIX.1-2001."
508
509 #. type: TP
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 #, no-wrap
513 msgid "B<va_copy>()"
514 msgstr "B<va_copy>()"
515
516 #. type: Plain text
517 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
518 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
519 msgid "C99, POSIX.1-2001."
520 msgstr "C99, POSIX.1-2001."
521
522 #. type: SH
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 #, no-wrap
526 msgid "CAVEATS"
527 msgstr "AVERTISSEMENTS"
528
529 #. type: Plain text
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 msgid ""
533 "Unlike the historical B<varargs> macros, the B<stdarg> macros do not permit "
534 "programmers to code a function with no fixed arguments. This problem "
535 "generates work mainly when converting B<varargs> code to B<stdarg> code, but "
536 "it also creates difficulties for variadic functions that wish to pass all of "
537 "their arguments on to a function that takes a I<va_list> argument, such as "
538 "B<vfprintf>(3)."
539 msgstr ""
540 "Contrairement aux macros B<varargs>() historiques, les macros B<stdarg>() ne "
541 "permettent pas aux programmeurs de coder une fonction sans aucun argument "
542 "fixe. Ce problème se pose principalement en convertissant directement du "
543 "code utilisant B<varargs>() en code utilisant B<stdarg>(), mais il se pose "
544 "également pour les fonctions qui désirent passer tous leurs arguments à une "
545 "fonction utilisant un argument I<va_list> telle que B<vfprintf>(3)."
546
547 #. type: SH
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 #, no-wrap
551 msgid "EXAMPLES"
552 msgstr "EXEMPLES"
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 "The function I<foo> takes a string of format characters and prints out the "
559 "argument associated with each format character based on the type."
560 msgstr ""
561 "La fonction I<foo>() prend une chaîne de caractères de mise en forme, et "
562 "affiche les arguments associés avec chaque format correspondant au type "
563 "indiqué."
564
565 #. type: Plain text
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 #, no-wrap
569 msgid ""
570 "#include E<lt>stdio.hE<gt>\n"
571 "#include E<lt>stdarg.hE<gt>\n"
572 "\\&\n"
573 "void\n"
574 "foo(char *fmt, ...) /* \\[aq]...\\[aq] is C syntax for a variadic function */\n"
575 "\\&\n"
576 "{\n"
577 " va_list ap;\n"
578 " int d;\n"
579 " char c;\n"
580 " char *s;\n"
581 "\\&\n"
582 " va_start(ap, fmt);\n"
583 " while (*fmt)\n"
584 " switch (*fmt++) {\n"
585 " case \\[aq]s\\[aq]: /* string */\n"
586 " s = va_arg(ap, char *);\n"
587 " printf(\"string %s\\[rs]n\", s);\n"
588 " break;\n"
589 " case \\[aq]d\\[aq]: /* int */\n"
590 " d = va_arg(ap, int);\n"
591 " printf(\"int %d\\[rs]n\", d);\n"
592 " break;\n"
593 " case \\[aq]c\\[aq]: /* char */\n"
594 " /* need a cast here since va_arg only\n"
595 " takes fully promoted types */\n"
596 " c = (char) va_arg(ap, int);\n"
597 " printf(\"char %c\\[rs]n\", c);\n"
598 " break;\n"
599 " }\n"
600 " va_end(ap);\n"
601 "}\n"
602 msgstr ""
603 "#include E<lt>stdio.hE<gt>\n"
604 "#include E<lt>stdarg.hE<gt>\n"
605 "\\&\n"
606 "void\n"
607 "foo(char *fmt, ...) /* \\[aq]...\\[aq] est la syntaxe C des fonctions variadiques */\n"
608 "\\&\n"
609 "{\n"
610 " va_list ap;\n"
611 " int d;\n"
612 " char c;\n"
613 " char *s;\n"
614 "\\&\n"
615 " va_start(ap, fmt);\n"
616 " while (*fmt)\n"
617 " switch (*fmt++) {\n"
618 " case \\[aq]s\\[aq]: /* chaîne */\n"
619 " s = va_arg(ap, char *);\n"
620 " printf(\"string %s\\[rs]n\", s);\n"
621 " break;\n"
622 " case \\[aq]d\\[aq]: /* entier */\n"
623 " d = va_arg(ap, int);\n"
624 " printf(\"int %d\\[rs]n\", d);\n"
625 " break;\n"
626 " case \\[aq]c\\[aq]: /* caractère */\n"
627 " /* il faut une conversion de type ici\n"
628 " puisque va_arg ne prend que des\n"
629 " types entièrement promus */\n"
630 " c = (char) va_arg(ap, int);\n"
631 " printf(\"char %c\\[rs]n\", c);\n"
632 " break;\n"
633 " }\n"
634 " va_end(ap);\n"
635 "}\n"
636
637 #. type: SH
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 #, no-wrap
641 msgid "SEE ALSO"
642 msgstr "VOIR AUSSI"
643
644 #. type: Plain text
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 msgid "B<vprintf>(3), B<vscanf>(3), B<vsyslog>(3)"
648 msgstr "B<vprintf>(3), B<vscanf>(3), B<vsyslog>(3)"
649
650 #. type: TH
651 #: debian-trixie
652 #, no-wrap
653 msgid "2024-06-15"
654 msgstr "15 juin 2024"
655
656 #. type: TH
657 #: debian-trixie
658 #, no-wrap
659 msgid "Linux man-pages 6.9.1"
660 msgstr "Pages du manuel de Linux 6.9.1"
661
662 #. type: Plain text
663 #: debian-trixie
664 msgid "Standard C library (I<libc>, I<-lc>)"
665 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
666
667 #. type: TH
668 #: fedora-44 fedora-rawhide
669 #, no-wrap
670 msgid "2024-07-23"
671 msgstr "23 juillet 2024"
672
673 #. type: TH
674 #: fedora-44 fedora-rawhide
675 #, no-wrap
676 msgid "Linux man-pages 6.13"
677 msgstr "Pages du manuel de Linux 6.13"
678
679 #. type: TH
680 #: mageia-cauldron
681 #, no-wrap
682 msgid "Linux man-pages 6.17"
683 msgstr "Pages du manuel 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 "Pages du manuel de Linux (non publiées)"