Debian Codegraph @

po/fr/man3/ftw.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-2014.
18 # Lucien Gentis <[email protected]>, 2022.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.21.0\n"
22 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
23 "PO-Revision-Date: 2024-03-05 18:02+0100\n"
24 "Last-Translator: Lucien Gentis <[email protected]>\n"
25 "Language-Team: French <[email protected]>\n"
26 "Language: fr\n"
27 "MIME-Version: 1.0\n"
28 "Content-Type: text/plain; charset=UTF-8\n"
29 "Content-Transfer-Encoding: 8bit\n"
30 "Plural-Forms: nplurals=2; plural=n > 1;\n"
31 "X-Generator: Poedit 2.4.2\n"
32 "X-Poedit-Bookmarks: 106,-1,-1,-1,-1,-1,-1,-1,-1,-1\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 "ftw"
39 msgstr "ftw"
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 "ftw, nftw - file tree walk"
65 msgstr "ftw, nftw - Parcourir des arborescences de fichiers"
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>ftw.hE<gt>>\n"
92 msgstr "B<#include E<lt>ftw.hE<gt>>\n"
93
94 #. type: Plain text
95 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
96 #: opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid ""
99 "B<int nftw(const char *>I<dirpath>B<,>\n"
100 "B< typeof(int (const char *>I<fpath>B<, const struct stat *>I<sb,>\n"
101 "B< int >I<typeflag>B<, struct FTW *>I<ftwbuf>B<))>\n"
102 "B< *>I<fn,>\n"
103 "B< int >I<nopenfd>B<, int >I<flags>B<);>\n"
104 msgstr ""
105 "B<int nftw(const char *>I<chemin_répertoire>B<,>\n"
106 "B< typeof(int (const char *>I<chemin_fichier>B<, const struct stat *>I<sb,>\n"
107 "B< int >I<typeflag>B<, struct FTW *>I<tampon_ftw>B<),>\n"
108 "B< *>I<fn,>\n"
109 "B< int >I<nb_descripteurs_fichier_ouverts>B<, int >I<drapeaux>B<);>\n"
110
111 #. type: Plain text
112 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
113 #: opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid ""
116 "B<[[deprecated]]>\n"
117 "B<int ftw(const char *>I<dirpath>B<,>\n"
118 "B< typeof(int (const char *>I<fpath>B<, const struct stat *>I<sb>B<,>\n"
119 "B< int >I<typeflag>B<))>\n"
120 "B< *>I<fn,>\n"
121 "B< int >I<nopenfd>B<);>\n"
122 msgstr ""
123 "B<[[deprecated]]>\n"
124 "B<int ftw(const char *>I<chemin_répertoire>B<,>\n"
125 "B< typeof(int (const char *>I<chemin_fichier>B<, const struct stat *>I<sb>B<,>\n"
126 "B< int >I<typeflag>B<))>\n"
127 "B< *>I<fn,>\n"
128 "B< int >I<nb_descripteurs_fichier_ouverts>B<);>\n"
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 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
135 msgstr ""
136 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
137 "B<feature_test_macros>(7)) :"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid "B<nftw>():"
143 msgstr "B<nftw>() :"
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid " _XOPEN_SOURCE E<gt>= 500\n"
150 msgstr " _XOPEN_SOURCE E<gt>= 500\n"
151
152 #. type: SH
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "DESCRIPTION"
157 msgstr "DESCRIPTION"
158
159 #. type: Plain text
160 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
161 #: opensuse-tumbleweed
162 #, fuzzy
163 #| msgid ""
164 #| "B<nftw>() walks through the directory tree that is located under the "
165 #| "directory I<dirpath>, and calls I<fn>() once for each entry in the tree. "
166 #| "By default, directories are handled before the files and subdirectories "
167 #| "they contain (preorder traversal)."
168 msgid ""
169 "B<nftw>() walks through the directory tree that is located under the "
170 "directory I<dirpath>, and calls I<fn>() once for each entry in the tree. "
171 "By default, directories are handled before the files and subdirectories they "
172 "contain (preorder traversal)."
173 msgstr ""
174 "La fonction B<nftw>() parcourt l'arborescence de fichiers située dans le "
175 "répertoire I<chemin_répertoire> et appelle I<fn>() une fois pour chaque "
176 "entrée de l'arborescence. Par défaut, les répertoires sont traités avant les "
177 "fichiers et sous-répertoires qu'ils contiennent (méthode de parcours "
178 "« preorder »)."
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 "To avoid using up all of the calling process's file descriptors, I<nopenfd> "
185 "specifies the maximum number of directories that B<nftw>() will hold open "
186 "simultaneously. When the search depth exceeds this, B<nftw>() will become "
187 "slower because directories have to be closed and reopened. B<nftw>() uses "
188 "at most one file descriptor for each level in the directory tree."
189 msgstr ""
190 "Afin d'éviter d'utiliser tous les descripteurs de fichier du processus "
191 "appelant, I<nb_descripteurs_fichier_ouverts> indique le nombre maximal de "
192 "répertoires que B<nftw>() peut ouvrir simultanément. Lorsque la profondeur "
193 "de recherche est supérieure à cette valeur, B<nftw>() ralentit car les "
194 "répertoires doivent être fermés puis réouverts. B<nftw>() utilise au plus un "
195 "descripteur de fichier pour chaque niveau dans l'arborescence des fichiers."
196
197 #. type: Plain text
198 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
199 #: opensuse-tumbleweed
200 #, fuzzy
201 #| msgid ""
202 #| "For each entry found in the tree, B<nftw>() calls I<fn>() with four "
203 #| "arguments: I<fpath>, I<sb>, I<typeflag>, and I<ftwbuf>. I<fpath> is the "
204 #| "pathname of the entry, and is expressed either as a pathname relative to "
205 #| "the calling process's current working directory at the time of the call "
206 #| "to B<nftw>(), if I<dirpath> was expressed as a relative pathname, or as "
207 #| "an absolute pathname, if I<dirpath> was expressed as an absolute "
208 #| "pathname. I<sb> is a pointer to the I<stat> structure returned by a call "
209 #| "to B<stat>(2) for I<fpath>."
210 msgid ""
211 "For each entry found in the tree, B<nftw>() calls I<fn>() with four "
212 "arguments: I<fpath>, I<sb>, I<typeflag>, and I<ftwbuf>. I<fpath> is the "
213 "pathname of the entry, and is expressed either as a pathname relative to the "
214 "calling process's current working directory at the time of the call to "
215 "B<nftw>(), if I<dirpath> was expressed as a relative pathname, or as an "
216 "absolute pathname, if I<dirpath> was expressed as an absolute pathname. "
217 "I<sb> is a pointer to the I<stat> structure returned by a call to "
218 "B<stat>(2) for I<fpath>."
219 msgstr ""
220 "Pour chaque entrée trouvée dans l'arbre, B<nftw>() appelle I<fn>() avec "
221 "quatre arguments\\ : I<chemin_fichier>, I<sb>, I<symb_type> et "
222 "I<tampon_ftw>. I<chemin_fichier> est le chemin de l'entrée ; il est défini "
223 "comme un chemin relatif au répertoire de travail actuel du processus "
224 "appelant au moment de l'appel à B<nftw>() si I<chemin_répertoire> est un "
225 "chemin relatif, ou comme un chemin absolu si I<chemin_répertoire> est un "
226 "chemin absolu. I<sb> est un pointeur vers la structure I<stat> renvoyée par "
227 "un appel à B<stat>(2) pour I<chemin_fichier>."
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid ""
233 "The I<typeflag> argument passed to I<fn>() is an integer that has one of "
234 "the following values:"
235 msgstr ""
236 "L'argument I<symb_type> passé à I<fn>() est un entier qui peut prendre une "
237 "des valeurs suivantes :"
238
239 #. type: TP
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "B<FTW_F>"
244 msgstr "B<FTW_F>"
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid "I<fpath> is a regular file."
250 msgstr "I<chemin_fichier> est un fichier ordinaire."
251
252 #. type: TP
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "B<FTW_D>"
257 msgstr "B<FTW_D>"
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid "I<fpath> is a directory."
263 msgstr "I<chemin_fichier> est un répertoire."
264
265 #. type: TP
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "B<FTW_DNR>"
270 msgstr "B<FTW_DNR>"
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid "I<fpath> is a directory which can't be read."
276 msgstr "I<chemin_fichier> est un répertoire qui ne peut être lu."
277
278 #. type: TP
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "B<FTW_DP>"
283 msgstr "B<FTW_DP>"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid ""
289 "I<fpath> is a directory, and B<FTW_DEPTH> was specified in I<flags>. (If "
290 "B<FTW_DEPTH> was not specified in I<flags>, then directories will always be "
291 "visited with I<typeflag> set to B<FTW_D>.) All of the files and "
292 "subdirectories within I<fpath> have been processed."
293 msgstr ""
294 "I<chemin_fichier> est un répertoire et B<FTW_DEPTH> a été défini dans "
295 "I<drapeaux> (si B<FTW_DEPTH> n’est pas défini dans I<drapeaux>, alors les "
296 "répertoires seront toujours visités avec I<symb_type> défini à B<FTW_D>). "
297 "Tous les fichiers et sous-répertoires dans I<chemin_fichier> ont été traités."
298
299 #. type: TP
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "B<FTW_NS>"
304 msgstr "B<FTW_NS>"
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "The B<stat>(2) call failed on I<fpath>, which is not a symbolic link. The "
311 "probable cause for this is that the caller had read permission on the parent "
312 "directory, so that the filename I<fpath> could be seen, but did not have "
313 "execute permission, so that the file could not be reached for B<stat>(2). "
314 "The contents of the buffer pointed to by I<sb> are undefined."
315 msgstr ""
316 "L'appel B<stat>(2) a échoué sur I<chemin_fichier> qui n'est pas un lien "
317 "symbolique. Cela est probablement dû au fait que l’appelant avait les droits "
318 "de lecture sur le répertoire parent de telle sorte que I<chemin_fichier> "
319 "était visible, mais n’avait pas les droits d’exécution, et donc le fichier "
320 "ne pouvait pas être atteint pour B<stat>(2). Le contenu du tampon pointé par "
321 "I<sb> est indéterminé."
322
323 #. type: TP
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 #, no-wrap
327 msgid "B<FTW_SL>"
328 msgstr "B<FTW_SL>"
329
330 #. To obtain the definition of this constant from
331 #. .IR <ftw.h> ,
332 #. either
333 #. .B _BSD_SOURCE
334 #. must be defined, or
335 #. .BR _XOPEN_SOURCE
336 #. must be defined with a value of 500 or more.
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid "I<fpath> is a symbolic link, and B<FTW_PHYS> was set in I<flags>."
341 msgstr ""
342 "I<chemin_fichier> est un lien symbolique et B<FTW_PHYS> a été défini dans "
343 "I<drapeaux>."
344
345 #. type: TP
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "B<FTW_SLN>"
350 msgstr "B<FTW_SLN>"
351
352 #. type: Plain text
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 msgid ""
356 "I<fpath> is a symbolic link pointing to a nonexistent file. (This occurs "
357 "only if B<FTW_PHYS> is not set.) In this case the I<sb> argument passed to "
358 "I<fn>() contains information returned by performing B<lstat>(2) on the "
359 "\"dangling\" symbolic link. (But see BUGS.)"
360 msgstr ""
361 "I<chemin_fichier> est un lien symbolique pointant vers un fichier qui "
362 "n'existe pas (ce qui ne se produira que si B<FTW_PHYS> n'est pas défini). "
363 "Dans ce cas, l'argument I<sb> passé à I<fn>() contiendra les informations "
364 "renvoyées par l'exécution de B<lstat>(2) sur le lien symbolique pointant "
365 "nulle part (voir à ce sujet BOGUES)."
366
367 #. type: Plain text
368 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
369 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
370 msgid ""
371 "The fourth argument (I<ftwbuf>) that B<nftw>() supplies when calling "
372 "I<fn>() is a pointer to a structure of type I<FTW>:"
373 msgstr ""
374 "Le quatrième argument (I<tampon_ftw>), spécifié par B<nftw>() lors de "
375 "l'appel de I<fn>, est un pointeur vers une structure du type I<FTW>\\ :"
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid ""
382 "struct FTW {\n"
383 " int base;\n"
384 " int level;\n"
385 "};\n"
386 msgstr ""
387 "struct FTW {\n"
388 " int base;\n"
389 " int level;\n"
390 "};\n"
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 msgid ""
396 "I<base> is the offset of the filename (i.e., basename component) in the "
397 "pathname given in I<fpath>. I<level> is the depth of I<fpath> in the "
398 "directory tree, relative to the root of the tree (I<dirpath>, which has "
399 "depth 0)."
400 msgstr ""
401 "I<base> est le décalage du nom de fichier (c’est-à-dire le composant «\\ "
402 "basename\\ ») du chemin donné par I<chemin_fichier>. I<level> est la "
403 "profondeur de I<chemin_fichier> dans l'arbre des répertoires, relative à la "
404 "racine de l'arbre (I<chemin_répertoire> qui a une profondeur de B<0>)."
405
406 #. type: Plain text
407 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
408 #: opensuse-tumbleweed
409 #, fuzzy
410 #| msgid ""
411 #| "To stop the tree walk, I<fn>() returns a nonzero value; this value will "
412 #| "become the return value of B<nftw>(). As long as I<fn>() returns 0, "
413 #| "B<nftw>() will continue either until it has traversed the entire tree, "
414 #| "in which case it will return zero, or until it encounters an error (such "
415 #| "as a B<malloc>(3) failure), in which case it will return -1."
416 msgid ""
417 "To stop the tree walk, I<fn>() returns a nonzero value; this value will "
418 "become the return value of B<nftw>(). As long as I<fn>() returns 0, "
419 "B<nftw>() will continue either until it has traversed the entire tree, in "
420 "which case it will return zero, or until it encounters an error (such as a "
421 "B<malloc>(3) failure), in which case it will return -1."
422 msgstr ""
423 "Pour arrêter le parcours de l'arborescence des fichiers, la fonction I<fn>() "
424 "renvoie une valeur différente de B<0>, qui deviendra la valeur de retour de "
425 "B<nftw>(). Tant que I<fn>() renvoie B<0>, B<nftw>() continuera jusqu'à la "
426 "fin du parcours de l'arborescence, et dans ce cas renverra B<0>, ou jusqu'à "
427 "ce qu'une erreur se produise (comme un échec de B<malloc>(3)) et dans ce cas "
428 "renverra B<-1>."
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 "Because B<nftw>() uses dynamic data structures, the only safe way to exit "
435 "out of a tree walk is to return a nonzero value from I<fn>(). To allow a "
436 "signal to terminate the walk without causing a memory leak, have the handler "
437 "set a global flag that is checked by I<fn>(). I<Don't> use B<longjmp>(3) "
438 "unless the program is going to terminate."
439 msgstr ""
440 "Comme B<nftw>() utilise des structures de données allouées dynamiquement, la "
441 "seule manière propre de sortir d'un parcours d'arborescence consiste à faire "
442 "que I<fn>() renvoie une valeur différente de B<0>. Pour permettre à un "
443 "signal de terminer le parcours sans causer de fuite de mémoire, utilisez un "
444 "gestionnaire qui définit un attribut global vérifié par I<fn>(). "
445 "I<N'utilisez pas> B<longjmp>(3) à moins que le programme ne soit sur le "
446 "point de se terminer."
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid ""
452 "The I<flags> argument of B<nftw>() is formed by ORing zero or more of the "
453 "following flags:"
454 msgstr ""
455 "L'argument I<drapeaux> de B<nftw>() est un OU binaire entre zéro ou "
456 "plusieurs des attributs suivants\\ :"
457
458 #. type: TP
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "B<FTW_ACTIONRETVAL> (since glibc 2.3.3)"
463 msgstr "B<FTW_ACTIONRETVAL> (depuis la glibc\\ 2.3.3)"
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "If this glibc-specific flag is set, then B<nftw>() handles the return value "
470 "from I<fn>() differently. I<fn>() should return one of the following "
471 "values:"
472 msgstr ""
473 "Si cet attribut, spécifique à la glibc, est positionné, alors B<nftw>() gère "
474 "la valeur de retour de I<fn>() différemment. I<fn>() doit renvoyer l'une des "
475 "valeurs suivantes\\ :"
476
477 #. type: TP
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 #, no-wrap
481 msgid "B<FTW_CONTINUE>"
482 msgstr "B<FTW_CONTINUE>"
483
484 #. type: Plain text
485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
486 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
487 msgid "Instructs B<nftw>() to continue normally."
488 msgstr "B<nftw>() doit continuer normalement."
489
490 #. type: TP
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "B<FTW_SKIP_SIBLINGS>"
495 msgstr "B<FTW_SKIP_SIBLINGS>"
496
497 #. If \f[B]FTW_DEPTH\f[]
498 #. is set, the entry's parent directory is processed next (with
499 #. \f[I]flag\f[] set to \f[B]FTW_DP\f[]).
500 #. type: Plain text
501 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
502 #: opensuse-tumbleweed
503 #, fuzzy
504 #| msgid ""
505 #| "If I<fn>() returns this value, then siblings of the current entry will be "
506 #| "skipped, and processing continues in the parent."
507 msgid ""
508 "If I<fn>() returns this value, then siblings of the current entry will be "
509 "skipped, and processing continues in the parent."
510 msgstr ""
511 "Si I<fn>() renvoie cette valeur, alors les entrées de même niveau que "
512 "l'entrée courante seront sautées, et la procédure continuera avec le parent."
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 "B<FTW_SKIP_SUBTREE>"
519 msgstr "B<FTW_SKIP_SUBTREE>"
520
521 #. type: Plain text
522 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
523 #: opensuse-tumbleweed
524 #, fuzzy
525 #| msgid ""
526 #| "If I<fn>() is called with an entry that is a directory (I<typeflag> is "
527 #| "B<FTW_D>), this return value will prevent objects within that directory "
528 #| "from being passed as arguments to I<fn>(). B<nftw>() continues "
529 #| "processing with the next sibling of the directory."
530 msgid ""
531 "If I<fn>() is called with an entry that is a directory (I<typeflag> is "
532 "B<FTW_D>), this return value will prevent objects within that directory from "
533 "being passed as arguments to I<fn>(). B<nftw>() continues processing with "
534 "the next sibling of the directory."
535 msgstr ""
536 "Si I<fn>() est appelée avec une entrée qui est un répertoire (I<symb_type> a "
537 "pour valeur B<FTW_D>), cette valeur de retour empêchera le passage des "
538 "objets de ce répertoire comme arguments à I<fn>() et B<nftw>() continuera "
539 "avec l'entrée suivante de même niveau du répertoire."
540
541 #. type: TP
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 #, no-wrap
545 msgid "B<FTW_STOP>"
546 msgstr "B<FTW_STOP>"
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid ""
552 "Causes B<nftw>() to return immediately with the return value B<FTW_STOP>."
553 msgstr ""
554 "B<nftw>() doit quitter immédiatement avec la valeur de retour B<FTW_STOP>."
555
556 #. type: Plain text
557 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
558 #: opensuse-tumbleweed
559 #, fuzzy
560 #| msgid ""
561 #| "Other return values could be associated with new actions in the future; "
562 #| "I<fn>() should not return values other than those listed above."
563 msgid ""
564 "Other return values could be associated with new actions in the future; "
565 "I<fn>() should not return values other than those listed above."
566 msgstr ""
567 "D'autres valeurs de retour pourront être associées à de nouvelles actions "
568 "dans le futur\\ ; I<fn> ne devrait renvoyer que les valeurs citées ci-dessus."
569
570 #. type: Plain text
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 msgid ""
574 "The feature test macro B<_GNU_SOURCE> must be defined (before including "
575 "I<any> header files) in order to obtain the definition of "
576 "B<FTW_ACTIONRETVAL> from I<E<lt>ftw.hE<gt>>."
577 msgstr ""
578 "La macro de test B<_GNU_SOURCE> doit être définie (avant I<toute> inclusion "
579 "de fichiers d'en-tête) afin d'obtenir la définition de B<FTW_ACTIONRETVAL> "
580 "depuis I<E<lt>ftw.hE<gt>>."
581
582 #. type: TP
583 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
584 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
585 #, no-wrap
586 msgid "B<FTW_CHDIR>"
587 msgstr "B<FTW_CHDIR>"
588
589 #. type: Plain text
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 msgid ""
593 "If set, do a B<chdir>(2) to each directory before handling its contents. "
594 "This is useful if the program needs to perform some action in the directory "
595 "in which I<fpath> resides. (Specifying this flag has no effect on the "
596 "pathname that is passed in the I<fpath> argument of I<fn>.)"
597 msgstr ""
598 "Si cet attribut est défini, faire un B<chdir>(2) vers chaque répertoire "
599 "avant de traiter son contenu. Cela est utile si le programme doit exécuter "
600 "des actions dans le répertoire où I<chemin_fichier> réside (préciser ce "
601 "drapeau n’a aucun effet sur le nom de chemin passé dans l’argument de "
602 "I<chemin_fichier> de I<fn>)."
603
604 #. type: TP
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid "B<FTW_DEPTH>"
609 msgstr "B<FTW_DEPTH>"
610
611 #. type: Plain text
612 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
613 #: opensuse-tumbleweed
614 #, fuzzy
615 #| msgid ""
616 #| "If set, do a post-order traversal, that is, call I<fn>() for the "
617 #| "directory itself I<after> handling the contents of the directory and its "
618 #| "subdirectories. (By default, each directory is handled I<before> its "
619 #| "contents.)"
620 msgid ""
621 "If set, do a post-order traversal, that is, call I<fn>() for the directory "
622 "itself I<after> handling the contents of the directory and its "
623 "subdirectories. (By default, each directory is handled I<before> its "
624 "contents.)"
625 msgstr ""
626 "Si cet attribut est défini, faire une recherche «\\ postorder\\ »\\ ; c'est-"
627 "à-dire, appeler I<fn>() pour le répertoire lui-même I<après> avoir traité "
628 "son contenu et celui de ses sous-répertoires (par défaut chaque répertoire "
629 "est traité I<avant> son contenu)."
630
631 #. type: TP
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "B<FTW_MOUNT>"
636 msgstr "B<FTW_MOUNT>"
637
638 #. type: Plain text
639 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
640 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
641 msgid ""
642 "If set, stay within the same filesystem (i.e., do not cross mount points)."
643 msgstr ""
644 "Si cet attribut est défini, rester dans le même système de fichiers (c’est-à-"
645 "dire, ne pas traverser vers d'autres points de montage)."
646
647 #. type: TP
648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
650 #, no-wrap
651 msgid "B<FTW_PHYS>"
652 msgstr "B<FTW_PHYS>"
653
654 #. type: Plain text
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 msgid ""
658 "If set, do not follow symbolic links. (This is what you want.) If not set, "
659 "symbolic links are followed, but no file is reported twice."
660 msgstr ""
661 "Si cet attribut est défini, ne pas suivre les liens symboliques (c'est ce "
662 "que l'on veut). S'il n'est pas défini, les liens symboliques sont suivis, "
663 "mais aucun fichier n'est traité plus d'une fois."
664
665 #. type: Plain text
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 msgid ""
669 "If B<FTW_PHYS> is not set, but B<FTW_DEPTH> is set, then the function "
670 "I<fn>() is never called for a directory that would be a descendant of "
671 "itself."
672 msgstr ""
673 "Si B<FTW_PHYS> n'est pas défini, mais si B<FTW_DEPTH> l'est, alors la "
674 "fonction I<fn>() n'est jamais appelée pour un répertoire qui ferait partie "
675 "de ses propres descendants."
676
677 #. type: SS
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 #, no-wrap
681 msgid "ftw()"
682 msgstr "B<ftw()>"
683
684 #. type: Plain text
685 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
686 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
687 msgid ""
688 "B<ftw>() is an older function that offers a subset of the functionality of "
689 "B<nftw>(). The notable differences are as follows:"
690 msgstr ""
691 "B<ftw>() est une fonction plus ancienne qui prend en charge un sous-ensemble "
692 "des fonctionnalités de B<nftw>(). Les différences notables sont les "
693 "suivantes :"
694
695 #. type: IP
696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
698 #, no-wrap
699 msgid "\\[bu]"
700 msgstr "-"
701
702 #. type: Plain text
703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
705 msgid ""
706 "B<ftw>() has no I<flags> argument. It behaves the same as when B<nftw>() "
707 "is called with I<flags> specified as zero."
708 msgstr ""
709 "B<ftw>() n'a pas d'argument I<drapeaux>. Elle se comporte comme B<nftw>() "
710 "lorsque cette dernière est appelée avec l'argument I<drapeaux> défini à zéro."
711
712 #. type: Plain text
713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
715 msgid "The callback function, I<fn>(), is not supplied with a fourth argument."
716 msgstr "La fonction de rappel I<fn>() est fournie sans le quatrième argument."
717
718 #. type: Plain text
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 msgid ""
722 "The range of values that is passed via the I<typeflag> argument supplied to "
723 "I<fn>() is smaller: just B<FTW_F>, B<FTW_D>, B<FTW_DNR>, B<FTW_NS>, and "
724 "(possibly) B<FTW_SL>."
725 msgstr ""
726 "Le jeu de valeurs passées à l'aide de l'argument I<symb_type> à I<fn>() est "
727 "plus petit : les seules valeurs valables sont B<FTW_F>, B<FTW_D>, "
728 "B<FTW_DNR>, B<FTW_NS> et (peut-être) B<FTW_SL>."
729
730 #. type: SH
731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
733 #, no-wrap
734 msgid "RETURN VALUE"
735 msgstr "VALEUR RENVOYÉE"
736
737 #. type: Plain text
738 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
739 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
740 msgid "These functions return 0 on success, and -1 if an error occurs."
741 msgstr ""
742 "Ces fonctions renvoient B<0> en cas de succès et B<-1> en cas d'erreur."
743
744 #. type: Plain text
745 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
746 #: opensuse-tumbleweed
747 #, fuzzy
748 #| msgid ""
749 #| "If I<fn>() returns nonzero, then the tree walk is terminated and the "
750 #| "value returned by I<fn>() is returned as the result of B<ftw>() or "
751 #| "B<nftw>()."
752 msgid ""
753 "If I<fn>() returns nonzero, then the tree walk is terminated and the value "
754 "returned by I<fn>() is returned as the result of B<ftw>() or B<nftw>()."
755 msgstr ""
756 "Si I<fn>() renvoie une valeur différente de B<0>, alors le parcours de "
757 "l'arbre se termine et la valeur renvoyée par I<fn>() est renvoyée comme "
758 "résultat de B<ftw>() ou B<nftw>()."
759
760 #. type: Plain text
761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
763 msgid ""
764 "If B<nftw>() is called with the B<FTW_ACTIONRETVAL> flag, then the only "
765 "nonzero value that should be used by I<fn>() to terminate the tree walk is "
766 "B<FTW_STOP>, and that value is returned as the result of B<nftw>()."
767 msgstr ""
768 "Si B<nftw>() est appelée avec l’attribut B<FTW_ACTIONRETVAL>, alors la seule "
769 "valeur différente de B<0> qui pourra être utilisée par I<fn>() pour terminer "
770 "le parcours de l'arbre est B<FTW_STOP>, et cette valeur est renvoyée comme "
771 "résultat de B<nftw>()."
772
773 #. type: SH
774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
776 #, no-wrap
777 msgid "ATTRIBUTES"
778 msgstr "ATTRIBUTS"
779
780 #. type: Plain text
781 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
782 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
783 msgid ""
784 "For an explanation of the terms used in this section, see B<attributes>(7)."
785 msgstr ""
786 "Pour une explication des termes utilisés dans cette section, consulter "
787 "B<attributes>(7)."
788
789 #. type: tbl table
790 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
791 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
792 #, no-wrap
793 msgid "Interface"
794 msgstr "Interface"
795
796 #. type: tbl table
797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
799 #, no-wrap
800 msgid "Attribute"
801 msgstr "Attribut"
802
803 #. type: tbl table
804 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
805 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
806 #, no-wrap
807 msgid "Value"
808 msgstr "Valeur"
809
810 #. type: tbl table
811 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
812 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
813 #, no-wrap
814 msgid ".na\n"
815 msgstr ".na\n"
816
817 #. type: tbl table
818 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
819 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
820 #, no-wrap
821 msgid ".nh\n"
822 msgstr ".nh\n"
823
824 #. type: TP
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 #, no-wrap
828 msgid "B<nftw>()"
829 msgstr "B<nftw>()"
830
831 #. type: tbl table
832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
834 #, no-wrap
835 msgid "Thread safety"
836 msgstr "Sécurité des threads"
837
838 #. type: tbl table
839 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
840 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
841 #, no-wrap
842 msgid "MT-Safe cwd"
843 msgstr "MT-Safe cwd"
844
845 #. type: TP
846 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
847 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
848 #, no-wrap
849 msgid "B<ftw>()"
850 msgstr "B<ftw>()"
851
852 #. type: tbl table
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 #, no-wrap
856 msgid "MT-Safe"
857 msgstr "MT-Safe"
858
859 #. type: SH
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 #, no-wrap
863 msgid "VERSIONS"
864 msgstr "VERSIONS"
865
866 #. type: Plain text
867 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
868 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
869 msgid ""
870 "In some implementations (e.g., glibc), B<ftw>() will never use B<FTW_SL>; "
871 "on other systems B<FTW_SL> occurs only for symbolic links that do not point "
872 "to an existing file; and again on other systems B<ftw>() will use B<FTW_SL> "
873 "for each symbolic link. If I<fpath> is a symbolic link and B<stat>(2) "
874 "failed, POSIX.1-2008 states that it is undefined whether B<FTW_NS> or "
875 "B<FTW_SL> is passed in I<typeflag>. For predictable results, use B<nftw>()."
876 msgstr ""
877 "Dans certaines implémentations (par exemple la glibc), B<ftw>() n'utilise "
878 "jamais B<FTW_SL> ; sur d'autres systèmes, B<FTW_SL> n'apparaît que pour les "
879 "liens symboliques qui ne pointent vers aucun fichier existant ; sur d'autres "
880 "encore, B<ftw>() utilise B<FTW_SL> pour chaque lien symbolique. Si "
881 "I<chemin_fichier> est un lien symbolique et si B<stat>(2) échoue, "
882 "POSIX.1-2008 indique que le résultat est indéfini si B<FTW_NS> ou B<FTW_SL> "
883 "sont définis dans I<symbole_type>. Pour un fonctionnement prévisible, "
884 "employez B<nftw>()."
885
886 #. type: SH
887 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
888 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
889 #, no-wrap
890 msgid "STANDARDS"
891 msgstr "NORMES"
892
893 #. type: Plain text
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 msgid "POSIX.1-2008."
897 msgstr "POSIX.1-2008."
898
899 #. type: SH
900 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
901 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
902 #, no-wrap
903 msgid "HISTORY"
904 msgstr "HISTORIQUE"
905
906 #. type: Plain text
907 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
908 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
909 msgid "POSIX.1-2001, SVr4, SUSv1. POSIX.1-2008 marks it as obsolete."
910 msgstr ""
911 "POSIX.1-2001, SVr4, SVr4, SUSv1. POSIX.1-2008 marque la fonction comme étant "
912 "obsolète."
913
914 #. type: Plain text
915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
917 msgid "glibc 2.1. POSIX.1-2001, SUSv1."
918 msgstr "glibc 2.1. POSIX.1-2001, SUSv1."
919
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 "POSIX.1-2001, SUSv1."
924 msgstr "POSIX.1-2001, SUSv1."
925
926 #. type: SH
927 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
928 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
929 #, no-wrap
930 msgid "NOTES"
931 msgstr "NOTES"
932
933 #. type: Plain text
934 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
935 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
936 msgid ""
937 "POSIX.1-2008 notes that the results are unspecified if I<fn> does not "
938 "preserve the current working directory."
939 msgstr ""
940 "POSIX.1-2008 indique que les résultats sont imprévisibles si I<fn> ne "
941 "préserve pas le répertoire de travail actuel."
942
943 #. type: SH
944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
945 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
946 #, no-wrap
947 msgid "BUGS"
948 msgstr "BOGUES"
949
950 #. https://bugzilla.redhat.com/show_bug.cgi?id=1422736
951 #. http://austingroupbugs.net/view.php?id=1121
952 #. glibc commit 6ba205b2c35e3e024c8c12d2ee1b73363e84da87
953 #. https://sourceware.org/bugzilla/show_bug.cgi?id=23501
954 #. type: Plain text
955 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
956 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
957 msgid ""
958 "According to POSIX.1-2008, when the I<typeflag> argument passed to I<fn>() "
959 "contains B<FTW_SLN>, the buffer pointed to by I<sb> should contain "
960 "information about the dangling symbolic link (obtained by calling "
961 "B<lstat>(2) on the link). Early glibc versions correctly followed the "
962 "POSIX specification on this point. However, as a result of a regression "
963 "introduced in glibc 2.4, the contents of the buffer pointed to by I<sb> were "
964 "undefined when B<FTW_SLN> is passed in I<typeflag>. (More precisely, the "
965 "contents of the buffer were left unchanged in this case.) This regression "
966 "was eventually fixed in glibc 2.30, so that the glibc implementation (once "
967 "more) follows the POSIX specification."
968 msgstr ""
969 "Selon POSIX.1-2008, lorsque l'argument I<symb_type> passé à I<fn>() contient "
970 "B<FTW_SLN>, le tampon pointé par I<sb> doit contenir des informations à "
971 "propos du lien symbolique pointant nulle part (obtenues en appelant "
972 "B<lstat>(2) sur le lien), et les premières versions de la glibc respectaient "
973 "la spécification POSIX sur ce point. Cependant, suite à une régression "
974 "introduite dans la version\\ 2.4 de la glibc, le contenu du tampon pointé "
975 "par I<sb> devint indéfini lorsque B<FTW_SLN> était défini dans I<symb_type> "
976 "(plus précisément, le contenu du tampon restait inchangé dans ce cas). Cette "
977 "régression fut finalement corrigée dans la version\\ 2.30 de la glibc de "
978 "façon à ce que l'implémentation de la glibc suive à nouveau la spécification "
979 "POSIX."
980
981 #. type: SH
982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
984 #, no-wrap
985 msgid "EXAMPLES"
986 msgstr "EXEMPLES"
987
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 "The following program traverses the directory tree under the path named in "
993 "its first command-line argument, or under the current directory if no "
994 "argument is supplied. It displays various information about each file. The "
995 "second command-line argument can be used to specify characters that control "
996 "the value assigned to the I<flags> argument when calling B<nftw>()."
997 msgstr ""
998 "Le programme suivant parcourt l'arbre des répertoires du chemin donné en "
999 "premier argument de la ligne de commande ou du répertoire courant s'il n'est "
1000 "pas indiqué. Il affiche diverses informations à propos de chaque fichier. Le "
1001 "second argument de la ligne de commande peut être utilisé pour indiquer les "
1002 "caractères qui contrôlent la valeur assignée à l'argument I<drapeaux> lors "
1003 "des appels à B<nftw>()."
1004
1005 #. type: SS
1006 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1007 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1008 #, no-wrap
1009 msgid "Program source"
1010 msgstr "Source du programme"
1011
1012 #. type: Plain text
1013 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1014 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1015 #, no-wrap
1016 msgid ""
1017 "#define _XOPEN_SOURCE 500\n"
1018 "#include E<lt>ftw.hE<gt>\n"
1019 "#include E<lt>stdint.hE<gt>\n"
1020 "#include E<lt>stdio.hE<gt>\n"
1021 "#include E<lt>stdlib.hE<gt>\n"
1022 "#include E<lt>string.hE<gt>\n"
1023 "\\&\n"
1024 "static int\n"
1025 "display_info(const char *fpath, const struct stat *sb,\n"
1026 " int tflag, struct FTW *ftwbuf)\n"
1027 "{\n"
1028 " printf(\"%-3s %2d \",\n"
1029 " (tflag == FTW_D) ? \"d\" : (tflag == FTW_DNR) ? \"dnr\" :\n"
1030 " (tflag == FTW_DP) ? \"dp\" : (tflag == FTW_F) ? \"f\" :\n"
1031 " (tflag == FTW_NS) ? \"ns\" : (tflag == FTW_SL) ? \"sl\" :\n"
1032 " (tflag == FTW_SLN) ? \"sln\" : \"???\",\n"
1033 " ftwbuf-E<gt>level);\n"
1034 "\\&\n"
1035 " if (tflag == FTW_NS)\n"
1036 " printf(\"-------\");\n"
1037 " else\n"
1038 " printf(\"%7jd\", (intmax_t) sb-E<gt>st_size);\n"
1039 "\\&\n"
1040 " printf(\" %-40s %d %s\\[rs]n\",\n"
1041 " fpath, ftwbuf-E<gt>base, fpath + ftwbuf-E<gt>base);\n"
1042 "\\&\n"
1043 " return 0; /* To tell nftw() to continue */\n"
1044 "}\n"
1045 "\\&\n"
1046 "int\n"
1047 "main(int argc, char *argv[])\n"
1048 "{\n"
1049 " int flags = 0;\n"
1050 "\\&\n"
1051 " if (argc E<gt> 2 && strchr(argv[2], \\[aq]d\\[aq]) != NULL)\n"
1052 " flags |= FTW_DEPTH;\n"
1053 " if (argc E<gt> 2 && strchr(argv[2], \\[aq]p\\[aq]) != NULL)\n"
1054 " flags |= FTW_PHYS;\n"
1055 "\\&\n"
1056 " if (nftw((argc E<lt> 2) ? \".\" : argv[1], display_info, 20, flags)\n"
1057 " == -1)\n"
1058 " {\n"
1059 " perror(\"nftw\");\n"
1060 " exit(EXIT_FAILURE);\n"
1061 " }\n"
1062 "\\&\n"
1063 " exit(EXIT_SUCCESS);\n"
1064 "}\n"
1065 msgstr ""
1066 "#define _XOPEN_SOURCE 500\n"
1067 "#include E<lt>ftw.hE<gt>\n"
1068 "#include E<lt>stdint.hE<gt>\n"
1069 "#include E<lt>stdio.hE<gt>\n"
1070 "#include E<lt>stdlib.hE<gt>\n"
1071 "#include E<lt>string.hE<gt>\n"
1072 "\\&\n"
1073 "static int\n"
1074 "display_info(const char *fpath, const struct stat *sb,\n"
1075 " int tflag, struct FTW *ftwbuf)\n"
1076 "{\n"
1077 " printf(\"%-3s %2d \",\n"
1078 " (symb_type == FTW_D) ? \"d\" : (symb_type == FTW_DNR) ? \"dnr\" :\n"
1079 " (symb_type == FTW_DP) ? \"dp\" : (symb_type == FTW_F) ? \"f\" :\n"
1080 " (symb_type == FTW_NS) ? \"ns\" : (symb_type == FTW_SL) ? \"sl\" :\n"
1081 " (symb_type == FTW_SLN) ? \"sln\" : \"???\",\n"
1082 " tampon_ftw-E<gt>level);\n"
1083 "\\&\n"
1084 " if (tflag == FTW_NS)\n"
1085 " printf(\"-------\");\n"
1086 " else\n"
1087 " printf(\"%7jd\", (intmax_t) sb-E<gt>st_size);\n"
1088 "\\&\n"
1089 " printf(\" %-40s %d %s\\[rs]n\",\n"
1090 " chemin_fichier, tampon_ftw-E<gt>base, chemin_fichier + tampon_ftw-E<gt>base);\n"
1091 "\\&\n"
1092 " return 0; /* Pour dire à nftw() de continuer */\n"
1093 "}\n"
1094 "\\&\n"
1095 "int\n"
1096 "main(int argc, char *argv[])\n"
1097 "{\n"
1098 " int flags = 0;\n"
1099 "\\&\n"
1100 " if (argc E<gt> 2 && strchr(argv[2], \\[aq]d\\[aq]) != NULL)\n"
1101 " flags |= FTW_DEPTH;\n"
1102 " if (argc E<gt> 2 && strchr(argv[2], \\[aq]p\\[aq]) != NULL)\n"
1103 " flags |= FTW_PHYS;\n"
1104 "\\&\n"
1105 " if (nftw((argc E<lt> 2) ? \".\" : argv[1], display_info, 20, flags)\n"
1106 " == -1)\n"
1107 " {\n"
1108 " perror(\"nftw\");\n"
1109 " exit(EXIT_FAILURE);\n"
1110 " }\n"
1111 "\\&\n"
1112 " exit(EXIT_SUCCESS);\n"
1113 "}\n"
1114
1115 #. SRC END
1116 #. type: SH
1117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1119 #, no-wrap
1120 msgid "SEE ALSO"
1121 msgstr "VOIR AUSSI"
1122
1123 #. type: Plain text
1124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1126 msgid "B<stat>(2), B<fts>(3), B<readdir>(3)"
1127 msgstr "B<stat>(2), B<fts>(3), B<readdir>(3)"
1128
1129 #. type: TH
1130 #: debian-trixie
1131 #, no-wrap
1132 msgid "2024-06-15"
1133 msgstr "15 juin 2024"
1134
1135 #. type: TH
1136 #: debian-trixie
1137 #, no-wrap
1138 msgid "Linux man-pages 6.9.1"
1139 msgstr "Pages du manuel de Linux 6.9.1"
1140
1141 #. type: Plain text
1142 #: debian-trixie
1143 msgid "Standard C library (I<libc>, I<-lc>)"
1144 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
1145
1146 #. type: Plain text
1147 #: debian-trixie
1148 #, no-wrap
1149 msgid ""
1150 "B<int nftw(const char *>I<dirpath>B<,>\n"
1151 "B< int (*>I<fn>B<)(const char *>I<fpath>B<, const struct stat *>I<sb>B<,>\n"
1152 "B< int >I<typeflag>B<, struct FTW *>I<ftwbuf>B<),>\n"
1153 "B< int >I<nopenfd>B<, int >I<flags>B<);>\n"
1154 msgstr ""
1155 "B<int nftw(const char *>I<chemin_répertoire>B<,>\n"
1156 "B< int (*>I<fn>B<)(const char *>I<chemin_fichier>B<, const struct stat *>I<sb>B<,>\n"
1157 "B< int >I<symb_type>B<, struct FTW *>I<tampon_ftw>B<),>\n"
1158 "B< int >I<nb_descripteurs_fichier_ouverts>B<, int >I<drapeaux>B<);>\n"
1159
1160 #. type: Plain text
1161 #: debian-trixie
1162 #, no-wrap
1163 msgid ""
1164 "B<[[deprecated]]>\n"
1165 "B<int ftw(const char *>I<dirpath>B<,>\n"
1166 "B< int (*>I<fn>B<)(const char *>I<fpath>B<, const struct stat *>I<sb>B<,>\n"
1167 "B< int >I<typeflag>B<),>\n"
1168 "B< int >I<nopenfd>B<);>\n"
1169 msgstr ""
1170 "B<[[deprecated]]>\n"
1171 "B<int ftw(const char *>I<chemin_répertoire>B<,>\n"
1172 "B< int (*>I<fn>B<) (const char *>I<chemin_fichier>B<, const struct stat *>I<sb>B<,>\n"
1173 "B< int >I<symb_type>B<),>\n"
1174 "B< int >I<nb_descripteurs_fichier_ouverts>B<);>\n"
1175
1176 #. type: Plain text
1177 #: debian-trixie fedora-44 fedora-rawhide
1178 msgid ""
1179 "B<nftw>() walks through the directory tree that is located under the "
1180 "directory I<dirpath>, and calls I<fn>() once for each entry in the tree. By "
1181 "default, directories are handled before the files and subdirectories they "
1182 "contain (preorder traversal)."
1183 msgstr ""
1184 "La fonction B<nftw>() parcourt l'arborescence de fichiers située dans le "
1185 "répertoire I<chemin_répertoire> et appelle I<fn>() une fois pour chaque "
1186 "entrée de l'arborescence. Par défaut, les répertoires sont traités avant les "
1187 "fichiers et sous-répertoires qu'ils contiennent (méthode de parcours "
1188 "« preorder »)."
1189
1190 #. type: Plain text
1191 #: debian-trixie fedora-44 fedora-rawhide
1192 msgid ""
1193 "For each entry found in the tree, B<nftw>() calls I<fn>() with four "
1194 "arguments: I<fpath>, I<sb>, I<typeflag>, and I<ftwbuf>. I<fpath> is the "
1195 "pathname of the entry, and is expressed either as a pathname relative to the "
1196 "calling process's current working directory at the time of the call to "
1197 "B<nftw>(), if I<dirpath> was expressed as a relative pathname, or as an "
1198 "absolute pathname, if I<dirpath> was expressed as an absolute pathname. "
1199 "I<sb> is a pointer to the I<stat> structure returned by a call to "
1200 "B<stat>(2) for I<fpath>."
1201 msgstr ""
1202 "Pour chaque entrée trouvée dans l'arbre, B<nftw>() appelle I<fn>() avec "
1203 "quatre arguments\\ : I<chemin_fichier>, I<sb>, I<symb_type> et "
1204 "I<tampon_ftw>. I<chemin_fichier> est le chemin de l'entrée ; il est défini "
1205 "comme un chemin relatif au répertoire de travail actuel du processus "
1206 "appelant au moment de l'appel à B<nftw>() si I<chemin_répertoire> est un "
1207 "chemin relatif, ou comme un chemin absolu si I<chemin_répertoire> est un "
1208 "chemin absolu. I<sb> est un pointeur vers la structure I<stat> renvoyée par "
1209 "un appel à B<stat>(2) pour I<chemin_fichier>."
1210
1211 #. type: Plain text
1212 #: debian-trixie fedora-44 fedora-rawhide
1213 msgid ""
1214 "To stop the tree walk, I<fn>() returns a nonzero value; this value will "
1215 "become the return value of B<nftw>(). As long as I<fn>() returns 0, "
1216 "B<nftw>() will continue either until it has traversed the entire tree, in "
1217 "which case it will return zero, or until it encounters an error (such as a "
1218 "B<malloc>(3) failure), in which case it will return -1."
1219 msgstr ""
1220 "Pour arrêter le parcours de l'arborescence des fichiers, la fonction I<fn>() "
1221 "renvoie une valeur différente de B<0>, qui deviendra la valeur de retour de "
1222 "B<nftw>(). Tant que I<fn>() renvoie B<0>, B<nftw>() continuera jusqu'à la "
1223 "fin du parcours de l'arborescence, et dans ce cas renverra B<0>, ou jusqu'à "
1224 "ce qu'une erreur se produise (comme un échec de B<malloc>(3)) et dans ce cas "
1225 "renverra B<-1>."
1226
1227 #. If \fBFTW_DEPTH\fP
1228 #. is set, the entry's parent directory is processed next (with
1229 #. \fIflag\fP set to \fBFTW_DP\fP).
1230 #. type: Plain text
1231 #: debian-trixie fedora-44 fedora-rawhide
1232 msgid ""
1233 "If I<fn>() returns this value, then siblings of the current entry will be "
1234 "skipped, and processing continues in the parent."
1235 msgstr ""
1236 "Si I<fn>() renvoie cette valeur, alors les entrées de même niveau que "
1237 "l'entrée courante seront sautées, et la procédure continuera avec le parent."
1238
1239 #. type: Plain text
1240 #: debian-trixie fedora-44 fedora-rawhide
1241 msgid ""
1242 "If I<fn>() is called with an entry that is a directory (I<typeflag> is "
1243 "B<FTW_D>), this return value will prevent objects within that directory from "
1244 "being passed as arguments to I<fn>(). B<nftw>() continues processing with "
1245 "the next sibling of the directory."
1246 msgstr ""
1247 "Si I<fn>() est appelée avec une entrée qui est un répertoire (I<symb_type> a "
1248 "pour valeur B<FTW_D>), cette valeur de retour empêchera le passage des "
1249 "objets de ce répertoire comme arguments à I<fn>() et B<nftw>() continuera "
1250 "avec l'entrée suivante de même niveau du répertoire."
1251
1252 #. type: Plain text
1253 #: debian-trixie fedora-44 fedora-rawhide
1254 msgid ""
1255 "Other return values could be associated with new actions in the future; "
1256 "I<fn>() should not return values other than those listed above."
1257 msgstr ""
1258 "D'autres valeurs de retour pourront être associées à de nouvelles actions "
1259 "dans le futur\\ ; I<fn> ne devrait renvoyer que les valeurs citées ci-dessus."
1260
1261 #. type: Plain text
1262 #: debian-trixie fedora-44 fedora-rawhide
1263 msgid ""
1264 "If set, do a post-order traversal, that is, call I<fn>() for the directory "
1265 "itself I<after> handling the contents of the directory and its "
1266 "subdirectories. (By default, each directory is handled I<before> its "
1267 "contents.)"
1268 msgstr ""
1269 "Si cet attribut est défini, faire une recherche «\\ postorder\\ »\\ ; c'est-"
1270 "à-dire, appeler I<fn>() pour le répertoire lui-même I<après> avoir traité "
1271 "son contenu et celui de ses sous-répertoires (par défaut chaque répertoire "
1272 "est traité I<avant> son contenu)."
1273
1274 #. type: Plain text
1275 #: debian-trixie fedora-44 fedora-rawhide
1276 msgid ""
1277 "If I<fn>() returns nonzero, then the tree walk is terminated and the value "
1278 "returned by I<fn>() is returned as the result of B<ftw>() or B<nftw>()."
1279 msgstr ""
1280 "Si I<fn>() renvoie une valeur différente de B<0>, alors le parcours de "
1281 "l'arbre se termine et la valeur renvoyée par I<fn>() est renvoyée comme "
1282 "résultat de B<ftw>() ou B<nftw>()."
1283
1284 #. type: TH
1285 #: fedora-44 fedora-rawhide
1286 #, no-wrap
1287 msgid "2024-12-13"
1288 msgstr "13 décembre 2024"
1289
1290 #. type: TH
1291 #: fedora-44 fedora-rawhide
1292 #, no-wrap
1293 msgid "Linux man-pages 6.13"
1294 msgstr "Pages du manuel de Linux 6.13"
1295
1296 #. type: TH
1297 #: mageia-cauldron
1298 #, no-wrap
1299 msgid "Linux man-pages 6.17"
1300 msgstr "Pages du manuel de Linux 6.17"
1301
1302 #. type: TH
1303 #: opensuse-leap-16-1 opensuse-tumbleweed
1304 #, no-wrap
1305 msgid "Linux man-pages (unreleased)"
1306 msgstr "Pages du manuel de Linux (non publiées)"