Debian Codegraph @

templates/man3/insque.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:27+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\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 "insque"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "insque, remque - insert/remove an item from a queue"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>search.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<void insque(void *>I<elem>B<, void *>I<prev>B<);>\n"
85 "B<void remque(void *>I<elem>B<);>\n"
86 msgstr ""
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 msgid ""
92 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
93 msgstr ""
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 msgid "B<insque>(), B<remque>():"
99 msgstr ""
100
101 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 #, no-wrap
106 msgid ""
107 " _XOPEN_SOURCE E<gt>= 500\n"
108 " || /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n"
109 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE\n"
110 msgstr ""
111
112 #. type: SH
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 #, no-wrap
116 msgid "DESCRIPTION"
117 msgstr ""
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "The B<insque>() and B<remque>() functions manipulate doubly linked lists. "
124 "Each element in the list is a structure of which the first two elements are "
125 "a forward and a backward pointer. The linked list may be linear (i.e., NULL "
126 "forward pointer at the end of the list and NULL backward pointer at the "
127 "start of the list) or circular."
128 msgstr ""
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "The B<insque>() function inserts the element pointed to by I<elem> "
135 "immediately after the element pointed to by I<prev>."
136 msgstr ""
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid ""
142 "If the list is linear, then the call I<insque(elem, NULL)> can be used to "
143 "insert the initial list element, and the call sets the forward and backward "
144 "pointers of I<elem> to NULL."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "If the list is circular, the caller should ensure that the forward and "
152 "backward pointers of the first element are initialized to point to that "
153 "element, and the I<prev> argument of the B<insque>() call should also point "
154 "to the element."
155 msgstr ""
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "The B<remque>() function removes the element pointed to by I<elem> from the "
162 "doubly linked list."
163 msgstr ""
164
165 #. type: SH
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "ATTRIBUTES"
170 msgstr ""
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "For an explanation of the terms used in this section, see B<attributes>(7)."
177 msgstr ""
178
179 #. type: tbl table
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 #, no-wrap
183 msgid "Interface"
184 msgstr ""
185
186 #. type: tbl table
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "Attribute"
191 msgstr ""
192
193 #. type: tbl table
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "Value"
198 msgstr ""
199
200 #. type: tbl table
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid ".na\n"
205 msgstr ""
206
207 #. type: tbl table
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 #, no-wrap
211 msgid ".nh\n"
212 msgstr ""
213
214 #. type: tbl table
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid ""
219 "B<insque>(),\n"
220 "B<remque>()"
221 msgstr ""
222
223 #. type: tbl table
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid "Thread safety"
228 msgstr ""
229
230 #. type: tbl table
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "MT-Safe"
235 msgstr ""
236
237 #. type: SH
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "VERSIONS"
242 msgstr ""
243
244 #. e.g., SunOS, Linux libc4 and libc5
245 #. type: Plain text
246 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
247 #: opensuse-tumbleweed
248 msgid ""
249 "On ancient systems, the arguments of these functions were of type I<struct\\ "
250 "qelem\\ *>, defined as:"
251 msgstr ""
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid ""
258 "struct qelem {\n"
259 " struct qelem *q_forw;\n"
260 " struct qelem *q_back;\n"
261 " char q_data[1];\n"
262 "};\n"
263 msgstr ""
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid ""
269 "This is still what you will get if B<_GNU_SOURCE> is defined before "
270 "including I<E<lt>search.hE<gt>>."
271 msgstr ""
272
273 #. #-#-#-#-# archlinux: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
274 #. Linux libc4 and libc 5 placed them in
275 #. .IR <stdlib.h> .
276 #. type: Plain text
277 #. #-#-#-#-# debian-trixie: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
278 #. Linux libc4 and libc 5 placed them
279 #. in \fI<stdlib.h>\fP.
280 #. type: Plain text
281 #. #-#-#-#-# debian-unstable: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
282 #. Linux libc4 and libc 5 placed them in
283 #. .IR <stdlib.h> .
284 #. type: Plain text
285 #. #-#-#-#-# fedora-44: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
286 #. Linux libc4 and libc 5 placed them
287 #. in \fI<stdlib.h>\fP.
288 #. type: Plain text
289 #. #-#-#-#-# fedora-rawhide: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
290 #. Linux libc4 and libc 5 placed them
291 #. in \fI<stdlib.h>\fP.
292 #. type: Plain text
293 #. #-#-#-#-# mageia-cauldron: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
294 #. Linux libc4 and libc 5 placed them in
295 #. .IR <stdlib.h> .
296 #. type: Plain text
297 #. #-#-#-#-# opensuse-leap-16-1: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
298 #. Linux libc4 and libc 5 placed them in
299 #. .IR <stdlib.h> .
300 #. type: Plain text
301 #. #-#-#-#-# opensuse-tumbleweed: insque.3.pot (PACKAGE VERSION) #-#-#-#-#
302 #. Linux libc4 and libc 5 placed them in
303 #. .IR <stdlib.h> .
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 "The location of the prototypes for these functions differs among several "
309 "versions of UNIX. The above is the POSIX version. Some systems place them "
310 "in I<E<lt>string.hE<gt>>."
311 msgstr ""
312
313 #. type: SH
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "STANDARDS"
318 msgstr ""
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid "POSIX.1-2008."
324 msgstr ""
325
326 #. type: SH
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "HISTORY"
331 msgstr ""
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid "POSIX.1-2001."
337 msgstr ""
338
339 #. type: SH
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "BUGS"
344 msgstr ""
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid ""
350 "In glibc 2.4 and earlier, it was not possible to specify I<prev> as NULL. "
351 "Consequently, to build a linear list, the caller had to build a list using "
352 "an initial call that contained the first two elements of the list, with the "
353 "forward and backward pointers in each element suitably initialized."
354 msgstr ""
355
356 #. type: SH
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "EXAMPLES"
361 msgstr ""
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 "The program below demonstrates the use of B<insque>(). Here is an example "
368 "run of the program:"
369 msgstr ""
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid ""
376 "$ B<./a.out -c a b c>\n"
377 "Traversing completed list:\n"
378 " a\n"
379 " b\n"
380 " c\n"
381 "That was a circular list\n"
382 msgstr ""
383
384 #. type: SS
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 #, no-wrap
388 msgid "Program source"
389 msgstr ""
390
391 #. type: Plain text
392 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
393 #: opensuse-tumbleweed
394 #, no-wrap
395 msgid ""
396 "#include E<lt>search.hE<gt>\n"
397 "#include E<lt>stdio.hE<gt>\n"
398 "#include E<lt>stdlib.hE<gt>\n"
399 "#include E<lt>unistd.hE<gt>\n"
400 "\\&\n"
401 "struct element {\n"
402 " struct element *forward;\n"
403 " struct element *backward;\n"
404 " char *name;\n"
405 "};\n"
406 "\\&\n"
407 "static struct element *\n"
408 "new_element(void)\n"
409 "{\n"
410 " struct element *e;\n"
411 "\\&\n"
412 " e = malloc(sizeof(*e));\n"
413 " if (e == NULL) {\n"
414 " fprintf(stderr, \"malloc() failed\\[rs]n\");\n"
415 " exit(EXIT_FAILURE);\n"
416 " }\n"
417 "\\&\n"
418 " return e;\n"
419 "}\n"
420 "\\&\n"
421 "int\n"
422 "main(int argc, char *argv[])\n"
423 "{\n"
424 " struct element *first, *elem, *prev;\n"
425 " int circular, opt, errfnd;\n"
426 "\\&\n"
427 " /* The \"-c\" command-line option can be used to specify that the\n"
428 " list is circular. */\n"
429 "\\&\n"
430 " errfnd = 0;\n"
431 " circular = 0;\n"
432 " while ((opt = getopt(argc, argv, \"c\")) != -1) {\n"
433 " switch (opt) {\n"
434 " case \\[aq]c\\[aq]:\n"
435 " circular = 1;\n"
436 " break;\n"
437 " default:\n"
438 " errfnd = 1;\n"
439 " break;\n"
440 " }\n"
441 " }\n"
442 "\\&\n"
443 " if (errfnd || optind E<gt>= argc) {\n"
444 " fprintf(stderr, \"Usage: %s [-c] string...\\[rs]n\", argv[0]);\n"
445 " exit(EXIT_FAILURE);\n"
446 " }\n"
447 "\\&\n"
448 " /* Create first element and place it in the linked list. */\n"
449 "\\&\n"
450 " elem = new_element();\n"
451 " first = elem;\n"
452 "\\&\n"
453 " elem-E<gt>name = argv[optind];\n"
454 "\\&\n"
455 " if (circular) {\n"
456 " elem-E<gt>forward = elem;\n"
457 " elem-E<gt>backward = elem;\n"
458 " insque(elem, elem);\n"
459 " } else {\n"
460 " insque(elem, NULL);\n"
461 " }\n"
462 "\\&\n"
463 " /* Add remaining command-line arguments as list elements. */\n"
464 "\\&\n"
465 " while (++optind E<lt> argc) {\n"
466 " prev = elem;\n"
467 "\\&\n"
468 " elem = new_element();\n"
469 " elem-E<gt>name = argv[optind];\n"
470 " insque(elem, prev);\n"
471 " }\n"
472 "\\&\n"
473 " /* Traverse the list from the start, printing element names. */\n"
474 "\\&\n"
475 " printf(\"Traversing completed list:\\[rs]n\");\n"
476 " elem = first;\n"
477 " do {\n"
478 " printf(\" %s\\[rs]n\", elem-E<gt>name);\n"
479 " elem = elem-E<gt>forward;\n"
480 " } while (elem != NULL && elem != first);\n"
481 "\\&\n"
482 " if (elem == first)\n"
483 " printf(\"That was a circular list\\[rs]n\");\n"
484 "\\&\n"
485 " exit(EXIT_SUCCESS);\n"
486 "}\n"
487 msgstr ""
488
489 #. SRC END
490 #. type: SH
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "SEE ALSO"
495 msgstr ""
496
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 msgid "B<queue>(7)"
501 msgstr ""
502
503 #. type: TH
504 #: debian-trixie
505 #, no-wrap
506 msgid "2024-06-15"
507 msgstr ""
508
509 #. type: TH
510 #: debian-trixie
511 #, no-wrap
512 msgid "Linux man-pages 6.9.1"
513 msgstr ""
514
515 #. type: Plain text
516 #: debian-trixie
517 msgid "Standard C library (I<libc>, I<-lc>)"
518 msgstr ""
519
520 #. e.g., SunOS, Linux libc4 and libc5
521 #. type: Plain text
522 #: debian-trixie fedora-44 fedora-rawhide
523 msgid ""
524 "On ancient systems, the arguments of these functions were of type I<struct "
525 "qelem *>, defined as:"
526 msgstr ""
527
528 #. type: Plain text
529 #: debian-trixie fedora-44 fedora-rawhide
530 #, no-wrap
531 msgid ""
532 "#include E<lt>search.hE<gt>\n"
533 "#include E<lt>stdio.hE<gt>\n"
534 "#include E<lt>stdlib.hE<gt>\n"
535 "#include E<lt>unistd.hE<gt>\n"
536 "\\&\n"
537 "struct element {\n"
538 " struct element *forward;\n"
539 " struct element *backward;\n"
540 " char *name;\n"
541 "};\n"
542 "\\&\n"
543 "static struct element *\n"
544 "new_element(void)\n"
545 "{\n"
546 " struct element *e;\n"
547 "\\&\n"
548 " e = malloc(sizeof(*e));\n"
549 " if (e == NULL) {\n"
550 " fprintf(stderr, \"malloc() failed\\[rs]n\");\n"
551 " exit(EXIT_FAILURE);\n"
552 " }\n"
553 "\\&\n"
554 " return e;\n"
555 "}\n"
556 "\\&\n"
557 "int\n"
558 "main(int argc, char *argv[])\n"
559 "{\n"
560 " struct element *first, *elem, *prev;\n"
561 " int circular, opt, errfnd;\n"
562 "\\&\n"
563 " /* The \"-c\" command-line option can be used to specify that the\n"
564 " list is circular. */\n"
565 "\\&\n"
566 " errfnd = 0;\n"
567 " circular = 0;\n"
568 " while ((opt = getopt(argc, argv, \"c\")) != -1) {\n"
569 " switch (opt) {\n"
570 " case \\[aq]c\\[aq]:\n"
571 " circular = 1;\n"
572 " break;\n"
573 " default:\n"
574 " errfnd = 1;\n"
575 " break;\n"
576 " }\n"
577 " }\n"
578 "\\&\n"
579 " if (errfnd || optind E<gt>= argc) {\n"
580 " fprintf(stderr, \"Usage: %s [-c] string...\\[rs]n\", argv[0]);\n"
581 " exit(EXIT_FAILURE);\n"
582 " }\n"
583 "\\&\n"
584 " /* Create first element and place it in the linked list. */\n"
585 "\\&\n"
586 " elem = new_element();\n"
587 " first = elem;\n"
588 "\\&\n"
589 " elem-E<gt>name = argv[optind];\n"
590 "\\&\n"
591 " if (circular) {\n"
592 " elem-E<gt>forward = elem;\n"
593 " elem-E<gt>backward = elem;\n"
594 " insque(elem, elem);\n"
595 " } else {\n"
596 " insque(elem, NULL);\n"
597 " }\n"
598 "\\&\n"
599 " /* Add remaining command-line arguments as list elements. */\n"
600 "\\&\n"
601 " while (++optind E<lt> argc) {\n"
602 " prev = elem;\n"
603 "\\&\n"
604 " elem = new_element();\n"
605 " elem-E<gt>name = argv[optind];\n"
606 " insque(elem, prev);\n"
607 " }\n"
608 "\\&\n"
609 " /* Traverse the list from the start, printing element names. */\n"
610 "\\&\n"
611 " printf(\"Traversing completed list:\\[rs]n\");\n"
612 " elem = first;\n"
613 " do {\n"
614 " printf(\" %s\\[rs]n\", elem-E<gt>name);\n"
615 " elem = elem-E<gt>forward;\n"
616 " } while (elem != NULL && elem != first);\n"
617 "\\&\n"
618 " if (elem == first)\n"
619 " printf(\"That was a circular list\\[rs]n\");\n"
620 "\\&\n"
621 " exit(EXIT_SUCCESS);\n"
622 "}\n"
623 msgstr ""
624
625 #. type: TH
626 #: fedora-44 fedora-rawhide
627 #, no-wrap
628 msgid "2024-07-23"
629 msgstr ""
630
631 #. type: TH
632 #: fedora-44 fedora-rawhide
633 #, no-wrap
634 msgid "Linux man-pages 6.13"
635 msgstr ""
636
637 #. type: TH
638 #: mageia-cauldron
639 #, no-wrap
640 msgid "Linux man-pages 6.17"
641 msgstr ""
642
643 #. type: TH
644 #: opensuse-leap-16-1 opensuse-tumbleweed
645 #, no-wrap
646 msgid "Linux man-pages (unreleased)"
647 msgstr ""