Debian Codegraph @

templates/man3/fts.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:25+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 "fts"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-09-21"
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 ""
50 "fts, fts_open, fts_read, fts_children, fts_set, fts_close - traverse a file "
51 "hierarchy"
52 msgstr ""
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 "LIBRARY"
59 msgstr ""
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr ""
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 "SYNOPSIS"
72 msgstr ""
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid ""
79 "B<#include E<lt>sys/types.hE<gt>>\n"
80 "B<#include E<lt>sys/stat.hE<gt>>\n"
81 "B<#include E<lt>fts.hE<gt>>\n"
82 msgstr ""
83
84 #. type: Plain text
85 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
86 #: opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid ""
89 "B<FTS *fts_open(char *const *>I<path_argv>B<, int >I<options>B<,>\n"
90 "B<typeof(int (const FTSENT **, const FTSENT **))>\n"
91 "B< *_Nullable >I<compar>B<);>\n"
92 msgstr ""
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 "B<FTSENT *fts_read(FTS *>I<ftsp>B<);>\n"
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, no-wrap
105 msgid "B<FTSENT *fts_children(FTS *>I<ftsp>B<, int >I<instr>B<);>\n"
106 msgstr ""
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, no-wrap
112 msgid "B<int fts_set(FTS *>I<ftsp>B<, FTSENT *>I<f>B<, int >I<instr>B<);>\n"
113 msgstr ""
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 #, no-wrap
119 msgid "B<int fts_close(FTS *>I<ftsp>B<);>\n"
120 msgstr ""
121
122 #. type: SH
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 #, no-wrap
126 msgid "DESCRIPTION"
127 msgstr ""
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 msgid ""
133 "The fts functions are provided for traversing file hierarchies. A simple "
134 "overview is that the B<fts_open>() function returns a \"handle\" (of type "
135 "I<FTS\\ *>) that refers to a file hierarchy \"stream\". This handle is "
136 "then supplied to the other fts functions. The function B<fts_read>() "
137 "returns a pointer to a structure describing one of the files in the file "
138 "hierarchy. The function B<fts_children>() returns a pointer to a linked "
139 "list of structures, each of which describes one of the files contained in a "
140 "directory in the hierarchy."
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
145 #: opensuse-tumbleweed
146 msgid ""
147 "In general, directories are visited two distinguishable times; in preorder "
148 "(before any of their descendants are visited) and in postorder (after all "
149 "of their descendants have been visited). Files are visited once. It is "
150 "possible to walk the hierarchy \"logically\" (visiting the files that "
151 "symbolic links point to) or physically (visiting the symbolic links "
152 "themselves), order the walk of the hierarchy or prune and/or revisit "
153 "portions of the hierarchy."
154 msgstr ""
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "Two structures (and associated types) are defined in the include file "
161 "I<E<lt>fts.hE<gt>>. The first type is I<FTS>, the structure that represents "
162 "the file hierarchy itself. The second type is I<FTSENT>, the structure that "
163 "represents a file in the file hierarchy. Normally, an I<FTSENT> structure "
164 "is returned for every file in the file hierarchy. In this manual page, "
165 "\"file\" and \"FTSENT structure\" are generally interchangeable."
166 msgstr ""
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 "The I<FTSENT> structure contains fields describing a file. The structure "
173 "contains at least the following fields (there are additional fields that "
174 "should be considered private to the implementation):"
175 msgstr ""
176
177 #. Also:
178 #. ino_t fts_ino; /* inode (only for directories)*/
179 #. dev_t fts_dev; /* device (only for directories)*/
180 #. nlink_t fts_nlink; /* link count (only for directories)*/
181 #. u_short fts_flags; /* private flags for FTSENT structure */
182 #. u_short fts_instr; /* fts_set() instructions */
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 #, no-wrap
187 msgid ""
188 "typedef struct _ftsent {\n"
189 " unsigned short fts_info; /* flags for FTSENT structure */\n"
190 " char *fts_accpath; /* access path */\n"
191 " char *fts_path; /* root path */\n"
192 " short fts_pathlen; /* strlen(fts_path) +\n"
193 " strlen(fts_name) */\n"
194 " char *fts_name; /* filename */\n"
195 " short fts_namelen; /* strlen(fts_name) */\n"
196 " short fts_level; /* depth (-1 to N) */\n"
197 " int fts_errno; /* file errno */\n"
198 " long fts_number; /* local numeric value */\n"
199 " void *fts_pointer; /* local address value */\n"
200 " struct _ftsent *fts_parent; /* parent directory */\n"
201 " struct _ftsent *fts_link; /* next file structure */\n"
202 " struct _ftsent *fts_cycle; /* cycle structure */\n"
203 " struct stat *fts_statp; /* [l]stat(2) information */\n"
204 "} FTSENT;\n"
205 msgstr ""
206
207 #. .Bl -tag -width "fts_namelen"
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid "These fields are defined as follows:"
212 msgstr ""
213
214 #. type: TP
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "I<fts_info>"
219 msgstr ""
220
221 #. .Bl -tag -width FTS_DEFAULT
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 "One of the following values describing the returned I<FTSENT> structure and "
227 "the file it represents. With the exception of directories without errors "
228 "(B<FTS_D>), all of these entries are terminal, that is, they will not be "
229 "revisited, nor will any of their descendants be visited."
230 msgstr ""
231
232 #. type: TP
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "B<FTS_D>"
237 msgstr ""
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid "A directory being visited in preorder."
243 msgstr ""
244
245 #. type: TP
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 #, no-wrap
249 msgid "B<FTS_DC>"
250 msgstr ""
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid ""
256 "A directory that causes a cycle in the tree. (The I<fts_cycle> field of the "
257 "I<FTSENT> structure will be filled in as well.)"
258 msgstr ""
259
260 #. type: TP
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "B<FTS_DEFAULT>"
265 msgstr ""
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "Any I<FTSENT> structure that represents a file type not explicitly described "
272 "by one of the other I<fts_info> values."
273 msgstr ""
274
275 #. type: TP
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "B<FTS_DNR>"
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "A directory which cannot be read. This is an error return, and the "
287 "I<fts_errno> field will be set to indicate what caused the error."
288 msgstr ""
289
290 #. type: TP
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "B<FTS_DOT>"
295 msgstr ""
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 msgid ""
301 "A file named \".\" or \"..\" which was not specified as a filename to "
302 "B<fts_open>() (see B<FTS_SEEDOT>)."
303 msgstr ""
304
305 #. type: TP
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "B<FTS_DP>"
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid ""
316 "A directory being visited in postorder. The contents of the I<FTSENT> "
317 "structure will be unchanged from when it was returned in preorder, that is, "
318 "with the I<fts_info> field set to B<FTS_D>."
319 msgstr ""
320
321 #. type: TP
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "B<FTS_ERR>"
326 msgstr ""
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "This is an error return, and the I<fts_errno> field will be set to indicate "
333 "what caused the error."
334 msgstr ""
335
336 #. type: TP
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid "B<FTS_F>"
341 msgstr ""
342
343 #. type: Plain text
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 msgid "A regular file."
347 msgstr ""
348
349 #. type: TP
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid "B<FTS_NS>"
354 msgstr ""
355
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 "A file for which no [B<l>]B<stat>(2) information was available. The "
361 "contents of the I<fts_statp> field are undefined. This is an error return, "
362 "and the I<fts_errno> field will be set to indicate what caused the error."
363 msgstr ""
364
365 #. type: TP
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "B<FTS_NSOK>"
370 msgstr ""
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "A file for which no [B<l>]B<stat>(2) information was requested. The "
377 "contents of the I<fts_statp> field are undefined."
378 msgstr ""
379
380 #. type: TP
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 #, no-wrap
384 msgid "B<FTS_SL>"
385 msgstr ""
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 "A symbolic link."
391 msgstr ""
392
393 #. type: TP
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "B<FTS_SLNONE>"
398 msgstr ""
399
400 #. .El
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 "A symbolic link with a nonexistent target. The contents of the I<fts_statp> "
406 "field reference the file characteristic information for the symbolic link "
407 "itself."
408 msgstr ""
409
410 #. type: TP
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "I<fts_accpath>"
415 msgstr ""
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid "A path for accessing the file from the current directory."
421 msgstr ""
422
423 #. type: TP
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 #, no-wrap
427 msgid "I<fts_path>"
428 msgstr ""
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 msgid ""
434 "The path for the file relative to the root of the traversal. This path "
435 "contains the path specified to B<fts_open>() as a prefix."
436 msgstr ""
437
438 #. type: TP
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "I<fts_pathlen>"
443 msgstr ""
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 msgid ""
449 "The sum of the lengths of the strings referenced by I<fts_path> and "
450 "I<fts_name>."
451 msgstr ""
452
453 #. type: TP
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 #, no-wrap
457 msgid "I<fts_name>"
458 msgstr ""
459
460 #. type: Plain text
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 msgid "The name of the file."
464 msgstr ""
465
466 #. type: TP
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 #, no-wrap
470 msgid "I<fts_namelen>"
471 msgstr ""
472
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 msgid "The length of the string referenced by I<fts_name>."
477 msgstr ""
478
479 #. type: TP
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 #, no-wrap
483 msgid "I<fts_level>"
484 msgstr ""
485
486 #. type: Plain text
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 msgid ""
490 "The depth of the traversal, numbered from -1 to N, where this file was "
491 "found. The I<FTSENT> structure representing the parent of the starting "
492 "point (or root) of the traversal is numbered -1, and the I<FTSENT> "
493 "structure for the root itself is numbered 0."
494 msgstr ""
495
496 #. type: TP
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 #, no-wrap
500 msgid "I<fts_errno>"
501 msgstr ""
502
503 #. type: Plain text
504 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
505 #: opensuse-leap-16-1 opensuse-tumbleweed
506 msgid ""
507 "If B<fts_children>() or B<fts_read>() returns an I<FTSENT> structure whose "
508 "I<fts_info> field is set to B<FTS_DNR>, B<FTS_ERR>, or B<FTS_NS>, the "
509 "I<fts_errno> field contains the error number (i.e., the I<errno> value) "
510 "specifying the error. Otherwise, the contents of the I<fts_errno> field are "
511 "undefined."
512 msgstr ""
513
514 #. type: TP
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 #, no-wrap
518 msgid "I<fts_number>"
519 msgstr ""
520
521 #. type: Plain text
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 msgid ""
525 "This field is provided for the use of the application program and is not "
526 "modified by the fts functions. It is initialized to 0."
527 msgstr ""
528
529 #. type: TP
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 #, no-wrap
533 msgid "I<fts_pointer>"
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 msgid ""
540 "This field is provided for the use of the application program and is not "
541 "modified by the fts functions. It is initialized to NULL."
542 msgstr ""
543
544 #. type: TP
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, no-wrap
548 msgid "I<fts_parent>"
549 msgstr ""
550
551 #. type: Plain text
552 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
553 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
554 msgid ""
555 "A pointer to the I<FTSENT> structure referencing the file in the hierarchy "
556 "immediately above the current file, that is, the directory of which this "
557 "file is a member. A parent structure for the initial entry point is "
558 "provided as well, however, only the I<fts_level>, I<fts_number>, and "
559 "I<fts_pointer> fields are guaranteed to be initialized."
560 msgstr ""
561
562 #. type: TP
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 #, no-wrap
566 msgid "I<fts_link>"
567 msgstr ""
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 "Upon return from the B<fts_children>() function, the I<fts_link> field "
574 "points to the next structure in the NULL-terminated linked list of directory "
575 "members. Otherwise, the contents of the I<fts_link> field are undefined."
576 msgstr ""
577
578 #. type: TP
579 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
580 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
581 #, no-wrap
582 msgid "I<fts_cycle>"
583 msgstr ""
584
585 #. type: Plain text
586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
588 msgid ""
589 "If a directory causes a cycle in the hierarchy (see B<FTS_DC>), either "
590 "because of a hard link between two directories, or a symbolic link pointing "
591 "to a directory, the I<fts_cycle> field of the structure will point to the "
592 "I<FTSENT> structure in the hierarchy that references the same file as the "
593 "current I<FTSENT> structure. Otherwise, the contents of the I<fts_cycle> "
594 "field are undefined."
595 msgstr ""
596
597 #. type: TP
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 #, no-wrap
601 msgid "I<fts_statp>"
602 msgstr ""
603
604 #. .El
605 #. type: Plain text
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 msgid "A pointer to [B<l>]B<stat>(2) information for the file."
609 msgstr ""
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid ""
615 "A single buffer is used for all of the paths of all of the files in the file "
616 "hierarchy. Therefore, the I<fts_path> and I<fts_accpath> fields are "
617 "guaranteed to be null-terminated I<only> for the file most recently returned "
618 "by B<fts_read>(). To use these fields to reference any files represented by "
619 "other I<FTSENT> structures will require that the path buffer be modified "
620 "using the information contained in that I<FTSENT> structure's I<fts_pathlen> "
621 "field. Any such modifications should be undone before further calls to "
622 "B<fts_read>() are attempted. The I<fts_name> field is always null-"
623 "terminated."
624 msgstr ""
625
626 #. type: SS
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 #, no-wrap
630 msgid "fts_open()"
631 msgstr ""
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 msgid ""
637 "The B<fts_open>() function takes a pointer to an array of character "
638 "pointers naming one or more paths which make up a logical file hierarchy to "
639 "be traversed. The array must be terminated by a null pointer."
640 msgstr ""
641
642 #. .Bl -tag -width "FTS_PHYSICAL"
643 #. type: Plain text
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 msgid ""
647 "There are a number of options, at least one of which (either B<FTS_LOGICAL> "
648 "or B<FTS_PHYSICAL>) must be specified. The options are selected by ORing "
649 "the following values:"
650 msgstr ""
651
652 #. type: TP
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "B<FTS_LOGICAL>"
657 msgstr ""
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 msgid ""
663 "This option causes the fts routines to return I<FTSENT> structures for the "
664 "targets of symbolic links instead of the symbolic links themselves. If this "
665 "option is set, the only symbolic links for which I<FTSENT> structures are "
666 "returned to the application are those referencing nonexistent files: the "
667 "I<fts_statp> field is obtained via B<stat>(2) with a fallback to "
668 "B<lstat>(2)."
669 msgstr ""
670
671 #. type: TP
672 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
673 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
674 #, no-wrap
675 msgid "B<FTS_PHYSICAL>"
676 msgstr ""
677
678 #. type: Plain text
679 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
680 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
681 msgid ""
682 "This option causes the fts routines to return I<FTSENT> structures for "
683 "symbolic links themselves instead of the target files they point to. If "
684 "this option is set, I<FTSENT> structures for all symbolic links in the "
685 "hierarchy are returned to the application: the I<fts_statp> field is "
686 "obtained via B<lstat>(2)."
687 msgstr ""
688
689 #. type: TP
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
692 #, no-wrap
693 msgid "B<FTS_COMFOLLOW>"
694 msgstr ""
695
696 #. type: Plain text
697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
698 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
699 msgid ""
700 "This option causes any symbolic link specified as a root path to be followed "
701 "immediately, as if via B<FTS_LOGICAL>, regardless of the primary mode."
702 msgstr ""
703
704 #. type: TP
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 #, no-wrap
708 msgid "B<FTS_NOCHDIR>"
709 msgstr ""
710
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 msgid ""
715 "As a performance optimization, the fts functions change directories as they "
716 "walk the file hierarchy. This has the side-effect that an application "
717 "cannot rely on being in any particular directory during the traversal. This "
718 "option turns off this optimization, and the fts functions will not change "
719 "the current directory. Note that applications should not themselves change "
720 "their current directory and try to access files unless B<FTS_NOCHDIR> is "
721 "specified and absolute pathnames were provided as arguments to B<fts_open>()."
722 msgstr ""
723
724 #. type: TP
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 #, no-wrap
728 msgid "B<FTS_NOSTAT>"
729 msgstr ""
730
731 #. type: Plain text
732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
733 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
734 msgid ""
735 "By default, returned I<FTSENT> structures reference file characteristic "
736 "information (the I<fts_statp> field) for each file visited. This option "
737 "relaxes that requirement as a performance optimization, allowing the fts "
738 "functions to set the I<fts_info> field to B<FTS_NSOK> and leave the contents "
739 "of the I<fts_statp> field undefined."
740 msgstr ""
741
742 #. type: TP
743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
745 #, no-wrap
746 msgid "B<FTS_SEEDOT>"
747 msgstr ""
748
749 #. type: Plain text
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 msgid ""
753 "By default, unless they are specified as path arguments to B<fts_open>(), "
754 "any files named \".\" or \"..\" encountered in the file hierarchy are "
755 "ignored. This option causes the fts routines to return I<FTSENT> structures "
756 "for them."
757 msgstr ""
758
759 #. type: TP
760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
762 #, no-wrap
763 msgid "B<FTS_XDEV>"
764 msgstr ""
765
766 #. .El
767 #. type: Plain text
768 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
769 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
770 msgid ""
771 "This option prevents fts from descending into directories that have a "
772 "different device number than the file from which the descent began."
773 msgstr ""
774
775 #. type: Plain text
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 msgid ""
779 "The argument B<compar>() specifies a user-defined function which may be "
780 "used to order the traversal of the hierarchy. It takes two pointers to "
781 "pointers to I<FTSENT> structures as arguments and should return a negative "
782 "value, zero, or a positive value to indicate if the file referenced by its "
783 "first argument comes before, in any order with respect to, or after, the "
784 "file referenced by its second argument. The I<fts_accpath>, I<fts_path>, "
785 "and I<fts_pathlen> fields of the I<FTSENT> structures may I<never> be used "
786 "in this comparison. If the I<fts_info> field is set to B<FTS_NS> or "
787 "B<FTS_NSOK>, the I<fts_statp> field may not either. If the B<compar>() "
788 "argument is NULL, the directory traversal order is in the order listed in "
789 "I<path_argv> for the root paths, and in the order listed in the directory "
790 "for everything else."
791 msgstr ""
792
793 #. type: SS
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 #, no-wrap
797 msgid "fts_read()"
798 msgstr ""
799
800 #. type: Plain text
801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
803 msgid ""
804 "The B<fts_read>() function returns a pointer to an I<FTSENT> structure "
805 "describing a file in the hierarchy. Directories (that are readable and do "
806 "not cause cycles) are visited at least twice, once in preorder and once in "
807 "postorder. All other files are visited at least once. (Hard links between "
808 "directories that do not cause cycles or symbolic links to symbolic links may "
809 "cause files to be visited more than once, or directories more than twice.)"
810 msgstr ""
811
812 #. type: Plain text
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 msgid ""
816 "If all the members of the hierarchy have been returned, B<fts_read>() "
817 "returns NULL and sets I<errno> to 0. If an error unrelated to a file in the "
818 "hierarchy occurs, B<fts_read>() returns NULL and sets I<errno> to indicate "
819 "the error. If an error related to a returned file occurs, a pointer to an "
820 "I<FTSENT> structure is returned, and I<errno> may or may not have been set "
821 "(see I<fts_info>)."
822 msgstr ""
823
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 msgid ""
828 "The I<FTSENT> structures returned by B<fts_read>() may be overwritten after "
829 "a call to B<fts_close>() on the same file hierarchy stream, or, after a "
830 "call to B<fts_read>() on the same file hierarchy stream unless they "
831 "represent a file of type directory, in which case they will not be "
832 "overwritten until after a call to B<fts_read>() after the I<FTSENT> "
833 "structure has been returned by the function B<fts_read>() in postorder."
834 msgstr ""
835
836 #. type: SS
837 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
838 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
839 #, no-wrap
840 msgid "fts_children()"
841 msgstr ""
842
843 #. type: Plain text
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 msgid ""
847 "The B<fts_children>() function returns a pointer to an I<FTSENT> structure "
848 "describing the first entry in a NULL-terminated linked list of the files in "
849 "the directory represented by the I<FTSENT> structure most recently returned "
850 "by B<fts_read>(). The list is linked through the I<fts_link> field of the "
851 "I<FTSENT> structure, and is ordered by the user-specified comparison "
852 "function, if any. Repeated calls to B<fts_children>() will re-create this "
853 "linked list."
854 msgstr ""
855
856 #. type: Plain text
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 msgid ""
860 "As a special case, if B<fts_read>() has not yet been called for a "
861 "hierarchy, B<fts_children>() will return a pointer to the files in the "
862 "logical directory specified to B<fts_open>(), that is, the arguments "
863 "specified to B<fts_open>(). Otherwise, if the I<FTSENT> structure most "
864 "recently returned by B<fts_read>() is not a directory being visited in "
865 "preorder, or the directory does not contain any files, B<fts_children>() "
866 "returns NULL and sets I<errno> to zero. If an error occurs, "
867 "B<fts_children>() returns NULL and sets I<errno> to indicate the error."
868 msgstr ""
869
870 #. type: Plain text
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 msgid ""
874 "The I<FTSENT> structures returned by B<fts_children>() may be overwritten "
875 "after a call to B<fts_children>(), B<fts_close>(), or B<fts_read>() on the "
876 "same file hierarchy stream."
877 msgstr ""
878
879 #. .Bl -tag -width FTS_NAMEONLY
880 #. type: Plain text
881 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
882 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
883 msgid "The I<instr> argument is either zero or the following value:"
884 msgstr ""
885
886 #. type: TP
887 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
888 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
889 #, no-wrap
890 msgid "B<FTS_NAMEONLY>"
891 msgstr ""
892
893 #. .El
894 #. type: Plain text
895 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
896 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
897 msgid ""
898 "Only the names of the files are needed. The contents of all the fields in "
899 "the returned linked list of structures are undefined with the exception of "
900 "the I<fts_name> and I<fts_namelen> fields."
901 msgstr ""
902
903 #. type: SS
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 #, no-wrap
907 msgid "fts_set()"
908 msgstr ""
909
910 #. type: Plain text
911 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
912 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
913 msgid ""
914 "The function B<fts_set>() allows the user application to determine further "
915 "processing for the file I<f> of the stream I<ftsp>. The B<fts_set>() "
916 "function returns 0 on success, and -1 if an error occurs."
917 msgstr ""
918
919 #. .Bl -tag -width FTS_PHYSICAL
920 #. type: Plain text
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
923 msgid ""
924 "The I<instr> argument is either 0 (meaning \"do nothing\") or one of the "
925 "following values:"
926 msgstr ""
927
928 #. type: TP
929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
931 #, no-wrap
932 msgid "B<FTS_AGAIN>"
933 msgstr ""
934
935 #. type: Plain text
936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
938 msgid ""
939 "Revisit the file; any file type may be revisited. The next call to "
940 "B<fts_read>() will return the referenced file. The I<fts_stat> and "
941 "I<fts_info> fields of the structure will be reinitialized at that time, but "
942 "no other fields will have been changed. This option is meaningful only for "
943 "the most recently returned file from B<fts_read>(). Normal use is for "
944 "postorder directory visits, where it causes the directory to be revisited "
945 "(in both preorder and postorder) as well as all of its descendants."
946 msgstr ""
947
948 #. type: TP
949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
951 #, no-wrap
952 msgid "B<FTS_FOLLOW>"
953 msgstr ""
954
955 #. type: Plain text
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
958 msgid ""
959 "The referenced file must be a symbolic link. If the referenced file is the "
960 "one most recently returned by B<fts_read>(), the next call to B<fts_read>() "
961 "returns the file with the I<fts_info> and I<fts_statp> fields reinitialized "
962 "to reflect the target of the symbolic link instead of the symbolic link "
963 "itself. If the file is one of those most recently returned by "
964 "B<fts_children>(), the I<fts_info> and I<fts_statp> fields of the structure, "
965 "when returned by B<fts_read>(), will reflect the target of the symbolic link "
966 "instead of the symbolic link itself. In either case, if the target of the "
967 "symbolic link does not exist, the fields of the returned structure will be "
968 "unchanged and the I<fts_info> field will be set to B<FTS_SLNONE>."
969 msgstr ""
970
971 #. type: Plain text
972 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
973 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
974 msgid ""
975 "If the target of the link is a directory, the preorder return, followed by "
976 "the return of all of its descendants, followed by a postorder return, is "
977 "done."
978 msgstr ""
979
980 #. type: TP
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 #, no-wrap
984 msgid "B<FTS_SKIP>"
985 msgstr ""
986
987 #. .El
988 #. type: Plain text
989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
991 msgid ""
992 "No descendants of this file are visited. The file may be one of those most "
993 "recently returned by either B<fts_children>() or B<fts_read>()."
994 msgstr ""
995
996 #. type: SS
997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
999 #, no-wrap
1000 msgid "fts_close()"
1001 msgstr ""
1002
1003 #. type: Plain text
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1006 msgid ""
1007 "The B<fts_close>() function closes the file hierarchy stream referred to by "
1008 "I<ftsp> and restores the current directory to the directory from which "
1009 "B<fts_open>() was called to open I<ftsp>. The B<fts_close>() function "
1010 "returns 0 on success, and -1 if an error occurs."
1011 msgstr ""
1012
1013 #. type: SH
1014 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1015 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1016 #, no-wrap
1017 msgid "ERRORS"
1018 msgstr ""
1019
1020 #. type: Plain text
1021 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1022 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1023 msgid ""
1024 "The function B<fts_open>() may fail and set I<errno> for any of the errors "
1025 "specified for B<open>(2) and B<malloc>(3)."
1026 msgstr ""
1027
1028 #. type: Plain text
1029 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1030 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1031 msgid "In addition, B<fts_open>() may fail and set I<errno> as follows:"
1032 msgstr ""
1033
1034 #. type: TP
1035 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1036 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1037 #, no-wrap
1038 msgid "B<ENOENT>"
1039 msgstr ""
1040
1041 #. type: Plain text
1042 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1043 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1044 msgid "Any element of I<path_argv> was an empty string."
1045 msgstr ""
1046
1047 #. type: Plain text
1048 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1049 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1050 msgid ""
1051 "The function B<fts_close>() may fail and set I<errno> for any of the errors "
1052 "specified for B<chdir>(2) and B<close>(2)."
1053 msgstr ""
1054
1055 #. type: Plain text
1056 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1057 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1058 msgid ""
1059 "The functions B<fts_read>() and B<fts_children>() may fail and set "
1060 "I<errno> for any of the errors specified for B<chdir>(2), B<malloc>(3), "
1061 "B<opendir>(3), B<readdir>(3), and [B<l>]B<stat>(2)."
1062 msgstr ""
1063
1064 #. type: Plain text
1065 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1066 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1067 msgid ""
1068 "In addition, B<fts_children>(), B<fts_open>(), and B<fts_set>() may fail "
1069 "and set I<errno> as follows:"
1070 msgstr ""
1071
1072 #. type: TP
1073 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1074 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1075 #, no-wrap
1076 msgid "B<EINVAL>"
1077 msgstr ""
1078
1079 #. type: Plain text
1080 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1081 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1082 msgid "I<options> or I<instr> was invalid."
1083 msgstr ""
1084
1085 #. type: SH
1086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1088 #, no-wrap
1089 msgid "ATTRIBUTES"
1090 msgstr ""
1091
1092 #. type: Plain text
1093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1095 msgid ""
1096 "For an explanation of the terms used in this section, see B<attributes>(7)."
1097 msgstr ""
1098
1099 #. type: tbl table
1100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1102 #, no-wrap
1103 msgid "Interface"
1104 msgstr ""
1105
1106 #. type: tbl table
1107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1109 #, no-wrap
1110 msgid "Attribute"
1111 msgstr ""
1112
1113 #. type: tbl table
1114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1116 #, no-wrap
1117 msgid "Value"
1118 msgstr ""
1119
1120 #. type: tbl table
1121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1123 #, no-wrap
1124 msgid ".na\n"
1125 msgstr ""
1126
1127 #. type: tbl table
1128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1130 #, no-wrap
1131 msgid ".nh\n"
1132 msgstr ""
1133
1134 #. type: tbl table
1135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1137 #, no-wrap
1138 msgid ""
1139 "B<fts_open>(),\n"
1140 "B<fts_set>(),\n"
1141 "B<fts_close>()"
1142 msgstr ""
1143
1144 #. type: tbl table
1145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1147 #, no-wrap
1148 msgid "Thread safety"
1149 msgstr ""
1150
1151 #. type: tbl table
1152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1154 #, no-wrap
1155 msgid "MT-Safe"
1156 msgstr ""
1157
1158 #. type: tbl table
1159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1161 #, no-wrap
1162 msgid ""
1163 "B<fts_read>(),\n"
1164 "B<fts_children>()"
1165 msgstr ""
1166
1167 #. type: tbl table
1168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1170 #, no-wrap
1171 msgid "MT-Unsafe"
1172 msgstr ""
1173
1174 #. type: SH
1175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1177 #, no-wrap
1178 msgid "STANDARDS"
1179 msgstr ""
1180
1181 #. type: Plain text
1182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1184 msgid "None."
1185 msgstr ""
1186
1187 #. type: SH
1188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1190 #, no-wrap
1191 msgid "HISTORY"
1192 msgstr ""
1193
1194 #. type: Plain text
1195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1197 msgid "glibc 2. 4.4BSD."
1198 msgstr ""
1199
1200 #. type: SH
1201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1203 #, no-wrap
1204 msgid "BUGS"
1205 msgstr ""
1206
1207 #
1208 #. Fixed by commit 8b7b7f75d91f7bac323dd6a370aeb3e9c5c4a7d5
1209 #. https://sourceware.org/bugzilla/show_bug.cgi?id=15838
1210 #. https://sourceware.org/bugzilla/show_bug.cgi?id=11460
1211 #. The following statement is years old, and seems no closer to
1212 #. being true -- mtk
1213 #. The
1214 #. .I fts
1215 #. utility is expected to be included in a future
1216 #. POSIX.1
1217 #. revision.
1218 #. type: Plain text
1219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1221 msgid ""
1222 "Before glibc 2.23, all of the APIs described in this man page are not safe "
1223 "when compiling a program using the LFS APIs (e.g., when compiling with I<-"
1224 "D_FILE_OFFSET_BITS=64>)."
1225 msgstr ""
1226
1227 #. type: SH
1228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1230 #, no-wrap
1231 msgid "SEE ALSO"
1232 msgstr ""
1233
1234 #. type: Plain text
1235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1237 msgid ""
1238 "B<find>(1), B<chdir>(2), B<lstat>(2), B<stat>(2), B<ftw>(3), B<qsort>(3)"
1239 msgstr ""
1240
1241 #. type: TH
1242 #: debian-trixie
1243 #, no-wrap
1244 msgid "2024-05-02"
1245 msgstr ""
1246
1247 #. type: TH
1248 #: debian-trixie
1249 #, no-wrap
1250 msgid "Linux man-pages 6.9.1"
1251 msgstr ""
1252
1253 #. type: Plain text
1254 #: debian-trixie
1255 msgid "Standard C library (I<libc>, I<-lc>)"
1256 msgstr ""
1257
1258 #. type: Plain text
1259 #: debian-trixie
1260 #, no-wrap
1261 msgid ""
1262 "B<FTS *fts_open(char *const *>I<path_argv>B<, int >I<options>B<,>\n"
1263 "B< int (*_Nullable >I<compar>B<)(const FTSENT **, const FTSENT **));>\n"
1264 msgstr ""
1265
1266 #. type: Plain text
1267 #: debian-trixie fedora-44 fedora-rawhide
1268 msgid ""
1269 "In general, directories are visited two distinguishable times; in preorder "
1270 "(before any of their descendants are visited) and in postorder (after all of "
1271 "their descendants have been visited). Files are visited once. It is "
1272 "possible to walk the hierarchy \"logically\" (visiting the files that "
1273 "symbolic links point to) or physically (visiting the symbolic links "
1274 "themselves), order the walk of the hierarchy or prune and/or revisit "
1275 "portions of the hierarchy."
1276 msgstr ""
1277
1278 #. type: Plain text
1279 #: debian-trixie
1280 msgid ""
1281 "If B<fts_children>() or B<fts_read>() returns an I<FTSENT> structure whose "
1282 "I<fts_info> field is set to B<FTS_DNR>, B<FTS_ERR>, or B<FTS_NS>, the "
1283 "I<fts_errno> field contains the error number (i.e., the I<errno> value) "
1284 "specifying the cause of the error. Otherwise, the contents of the "
1285 "I<fts_errno> field are undefined."
1286 msgstr ""
1287
1288 #. type: TH
1289 #: fedora-44 fedora-rawhide
1290 #, no-wrap
1291 msgid "2024-12-13"
1292 msgstr ""
1293
1294 #. type: TH
1295 #: fedora-44 fedora-rawhide
1296 #, no-wrap
1297 msgid "Linux man-pages 6.13"
1298 msgstr ""
1299
1300 #. type: TH
1301 #: mageia-cauldron
1302 #, no-wrap
1303 msgid "Linux man-pages 6.17"
1304 msgstr ""
1305
1306 #. type: TH
1307 #: opensuse-leap-16-1 opensuse-tumbleweed
1308 #, no-wrap
1309 msgid "Linux man-pages (unreleased)"
1310 msgstr ""