Debian Codegraph @

po/fr/man3/insque.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.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012.
18 # Jean-Baptiste Holcroft <[email protected]>, 2018.
19 # Grégoire Scano <[email protected]>, 2019.
20 msgid ""
21 msgstr ""
22 "Project-Id-Version: manpages-l10n 4.22.0\n"
23 "POT-Creation-Date: 2026-06-05 06:27+0200\n"
24 "PO-Revision-Date: 2024-05-07 16:57+0200\n"
25 "Last-Translator: Grégoire Scano <[email protected]>\n"
26 "Language-Team: French <[email protected]>\n"
27 "Language: fr\n"
28 "MIME-Version: 1.0\n"
29 "Content-Type: text/plain; charset=UTF-8\n"
30 "Content-Transfer-Encoding: 8bit\n"
31 "Plural-Forms: nplurals=2; plural=n > 1;\n"
32 "X-Generator: Lokalize 22.12.3\n"
33
34 #. type: TH
35 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
36 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
37 #, no-wrap
38 msgid "insque"
39 msgstr "insque"
40
41 #. type: TH
42 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
43 #: opensuse-tumbleweed
44 #, no-wrap
45 msgid "2026-02-08"
46 msgstr "8 février 2026"
47
48 #. type: TH
49 #: archlinux debian-unstable
50 #, no-wrap
51 msgid "Linux man-pages 6.18"
52 msgstr "Pages du manuel de Linux 6.18"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "NAME"
59 msgstr "NOM"
60
61 #. type: Plain text
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "insque, remque - insert/remove an item from a queue"
65 msgstr "insque, remque - Ajouter ou supprimer un élément d'une file"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "LIBRARY"
72 msgstr "BIBLIOTHÈQUE"
73
74 #. type: Plain text
75 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
76 #: opensuse-leap-16-1 opensuse-tumbleweed
77 msgid "Standard C library (I<libc>,\\ I<-lc>)"
78 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
79
80 #. type: SH
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "SYNOPSIS"
85 msgstr "SYNOPSIS"
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid "B<#include E<lt>search.hE<gt>>\n"
92 msgstr "B<#include E<lt>search.hE<gt>>\n"
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid ""
99 "B<void insque(void *>I<elem>B<, void *>I<prev>B<);>\n"
100 "B<void remque(void *>I<elem>B<);>\n"
101 msgstr ""
102 "B<void insque(void *>I<elem>B<, void *>I<prev>B<);>\n"
103 "B<void remque(void *>I<elem>B<);>\n"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid ""
109 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
110 msgstr ""
111 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
112 "B<feature_test_macros>(7)) :"
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 "B<insque>(), B<remque>():"
118 msgstr "B<insque>(), B<remque>() :"
119
120 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid ""
126 " _XOPEN_SOURCE E<gt>= 500\n"
127 " || /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n"
128 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE\n"
129 msgstr ""
130 " _XOPEN_SOURCE E<gt>= 500\n"
131 " || /* glibc E<gt>= 2.19 : */ _DEFAULT_SOURCE\n"
132 " || /* glibc E<lt>= 2.19 : */ _SVID_SOURCE\n"
133
134 #. type: SH
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 #, no-wrap
138 msgid "DESCRIPTION"
139 msgstr "DESCRIPTION"
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid ""
145 "The B<insque>() and B<remque>() functions manipulate doubly linked lists. "
146 "Each element in the list is a structure of which the first two elements are "
147 "a forward and a backward pointer. The linked list may be linear (i.e., NULL "
148 "forward pointer at the end of the list and NULL backward pointer at the "
149 "start of the list) or circular."
150 msgstr ""
151 "Les fonctions B<insque>() et B<remque>() manipulent une liste doublement "
152 "chaînée. Chaque élément de cette liste est une structure dont les deux "
153 "premiers éléments sont des pointeurs avant et arrière. La liste peut être "
154 "linéaire (c'est-à-dire que l'élément en fin de liste a un pointeur avant à "
155 "NULL, et l'élément en début de liste a un pointeur arrière à NULL) ou "
156 "circulaire."
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid ""
162 "The B<insque>() function inserts the element pointed to by I<elem> "
163 "immediately after the element pointed to by I<prev>."
164 msgstr ""
165 "B<insque>() insère l'élément pointé par I<elem> immédiatement après "
166 "l'élément pointé par I<prev>."
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "If the list is linear, then the call I<insque(elem, NULL)> can be used to "
173 "insert the initial list element, and the call sets the forward and backward "
174 "pointers of I<elem> to NULL."
175 msgstr ""
176 "Si la liste est linéaire, alors l'appel I<insque(elem, NULL)> peut être "
177 "utilisé pour insérer l'élément initial de la liste et l'appel définit les "
178 "pointeurs avant et arrière à NULL."
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "If the list is circular, the caller should ensure that the forward and "
185 "backward pointers of the first element are initialized to point to that "
186 "element, and the I<prev> argument of the B<insque>() call should also point "
187 "to the element."
188 msgstr ""
189 "Si la liste est circulaire, l'appelant doit s'assurer que les pointeurs "
190 "avant et arrière du premier élément sont initialisés pour pointer vers cet "
191 "élément, et que l'argument I<prev> de B<insque>() doit aussi pointer vers "
192 "cet élément."
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "The B<remque>() function removes the element pointed to by I<elem> from the "
199 "doubly linked list."
200 msgstr ""
201 "B<remque>() supprime l'élément pointé par I<elem> de la liste doublement "
202 "chaînée."
203
204 #. type: SH
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "ATTRIBUTES"
209 msgstr "ATTRIBUTS"
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid ""
215 "For an explanation of the terms used in this section, see B<attributes>(7)."
216 msgstr ""
217 "Pour une explication des termes utilisés dans cette section, consulter "
218 "B<attributes>(7)."
219
220 #. type: tbl table
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, no-wrap
224 msgid "Interface"
225 msgstr "Interface"
226
227 #. type: tbl table
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "Attribute"
232 msgstr "Attribut"
233
234 #. type: tbl table
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "Value"
239 msgstr "Valeur"
240
241 #. type: tbl table
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid ".na\n"
246 msgstr ".na\n"
247
248 #. type: tbl table
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid ".nh\n"
253 msgstr ".nh\n"
254
255 #. type: tbl table
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid ""
260 "B<insque>(),\n"
261 "B<remque>()"
262 msgstr ""
263 "B<insque>(),\n"
264 "B<remque>()"
265
266 #. type: tbl table
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "Thread safety"
271 msgstr "Sécurité des threads"
272
273 #. type: tbl table
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "MT-Safe"
278 msgstr "MT-Safe"
279
280 #. type: SH
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "VERSIONS"
285 msgstr "VERSIONS"
286
287 #. e.g., SunOS, Linux libc4 and libc5
288 #. type: Plain text
289 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
290 #: opensuse-tumbleweed
291 msgid ""
292 "On ancient systems, the arguments of these functions were of type I<struct\\ "
293 "qelem\\ *>, defined as:"
294 msgstr ""
295 "Sur d'anciens systèmes, les paramètres de ces fonctions étaient du type "
296 "I<struct\\ qelem\\ *>, défini comme ceci\\ :"
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid ""
303 "struct qelem {\n"
304 " struct qelem *q_forw;\n"
305 " struct qelem *q_back;\n"
306 " char q_data[1];\n"
307 "};\n"
308 msgstr ""
309 "struct qelem {\n"
310 " struct qelem *q_forw;\n"
311 " struct qelem *q_back;\n"
312 " char q_data[1];\n"
313 "};\n"
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid ""
319 "This is still what you will get if B<_GNU_SOURCE> is defined before "
320 "including I<E<lt>search.hE<gt>>."
321 msgstr ""
322 "C'est ce que vous obtiendrez si B<_GNU_SOURCE> est définie avant l'inclusion "
323 "de I<E<lt>search.hE<gt>>."
324
325 #. #-#-#-#-# archlinux: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
326 #. Linux libc4 and libc 5 placed them in
327 #. .IR <stdlib.h> .
328 #. type: Plain text
329 #. #-#-#-#-# debian-trixie: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
330 #. Linux libc4 and libc 5 placed them
331 #. in \fI<stdlib.h>\fP.
332 #. type: Plain text
333 #. #-#-#-#-# debian-unstable: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
334 #. Linux libc4 and libc 5 placed them in
335 #. .IR <stdlib.h> .
336 #. type: Plain text
337 #. #-#-#-#-# fedora-44: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
338 #. Linux libc4 and libc 5 placed them
339 #. in \fI<stdlib.h>\fP.
340 #. type: Plain text
341 #. #-#-#-#-# fedora-rawhide: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
342 #. Linux libc4 and libc 5 placed them
343 #. in \fI<stdlib.h>\fP.
344 #. type: Plain text
345 #. #-#-#-#-# mageia-cauldron: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
346 #. Linux libc4 and libc 5 placed them in
347 #. .IR <stdlib.h> .
348 #. type: Plain text
349 #. #-#-#-#-# opensuse-leap-16-1: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
350 #. Linux libc4 and libc 5 placed them in
351 #. .IR <stdlib.h> .
352 #. type: Plain text
353 #. #-#-#-#-# opensuse-tumbleweed: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
354 #. Linux libc4 and libc 5 placed them in
355 #. .IR <stdlib.h> .
356 #. type: Plain text
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 msgid ""
360 "The location of the prototypes for these functions differs among several "
361 "versions of UNIX. The above is the POSIX version. Some systems place them "
362 "in I<E<lt>string.hE<gt>>."
363 msgstr ""
364 "L'emplacement des prototypes de ces fonctions varie suivant les différentes "
365 "versions d'UNIX. Celui précisé ci-dessus correspond à la version POSIX. "
366 "Certains systèmes les placent dans I<E<lt>string.hE<gt>>."
367
368 #. type: SH
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "STANDARDS"
373 msgstr "NORMES"
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid "POSIX.1-2008."
379 msgstr "POSIX.1-2008."
380
381 #. type: SH
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, no-wrap
385 msgid "HISTORY"
386 msgstr "HISTORIQUE"
387
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 msgid "POSIX.1-2001."
392 msgstr "POSIX.1-2001."
393
394 #. type: SH
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 #, no-wrap
398 msgid "BUGS"
399 msgstr "BOGUES"
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 msgid ""
405 "In glibc 2.4 and earlier, it was not possible to specify I<prev> as NULL. "
406 "Consequently, to build a linear list, the caller had to build a list using "
407 "an initial call that contained the first two elements of the list, with the "
408 "forward and backward pointers in each element suitably initialized."
409 msgstr ""
410 "Dans la glibc 2.4 et les versions précédentes, il n'était pas possible de "
411 "spécifier I<prev> à NULL. En conséquence, pour construire une liste "
412 "linéaire, l'appelant devait construire une liste avec un appel initial "
413 "contenant les deux premiers éléments de la liste, avec les pointeurs avant "
414 "et arrière correctement définis pour chaque élément."
415
416 #. type: SH
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "EXAMPLES"
421 msgstr "EXEMPLES"
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid ""
427 "The program below demonstrates the use of B<insque>(). Here is an example "
428 "run of the program:"
429 msgstr ""
430 "Le programme suivant montre une utilisation de B<insque>(). Ci-dessous la "
431 "sortie de l'exécution du programme :"
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid ""
438 "$ B<./a.out -c a b c>\n"
439 "Traversing completed list:\n"
440 " a\n"
441 " b\n"
442 " c\n"
443 "That was a circular list\n"
444 msgstr ""
445 "$ B<./a.out -c a b c>\n"
446 "Traversing completed list:\n"
447 " a\n"
448 " b\n"
449 " c\n"
450 "That was a circular list\n"
451
452 #. type: SS
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, no-wrap
456 msgid "Program source"
457 msgstr "Source du programme"
458
459 #. type: Plain text
460 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
461 #: opensuse-tumbleweed
462 #, fuzzy, no-wrap
463 #| msgid ""
464 #| "#include E<lt>search.hE<gt>\n"
465 #| "#include E<lt>stdio.hE<gt>\n"
466 #| "#include E<lt>stdlib.hE<gt>\n"
467 #| "#include E<lt>unistd.hE<gt>\n"
468 #| "\\&\n"
469 #| "struct element {\n"
470 #| " struct element *forward;\n"
471 #| " struct element *backward;\n"
472 #| " char *name;\n"
473 #| "};\n"
474 #| "\\&\n"
475 #| "static struct element *\n"
476 #| "new_element(void)\n"
477 #| "{\n"
478 #| " struct element *e;\n"
479 #| "\\&\n"
480 #| " e = malloc(sizeof(*e));\n"
481 #| " if (e == NULL) {\n"
482 #| " fprintf(stderr, \"malloc() failed\\en\");\n"
483 #| " exit(EXIT_FAILURE);\n"
484 #| " }\n"
485 #| "\\&\n"
486 #| " return e;\n"
487 #| "}\n"
488 #| "\\&\n"
489 #| "int\n"
490 #| "main(int argc, char *argv[])\n"
491 #| "{\n"
492 #| " struct element *first, *elem, *prev;\n"
493 #| " int circular, opt, errfnd;\n"
494 #| "\\&\n"
495 #| " /* The \"-c\" command-line option can be used to specify that the\n"
496 #| " list is circular. */\n"
497 #| "\\&\n"
498 #| " errfnd = 0;\n"
499 #| " circular = 0;\n"
500 #| " while ((opt = getopt(argc, argv, \"c\")) != -1) {\n"
501 #| " switch (opt) {\n"
502 #| " case \\[aq]c\\[aq]:\n"
503 #| " circular = 1;\n"
504 #| " break;\n"
505 #| " default:\n"
506 #| " errfnd = 1;\n"
507 #| " break;\n"
508 #| " }\n"
509 #| " }\n"
510 #| "\\&\n"
511 #| " if (errfnd || optind E<gt>= argc) {\n"
512 #| " fprintf(stderr, \"Usage: %s [-c] string...\\en\", argv[0]);\n"
513 #| " exit(EXIT_FAILURE);\n"
514 #| " }\n"
515 #| "\\&\n"
516 #| " /* Create first element and place it in the linked list. */\n"
517 #| "\\&\n"
518 #| " elem = new_element();\n"
519 #| " first = elem;\n"
520 #| "\\&\n"
521 #| " elem-E<gt>name = argv[optind];\n"
522 #| "\\&\n"
523 #| " if (circular) {\n"
524 #| " elem-E<gt>forward = elem;\n"
525 #| " elem-E<gt>backward = elem;\n"
526 #| " insque(elem, elem);\n"
527 #| " } else {\n"
528 #| " insque(elem, NULL);\n"
529 #| " }\n"
530 #| "\\&\n"
531 #| " /* Add remaining command-line arguments as list elements. */\n"
532 #| "\\&\n"
533 #| " while (++optind E<lt> argc) {\n"
534 #| " prev = elem;\n"
535 #| "\\&\n"
536 #| " elem = new_element();\n"
537 #| " elem-E<gt>name = argv[optind];\n"
538 #| " insque(elem, prev);\n"
539 #| " }\n"
540 #| "\\&\n"
541 #| " /* Traverse the list from the start, printing element names. */\n"
542 #| "\\&\n"
543 #| " printf(\"Traversing completed list:\\en\");\n"
544 #| " elem = first;\n"
545 #| " do {\n"
546 #| " printf(\" %s\\en\", elem-E<gt>name);\n"
547 #| " elem = elem-E<gt>forward;\n"
548 #| " } while (elem != NULL && elem != first);\n"
549 #| "\\&\n"
550 #| " if (elem == first)\n"
551 #| " printf(\"That was a circular list\\en\");\n"
552 #| "\\&\n"
553 #| " exit(EXIT_SUCCESS);\n"
554 #| "}\n"
555 msgid ""
556 "#include E<lt>search.hE<gt>\n"
557 "#include E<lt>stdio.hE<gt>\n"
558 "#include E<lt>stdlib.hE<gt>\n"
559 "#include E<lt>unistd.hE<gt>\n"
560 "\\&\n"
561 "struct element {\n"
562 " struct element *forward;\n"
563 " struct element *backward;\n"
564 " char *name;\n"
565 "};\n"
566 "\\&\n"
567 "static struct element *\n"
568 "new_element(void)\n"
569 "{\n"
570 " struct element *e;\n"
571 "\\&\n"
572 " e = malloc(sizeof(*e));\n"
573 " if (e == NULL) {\n"
574 " fprintf(stderr, \"malloc() failed\\[rs]n\");\n"
575 " exit(EXIT_FAILURE);\n"
576 " }\n"
577 "\\&\n"
578 " return e;\n"
579 "}\n"
580 "\\&\n"
581 "int\n"
582 "main(int argc, char *argv[])\n"
583 "{\n"
584 " struct element *first, *elem, *prev;\n"
585 " int circular, opt, errfnd;\n"
586 "\\&\n"
587 " /* The \"-c\" command-line option can be used to specify that the\n"
588 " list is circular. */\n"
589 "\\&\n"
590 " errfnd = 0;\n"
591 " circular = 0;\n"
592 " while ((opt = getopt(argc, argv, \"c\")) != -1) {\n"
593 " switch (opt) {\n"
594 " case \\[aq]c\\[aq]:\n"
595 " circular = 1;\n"
596 " break;\n"
597 " default:\n"
598 " errfnd = 1;\n"
599 " break;\n"
600 " }\n"
601 " }\n"
602 "\\&\n"
603 " if (errfnd || optind E<gt>= argc) {\n"
604 " fprintf(stderr, \"Usage: %s [-c] string...\\[rs]n\", argv[0]);\n"
605 " exit(EXIT_FAILURE);\n"
606 " }\n"
607 "\\&\n"
608 " /* Create first element and place it in the linked list. */\n"
609 "\\&\n"
610 " elem = new_element();\n"
611 " first = elem;\n"
612 "\\&\n"
613 " elem-E<gt>name = argv[optind];\n"
614 "\\&\n"
615 " if (circular) {\n"
616 " elem-E<gt>forward = elem;\n"
617 " elem-E<gt>backward = elem;\n"
618 " insque(elem, elem);\n"
619 " } else {\n"
620 " insque(elem, NULL);\n"
621 " }\n"
622 "\\&\n"
623 " /* Add remaining command-line arguments as list elements. */\n"
624 "\\&\n"
625 " while (++optind E<lt> argc) {\n"
626 " prev = elem;\n"
627 "\\&\n"
628 " elem = new_element();\n"
629 " elem-E<gt>name = argv[optind];\n"
630 " insque(elem, prev);\n"
631 " }\n"
632 "\\&\n"
633 " /* Traverse the list from the start, printing element names. */\n"
634 "\\&\n"
635 " printf(\"Traversing completed list:\\[rs]n\");\n"
636 " elem = first;\n"
637 " do {\n"
638 " printf(\" %s\\[rs]n\", elem-E<gt>name);\n"
639 " elem = elem-E<gt>forward;\n"
640 " } while (elem != NULL && elem != first);\n"
641 "\\&\n"
642 " if (elem == first)\n"
643 " printf(\"That was a circular list\\[rs]n\");\n"
644 "\\&\n"
645 " exit(EXIT_SUCCESS);\n"
646 "}\n"
647 msgstr ""
648 "#include E<lt>search.hE<gt>\n"
649 "#include E<lt>stdio.hE<gt>\n"
650 "#include E<lt>stdlib.hE<gt>\n"
651 "#include E<lt>unistd.hE<gt>\n"
652 "\\&\n"
653 "struct element {\n"
654 " struct element *forward;\n"
655 " struct element *backward;\n"
656 " char *name;\n"
657 "};\n"
658 "\\&\n"
659 "static struct element *\n"
660 "new_element(void)\n"
661 "{\n"
662 " struct element *e;\n"
663 "\\&\n"
664 " e = malloc(sizeof(*e));\n"
665 " if (e == NULL) {\n"
666 " fprintf(stderr, \"malloc() failed\\en\");\n"
667 " exit(EXIT_FAILURE);\n"
668 " }\n"
669 "\\&\n"
670 " return e;\n"
671 "}\n"
672 "\\&\n"
673 "int\n"
674 "main(int argc, char *argv[])\n"
675 "{\n"
676 " struct element *first, *elem, *prev;\n"
677 " int circular, opt, errfnd;\n"
678 "\\&\n"
679 " /* The \"-c\" command-line option can be used to specify that the\n"
680 " list is circular. */\n"
681 "\\&\n"
682 " errfnd = 0;\n"
683 " circular = 0;\n"
684 " while ((opt = getopt(argc, argv, \"c\")) != -1) {\n"
685 " switch (opt) {\n"
686 " case \\[aq]c\\[aq]:\n"
687 " circular = 1;\n"
688 " break;\n"
689 " default:\n"
690 " errfnd = 1;\n"
691 " break;\n"
692 " }\n"
693 " }\n"
694 "\\&\n"
695 " if (errfnd || optind E<gt>= argc) {\n"
696 " fprintf(stderr, \"Usage: %s [-c] string...\\en\", argv[0]);\n"
697 " exit(EXIT_FAILURE);\n"
698 " }\n"
699 "\\&\n"
700 " /* Create first element and place it in the linked list. */\n"
701 "\\&\n"
702 " elem = new_element();\n"
703 " first = elem;\n"
704 "\\&\n"
705 " elem-E<gt>name = argv[optind];\n"
706 "\\&\n"
707 " if (circular) {\n"
708 " elem-E<gt>forward = elem;\n"
709 " elem-E<gt>backward = elem;\n"
710 " insque(elem, elem);\n"
711 " } else {\n"
712 " insque(elem, NULL);\n"
713 " }\n"
714 "\\&\n"
715 " /* Add remaining command-line arguments as list elements. */\n"
716 "\\&\n"
717 " while (++optind E<lt> argc) {\n"
718 " prev = elem;\n"
719 "\\&\n"
720 " elem = new_element();\n"
721 " elem-E<gt>name = argv[optind];\n"
722 " insque(elem, prev);\n"
723 " }\n"
724 "\\&\n"
725 " /* Traverse the list from the start, printing element names. */\n"
726 "\\&\n"
727 " printf(\"Traversing completed list:\\en\");\n"
728 " elem = first;\n"
729 " do {\n"
730 " printf(\" %s\\en\", elem-E<gt>name);\n"
731 " elem = elem-E<gt>forward;\n"
732 " } while (elem != NULL && elem != first);\n"
733 "\\&\n"
734 " if (elem == first)\n"
735 " printf(\"That was a circular list\\en\");\n"
736 "\\&\n"
737 " exit(EXIT_SUCCESS);\n"
738 "}\n"
739
740 #. SRC END
741 #. type: SH
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 #, no-wrap
745 msgid "SEE ALSO"
746 msgstr "VOIR AUSSI"
747
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 msgid "B<queue>(7)"
752 msgstr "B<queue>(7)"
753
754 #. type: TH
755 #: debian-trixie
756 #, no-wrap
757 msgid "2024-06-15"
758 msgstr "15 juin 2024"
759
760 #. type: TH
761 #: debian-trixie
762 #, no-wrap
763 msgid "Linux man-pages 6.9.1"
764 msgstr "Pages du manuel de Linux 6.9.1"
765
766 #. type: Plain text
767 #: debian-trixie
768 msgid "Standard C library (I<libc>, I<-lc>)"
769 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
770
771 #. e.g., SunOS, Linux libc4 and libc5
772 #. type: Plain text
773 #: debian-trixie fedora-44 fedora-rawhide
774 msgid ""
775 "On ancient systems, the arguments of these functions were of type I<struct "
776 "qelem *>, defined as:"
777 msgstr ""
778 "Sur d'anciens systèmes, les paramètres de ces fonctions étaient du type "
779 "I<struct qelem *>, défini comme ceci\\ :"
780
781 #. type: Plain text
782 #: debian-trixie fedora-44 fedora-rawhide
783 #, fuzzy, no-wrap
784 #| msgid ""
785 #| "#include E<lt>search.hE<gt>\n"
786 #| "#include E<lt>stdio.hE<gt>\n"
787 #| "#include E<lt>stdlib.hE<gt>\n"
788 #| "#include E<lt>unistd.hE<gt>\n"
789 #| "\\&\n"
790 #| "struct element {\n"
791 #| " struct element *forward;\n"
792 #| " struct element *backward;\n"
793 #| " char *name;\n"
794 #| "};\n"
795 #| "\\&\n"
796 #| "static struct element *\n"
797 #| "new_element(void)\n"
798 #| "{\n"
799 #| " struct element *e;\n"
800 #| "\\&\n"
801 #| " e = malloc(sizeof(*e));\n"
802 #| " if (e == NULL) {\n"
803 #| " fprintf(stderr, \"malloc() failed\\en\");\n"
804 #| " exit(EXIT_FAILURE);\n"
805 #| " }\n"
806 #| "\\&\n"
807 #| " return e;\n"
808 #| "}\n"
809 #| "\\&\n"
810 #| "int\n"
811 #| "main(int argc, char *argv[])\n"
812 #| "{\n"
813 #| " struct element *first, *elem, *prev;\n"
814 #| " int circular, opt, errfnd;\n"
815 #| "\\&\n"
816 #| " /* The \"-c\" command-line option can be used to specify that the\n"
817 #| " list is circular. */\n"
818 #| "\\&\n"
819 #| " errfnd = 0;\n"
820 #| " circular = 0;\n"
821 #| " while ((opt = getopt(argc, argv, \"c\")) != -1) {\n"
822 #| " switch (opt) {\n"
823 #| " case \\[aq]c\\[aq]:\n"
824 #| " circular = 1;\n"
825 #| " break;\n"
826 #| " default:\n"
827 #| " errfnd = 1;\n"
828 #| " break;\n"
829 #| " }\n"
830 #| " }\n"
831 #| "\\&\n"
832 #| " if (errfnd || optind E<gt>= argc) {\n"
833 #| " fprintf(stderr, \"Usage: %s [-c] string...\\en\", argv[0]);\n"
834 #| " exit(EXIT_FAILURE);\n"
835 #| " }\n"
836 #| "\\&\n"
837 #| " /* Create first element and place it in the linked list. */\n"
838 #| "\\&\n"
839 #| " elem = new_element();\n"
840 #| " first = elem;\n"
841 #| "\\&\n"
842 #| " elem-E<gt>name = argv[optind];\n"
843 #| "\\&\n"
844 #| " if (circular) {\n"
845 #| " elem-E<gt>forward = elem;\n"
846 #| " elem-E<gt>backward = elem;\n"
847 #| " insque(elem, elem);\n"
848 #| " } else {\n"
849 #| " insque(elem, NULL);\n"
850 #| " }\n"
851 #| "\\&\n"
852 #| " /* Add remaining command-line arguments as list elements. */\n"
853 #| "\\&\n"
854 #| " while (++optind E<lt> argc) {\n"
855 #| " prev = elem;\n"
856 #| "\\&\n"
857 #| " elem = new_element();\n"
858 #| " elem-E<gt>name = argv[optind];\n"
859 #| " insque(elem, prev);\n"
860 #| " }\n"
861 #| "\\&\n"
862 #| " /* Traverse the list from the start, printing element names. */\n"
863 #| "\\&\n"
864 #| " printf(\"Traversing completed list:\\en\");\n"
865 #| " elem = first;\n"
866 #| " do {\n"
867 #| " printf(\" %s\\en\", elem-E<gt>name);\n"
868 #| " elem = elem-E<gt>forward;\n"
869 #| " } while (elem != NULL && elem != first);\n"
870 #| "\\&\n"
871 #| " if (elem == first)\n"
872 #| " printf(\"That was a circular list\\en\");\n"
873 #| "\\&\n"
874 #| " exit(EXIT_SUCCESS);\n"
875 #| "}\n"
876 msgid ""
877 "#include E<lt>search.hE<gt>\n"
878 "#include E<lt>stdio.hE<gt>\n"
879 "#include E<lt>stdlib.hE<gt>\n"
880 "#include E<lt>unistd.hE<gt>\n"
881 "\\&\n"
882 "struct element {\n"
883 " struct element *forward;\n"
884 " struct element *backward;\n"
885 " char *name;\n"
886 "};\n"
887 "\\&\n"
888 "static struct element *\n"
889 "new_element(void)\n"
890 "{\n"
891 " struct element *e;\n"
892 "\\&\n"
893 " e = malloc(sizeof(*e));\n"
894 " if (e == NULL) {\n"
895 " fprintf(stderr, \"malloc() failed\\[rs]n\");\n"
896 " exit(EXIT_FAILURE);\n"
897 " }\n"
898 "\\&\n"
899 " return e;\n"
900 "}\n"
901 "\\&\n"
902 "int\n"
903 "main(int argc, char *argv[])\n"
904 "{\n"
905 " struct element *first, *elem, *prev;\n"
906 " int circular, opt, errfnd;\n"
907 "\\&\n"
908 " /* The \"-c\" command-line option can be used to specify that the\n"
909 " list is circular. */\n"
910 "\\&\n"
911 " errfnd = 0;\n"
912 " circular = 0;\n"
913 " while ((opt = getopt(argc, argv, \"c\")) != -1) {\n"
914 " switch (opt) {\n"
915 " case \\[aq]c\\[aq]:\n"
916 " circular = 1;\n"
917 " break;\n"
918 " default:\n"
919 " errfnd = 1;\n"
920 " break;\n"
921 " }\n"
922 " }\n"
923 "\\&\n"
924 " if (errfnd || optind E<gt>= argc) {\n"
925 " fprintf(stderr, \"Usage: %s [-c] string...\\[rs]n\", argv[0]);\n"
926 " exit(EXIT_FAILURE);\n"
927 " }\n"
928 "\\&\n"
929 " /* Create first element and place it in the linked list. */\n"
930 "\\&\n"
931 " elem = new_element();\n"
932 " first = elem;\n"
933 "\\&\n"
934 " elem-E<gt>name = argv[optind];\n"
935 "\\&\n"
936 " if (circular) {\n"
937 " elem-E<gt>forward = elem;\n"
938 " elem-E<gt>backward = elem;\n"
939 " insque(elem, elem);\n"
940 " } else {\n"
941 " insque(elem, NULL);\n"
942 " }\n"
943 "\\&\n"
944 " /* Add remaining command-line arguments as list elements. */\n"
945 "\\&\n"
946 " while (++optind E<lt> argc) {\n"
947 " prev = elem;\n"
948 "\\&\n"
949 " elem = new_element();\n"
950 " elem-E<gt>name = argv[optind];\n"
951 " insque(elem, prev);\n"
952 " }\n"
953 "\\&\n"
954 " /* Traverse the list from the start, printing element names. */\n"
955 "\\&\n"
956 " printf(\"Traversing completed list:\\[rs]n\");\n"
957 " elem = first;\n"
958 " do {\n"
959 " printf(\" %s\\[rs]n\", elem-E<gt>name);\n"
960 " elem = elem-E<gt>forward;\n"
961 " } while (elem != NULL && elem != first);\n"
962 "\\&\n"
963 " if (elem == first)\n"
964 " printf(\"That was a circular list\\[rs]n\");\n"
965 "\\&\n"
966 " exit(EXIT_SUCCESS);\n"
967 "}\n"
968 msgstr ""
969 "#include E<lt>search.hE<gt>\n"
970 "#include E<lt>stdio.hE<gt>\n"
971 "#include E<lt>stdlib.hE<gt>\n"
972 "#include E<lt>unistd.hE<gt>\n"
973 "\\&\n"
974 "struct element {\n"
975 " struct element *forward;\n"
976 " struct element *backward;\n"
977 " char *name;\n"
978 "};\n"
979 "\\&\n"
980 "static struct element *\n"
981 "new_element(void)\n"
982 "{\n"
983 " struct element *e;\n"
984 "\\&\n"
985 " e = malloc(sizeof(*e));\n"
986 " if (e == NULL) {\n"
987 " fprintf(stderr, \"malloc() failed\\en\");\n"
988 " exit(EXIT_FAILURE);\n"
989 " }\n"
990 "\\&\n"
991 " return e;\n"
992 "}\n"
993 "\\&\n"
994 "int\n"
995 "main(int argc, char *argv[])\n"
996 "{\n"
997 " struct element *first, *elem, *prev;\n"
998 " int circular, opt, errfnd;\n"
999 "\\&\n"
1000 " /* The \"-c\" command-line option can be used to specify that the\n"
1001 " list is circular. */\n"
1002 "\\&\n"
1003 " errfnd = 0;\n"
1004 " circular = 0;\n"
1005 " while ((opt = getopt(argc, argv, \"c\")) != -1) {\n"
1006 " switch (opt) {\n"
1007 " case \\[aq]c\\[aq]:\n"
1008 " circular = 1;\n"
1009 " break;\n"
1010 " default:\n"
1011 " errfnd = 1;\n"
1012 " break;\n"
1013 " }\n"
1014 " }\n"
1015 "\\&\n"
1016 " if (errfnd || optind E<gt>= argc) {\n"
1017 " fprintf(stderr, \"Usage: %s [-c] string...\\en\", argv[0]);\n"
1018 " exit(EXIT_FAILURE);\n"
1019 " }\n"
1020 "\\&\n"
1021 " /* Create first element and place it in the linked list. */\n"
1022 "\\&\n"
1023 " elem = new_element();\n"
1024 " first = elem;\n"
1025 "\\&\n"
1026 " elem-E<gt>name = argv[optind];\n"
1027 "\\&\n"
1028 " if (circular) {\n"
1029 " elem-E<gt>forward = elem;\n"
1030 " elem-E<gt>backward = elem;\n"
1031 " insque(elem, elem);\n"
1032 " } else {\n"
1033 " insque(elem, NULL);\n"
1034 " }\n"
1035 "\\&\n"
1036 " /* Add remaining command-line arguments as list elements. */\n"
1037 "\\&\n"
1038 " while (++optind E<lt> argc) {\n"
1039 " prev = elem;\n"
1040 "\\&\n"
1041 " elem = new_element();\n"
1042 " elem-E<gt>name = argv[optind];\n"
1043 " insque(elem, prev);\n"
1044 " }\n"
1045 "\\&\n"
1046 " /* Traverse the list from the start, printing element names. */\n"
1047 "\\&\n"
1048 " printf(\"Traversing completed list:\\en\");\n"
1049 " elem = first;\n"
1050 " do {\n"
1051 " printf(\" %s\\en\", elem-E<gt>name);\n"
1052 " elem = elem-E<gt>forward;\n"
1053 " } while (elem != NULL && elem != first);\n"
1054 "\\&\n"
1055 " if (elem == first)\n"
1056 " printf(\"That was a circular list\\en\");\n"
1057 "\\&\n"
1058 " exit(EXIT_SUCCESS);\n"
1059 "}\n"
1060
1061 #. type: TH
1062 #: fedora-44 fedora-rawhide
1063 #, no-wrap
1064 msgid "2024-07-23"
1065 msgstr "23 juillet 2024"
1066
1067 #. type: TH
1068 #: fedora-44 fedora-rawhide
1069 #, no-wrap
1070 msgid "Linux man-pages 6.13"
1071 msgstr "Pages du manuel de Linux 6.13"
1072
1073 #. type: TH
1074 #: mageia-cauldron
1075 #, no-wrap
1076 msgid "Linux man-pages 6.17"
1077 msgstr "Pages du manuel de Linux 6.17"
1078
1079 #. type: TH
1080 #: opensuse-leap-16-1 opensuse-tumbleweed
1081 #, no-wrap
1082 msgid "Linux man-pages (unreleased)"
1083 msgstr "Pages du manuel de Linux (non publiées)"