Debian Codegraph @

po/fr/man3/scandir.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 # Grégoire Scano <[email protected]>, 2021.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.22.0\n"
22 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
23 "PO-Revision-Date: 2024-05-20 12:14+0200\n"
24 "Last-Translator: Grégoire Scano <[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: Lokalize 22.12.3\n"
32
33 #. type: TH
34 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
35 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
36 #, no-wrap
37 msgid "scandir"
38 msgstr "scandir"
39
40 #. type: TH
41 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
42 #: opensuse-tumbleweed
43 #, no-wrap
44 msgid "2026-02-08"
45 msgstr "8 février 2026"
46
47 #. type: TH
48 #: archlinux debian-unstable
49 #, no-wrap
50 msgid "Linux man-pages 6.18"
51 msgstr "Pages du manuel de Linux 6.18"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "NAME"
58 msgstr "NOM"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid ""
64 "scandir, scandirat, alphasort, versionsort - scan a directory for matching "
65 "entries"
66 msgstr ""
67 "scandir, scandirat, alphasort, versionsort - Sélectionner des éléments d'un "
68 "répertoire"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "LIBRARY"
75 msgstr "BIBLIOTHÈQUE"
76
77 #. type: Plain text
78 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
79 #: opensuse-leap-16-1 opensuse-tumbleweed
80 msgid "Standard C library (I<libc>,\\ I<-lc>)"
81 msgstr "Bibliothèque C standard (I<libc>,\\ I<-lc>)"
82
83 #. type: SH
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid "SYNOPSIS"
88 msgstr "SYNOPSIS"
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid "B<#include E<lt>dirent.hE<gt>>\n"
95 msgstr "B<#include E<lt>dirent.hE<gt>>\n"
96
97 #. type: Plain text
98 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
99 #: opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid ""
102 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
103 "B< struct dirent ***restrict >I<namelist>B<,>\n"
104 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
105 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
106 "B< *>I<compar>B<);>\n"
107 msgstr ""
108 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
109 "B< struct dirent ***restrict >I<namelist>B<,>\n"
110 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
111 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
112 "B< *>I<compar>B<);>\n"
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 #, no-wrap
118 msgid ""
119 "B<int alphasort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
120 "B<int versionsort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
121 msgstr ""
122 "B<int alphasort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
123 "B<int versionsort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid ""
130 "B<#include E<lt>fcntl.hE<gt>> /* Definition of AT_* constants */\n"
131 "B<#include E<lt>dirent.hE<gt>>\n"
132 msgstr ""
133 "B<#include E<lt>fcntl.hE<gt>> /* Définition des constantes AT_* */\n"
134 "B<#include E<lt>dirent.hE<gt>>\n"
135
136 #. type: Plain text
137 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
138 #: opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid ""
141 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
142 "B< struct dirent ***restrict >I<namelist>B<,>\n"
143 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
144 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
145 "B< *>I<compar>B<);>\n"
146 msgstr ""
147 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
148 "B< struct dirent ***restrict >I<namelist>B<,>\n"
149 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
150 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
151 "B< *>I<compar>B<);>\n"
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid ""
157 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
158 msgstr ""
159 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
160 "B<feature_test_macros>(7)) :"
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid "B<scandir>(), B<alphasort>():"
166 msgstr "B<scandir>(), B<alphasort>() :"
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 #, no-wrap
172 msgid ""
173 " /* Since glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
174 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
175 msgstr ""
176 " /* Depuis la glibc 2.10 : */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L\n"
177 " || /* glibc E<lt>= 2.19 : */ _BSD_SOURCE\n"
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
182 msgid "B<versionsort>():"
183 msgstr "B<versionsort>() :"
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid " _GNU_SOURCE\n"
190 msgstr " _GNU_SOURCE\n"
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 msgid "B<scandirat>():"
196 msgstr "B<scandirat>() :"
197
198 #. type: SH
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "DESCRIPTION"
203 msgstr "DESCRIPTION"
204
205 #. type: Plain text
206 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
207 #: opensuse-tumbleweed
208 #, fuzzy
209 #| msgid ""
210 #| "The B<scandir>() function scans the directory I<dirp>, calling "
211 #| "I<filter>() on each directory entry. Entries for which I<filter>() "
212 #| "returns nonzero are stored in strings allocated via B<malloc>(3), sorted "
213 #| "using B<qsort>(3) with the comparison function I<compar>(), and "
214 #| "collected in array I<namelist> which is allocated via B<malloc>(3). If "
215 #| "I<filter> is NULL, all entries are selected."
216 msgid ""
217 "The B<scandir>() function scans the directory I<dirp>, calling I<filter>() "
218 "on each directory entry. Entries for which I<filter>() returns nonzero are "
219 "stored in strings allocated via B<malloc>(3), sorted using B<qsort>(3) with "
220 "the comparison function I<compar>(), and collected in array I<namelist> "
221 "which is allocated via B<malloc>(3). If I<filter> is NULL, all entries are "
222 "selected."
223 msgstr ""
224 "La fonction B<scandir>() examine le répertoire I<dirp>, en appelant "
225 "I<filter>() pour chaque élément rencontré. Les entrées pour lesquelles "
226 "I<filter>() renvoie une valeur non nulle sont stockées dans une table "
227 "allouée avec B<malloc>(3), triées avec B<qsort>(3) en utilisant la fonction "
228 "de comparaison I<compar>(), puis regroupées dans une table I<namelist> "
229 "allouée avec B<malloc>(3). Si I<filter> est NULL, toutes les entrées sont "
230 "sélectionnées."
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid ""
236 "The B<alphasort>() and B<versionsort>() functions can be used as the "
237 "comparison function I<compar>(). The former sorts directory entries using "
238 "B<strcoll>(3), the latter using B<strverscmp>(3) on the strings I<(*a)-"
239 "E<gt>d_name> and I<(*b)-E<gt>d_name>."
240 msgstr ""
241 "Les fonctions B<alphasort>() et B<versionsort>() peuvent être utilisées "
242 "comme la fonction de comparaison I<compar>. La première trie les entrées du "
243 "répertoire en ordre alphabétique en utilisant B<strcoll>(3), la seconde en "
244 "utilisant B<strverscmp>(3) sur les chaînes I<(*a)-E<gt>d_name> et I<(*b)-"
245 "E<gt>d_name>."
246
247 #. type: SS
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "scandirat()"
252 msgstr "scandirat()"
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "The B<scandirat>() function operates in exactly the same way as "
259 "B<scandir>(), except for the differences described here."
260 msgstr ""
261 "La fonction B<scandirat>() fonctionne exactement comme B<scandir>(), les "
262 "seules différences étant décrites ici."
263
264 #. type: Plain text
265 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
266 #: opensuse-tumbleweed
267 #, fuzzy
268 #| msgid ""
269 #| "If the pathname given in I<dirp> is relative, then it is interpreted "
270 #| "relative to the directory referred to by the file descriptor I<dirfd> "
271 #| "(rather than relative to the current working directory of the calling "
272 #| "process, as is done by B<scandir>() for a relative pathname)."
273 msgid ""
274 "If I<dirp> is relative, then it is interpreted relative to the directory "
275 "referred to by the file descriptor I<dirfd> (rather than relative to the "
276 "current working directory of the calling process, as is done by "
277 "B<scandir>() for a relative pathname)."
278 msgstr ""
279 "Si le nom de chemin donné dans I<dirp> est relatif, il est considéré relatif "
280 "au répertoire référencé par le descripteur de fichier I<dirfd> (plutôt que "
281 "relatif au répertoire de travail actuel du processus appelant, comme avec "
282 "B<scandir>() pour un nom de chemin relatif)."
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "If I<dirp> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
289 "I<dirp> is interpreted relative to the current working directory of the "
290 "calling process (like B<scandir>())."
291 msgstr ""
292 "Si I<dirp> est relatif et que I<dirfd> est la valeur particulière "
293 "B<AT_FDCWD>, alors I<dirp> est considéré relatif au répertoire de travail "
294 "actuel du processus appelant (comme B<scandir>())."
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 msgid "If I<dirp> is absolute, then I<dirfd> is ignored."
300 msgstr "Si I<dirp> est absolu, alors I<dirfd> est ignoré."
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid "See B<openat>(2) for an explanation of the need for B<scandirat>()."
306 msgstr ""
307 "Consultez B<openat>(2) pour une explication sur la nécessité de "
308 "B<scandirat>()."
309
310 #. type: SH
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "RETURN VALUE"
315 msgstr "VALEUR RENVOYÉE"
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "The B<scandir>() function returns the number of directory entries "
322 "selected. On error, -1 is returned, with I<errno> set to indicate the error."
323 msgstr ""
324 "La fonction B<scandir>() renvoie le nombre d'entrées du répertoire "
325 "sélectionné si elle réussit, ou B<-1> si elle échoue, avec I<errno> "
326 "contenant le code d'erreur."
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 "The B<alphasort>() and B<versionsort>() functions return an integer less "
333 "than, equal to, or greater than zero if the first argument is considered to "
334 "be respectively less than, equal to, or greater than the second."
335 msgstr ""
336 "Les fonctions B<alphasort>() et B<versionsort>() renvoient un entier "
337 "négatif, nul ou positif si le premier argument est respectivement inférieur, "
338 "égal ou supérieur au second."
339
340 #. type: SH
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "ERRORS"
345 msgstr "ERREURS"
346
347 #. type: TP
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "B<EBADF>"
352 msgstr "B<EBADF>"
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid ""
358 "(B<scandirat>()) I<dirp> is relative but I<dirfd> is neither B<AT_FDCWD> "
359 "nor a valid file descriptor."
360 msgstr ""
361 "(B<scandirat>()) I<dirp> est relatif mais I<dirfd> n'est ni B<AT_FDCWD>, ni "
362 "un descripteur de fichier valable."
363
364 #. type: TP
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "B<ENOENT>"
369 msgstr "B<ENOENT>"
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 msgid "The path in I<dirp> does not exist."
375 msgstr "Le chemin n'existe pas dans I<dirp>."
376
377 #. type: TP
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "B<ENOMEM>"
382 msgstr "B<ENOMEM>"
383
384 #. type: Plain text
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 msgid "Insufficient memory to complete the operation."
388 msgstr "Pas assez de mémoire pour terminer l'opération."
389
390 #. type: TP
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 #, no-wrap
394 msgid "B<ENOTDIR>"
395 msgstr "B<ENOTDIR>"
396
397 #. type: Plain text
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 msgid "The path in I<dirp> is not a directory."
401 msgstr "Le chemin n'est pas un répertoire de I<dirp>."
402
403 #. type: Plain text
404 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
405 #: opensuse-tumbleweed
406 #, fuzzy
407 #| msgid ""
408 #| "(B<scandirat>()) I<dirp> is a relative pathname and I<dirfd> is a file "
409 #| "descriptor referring to a file other than a directory."
410 msgid ""
411 "(B<scandirat>()) I<dirp> is relative and I<dirfd> is a file descriptor "
412 "referring to a file other than a directory."
413 msgstr ""
414 "(B<scandirat>()) I<dirp> est un chemin relatif et I<dirfd> est un "
415 "descripteur de fichier référençant un fichier qui n'est pas un répertoire."
416
417 #. type: SH
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 #, no-wrap
421 msgid "ATTRIBUTES"
422 msgstr "ATTRIBUTS"
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid ""
428 "For an explanation of the terms used in this section, see B<attributes>(7)."
429 msgstr ""
430 "Pour une explication des termes utilisés dans cette section, consulter "
431 "B<attributes>(7)."
432
433 #. type: tbl table
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "Interface"
438 msgstr "Interface"
439
440 #. type: tbl table
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "Attribute"
445 msgstr "Attribut"
446
447 #. type: tbl table
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "Value"
452 msgstr "Valeur"
453
454 #. type: tbl table
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid ".na\n"
459 msgstr ".na\n"
460
461 #. type: tbl table
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 #, no-wrap
465 msgid ".nh\n"
466 msgstr ".nh\n"
467
468 #. type: tbl table
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 #, no-wrap
472 msgid ""
473 "B<scandir>(),\n"
474 "B<scandirat>()"
475 msgstr ""
476 "B<scandir>(),\n"
477 "B<scandirat>()"
478
479 #. type: tbl table
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 #, no-wrap
483 msgid "Thread safety"
484 msgstr "Sécurité des threads"
485
486 #. type: tbl table
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 #, no-wrap
490 msgid "MT-Safe"
491 msgstr "MT-Safe"
492
493 #. type: tbl table
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid ""
498 "B<alphasort>(),\n"
499 "B<versionsort>()"
500 msgstr ""
501 "B<alphasort>(),\n"
502 "B<versionsort>()"
503
504 #. type: tbl table
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 #, no-wrap
508 msgid "MT-Safe locale"
509 msgstr "MT-Safe locale"
510
511 #. type: SH
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 #, no-wrap
515 msgid "STANDARDS"
516 msgstr "NORMES"
517
518 #. type: TP
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 #, no-wrap
522 msgid "B<alphasort>()"
523 msgstr "B<alphasort>()"
524
525 #. type: TQ
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 #, no-wrap
529 msgid "B<scandir>()"
530 msgstr "B<scandir>()"
531
532 #. type: Plain text
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 msgid "POSIX.1-2008."
536 msgstr "POSIX.1-2008."
537
538 #. type: TP
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 #, no-wrap
542 msgid "B<versionsort>()"
543 msgstr "B<versionsort>()"
544
545 #. type: TP
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 #, no-wrap
549 msgid "B<scandirat>()"
550 msgstr "B<scandirat>()"
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid "GNU."
556 msgstr "GNU."
557
558 #. type: SH
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, no-wrap
562 msgid "HISTORY"
563 msgstr "HISTORIQUE"
564
565 #. type: Plain text
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 msgid "4.3BSD, POSIX.1-2008."
569 msgstr "4.3BSD, POSIX.1-2008."
570
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid "glibc 2.1."
575 msgstr "glibc 2.1."
576
577 #. .P
578 #. The functions
579 #. .BR scandir ()
580 #. and
581 #. .BR alphasort ()
582 #. are from 4.3BSD, and have been available under Linux since libc4.
583 #. Libc4 and libc5 use the more precise prototype
584 #. .sp
585 #. .nf
586 #. int alphasort(const struct dirent ** a,
587 #. const struct dirent **b);
588 #. .fi
589 #. .sp
590 #. but glibc 2.0 returns to the imprecise BSD prototype.
591 #. type: Plain text
592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
594 msgid "glibc 2.15."
595 msgstr "glibc 2.15."
596
597 #. type: SH
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 #, no-wrap
601 msgid "NOTES"
602 msgstr "NOTES"
603
604 #. type: Plain text
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 msgid ""
608 "Since glibc 2.1, B<alphasort>() calls B<strcoll>(3); earlier it used "
609 "B<strcmp>(3)."
610 msgstr ""
611 "Depuis la version 2.1 de la glibc, la fonction B<alphasort>() invoque "
612 "B<strcoll>(3). Dans les versions précédentes, elle appelait B<strcmp>(3)."
613
614 #. type: Plain text
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 msgid ""
618 "Before glibc 2.10, the two arguments of B<alphasort>() and "
619 "B<versionsort>() were typed as I<const void\\ *>. When B<alphasort>() was "
620 "standardized in POSIX.1-2008, the argument type was specified as the type-"
621 "safe I<const struct dirent\\ **>, and glibc 2.10 changed the definition of "
622 "B<alphasort>() (and the nonstandard B<versionsort>()) to match the "
623 "standard."
624 msgstr ""
625 "Avant la glibc 2.10, les deux arguments de B<alphasort>() et "
626 "B<versionsort>() sont typés comme des I<const void\\ *>. Dans la "
627 "standardisation par POSIX.1-2008 de B<alphasort>(), le type de l'argument "
628 "est le type sûr I<const struct dirent\\ **>, et la glibc 2.10 change cette "
629 "définition d'B<alphasort>() (et le non standard B<versionsort>()) pour se "
630 "conformer à la norme."
631
632 #. type: SH
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 #, no-wrap
636 msgid "EXAMPLES"
637 msgstr "EXEMPLES"
638
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 msgid ""
643 "The program below prints a list of the files in the current directory in "
644 "reverse order."
645 msgstr ""
646 "Le programme suivant imprime une liste des fichiers dans le répertoire "
647 "courant dans l'ordre inverse."
648
649 #. type: SS
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 #, no-wrap
653 msgid "Program source"
654 msgstr "Source du programme"
655
656 #. type: Plain text
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 #, no-wrap
660 msgid ""
661 "#define _DEFAULT_SOURCE\n"
662 "#include E<lt>dirent.hE<gt>\n"
663 "#include E<lt>stdio.hE<gt>\n"
664 "#include E<lt>stdlib.hE<gt>\n"
665 "\\&\n"
666 "int\n"
667 "main(void)\n"
668 "{\n"
669 " struct dirent **namelist;\n"
670 " int n;\n"
671 "\\&\n"
672 " n = scandir(\".\", &namelist, NULL, alphasort);\n"
673 " if (n == -1) {\n"
674 " perror(\"scandir\");\n"
675 " exit(EXIT_FAILURE);\n"
676 " }\n"
677 "\\&\n"
678 " while (n--) {\n"
679 " printf(\"%s\\[rs]n\", namelist[n]-E<gt>d_name);\n"
680 " free(namelist[n]);\n"
681 " }\n"
682 " free(namelist);\n"
683 "\\&\n"
684 " exit(EXIT_SUCCESS);\n"
685 "}\n"
686 msgstr ""
687 "#define _DEFAULT_SOURCE\n"
688 "#include E<lt>dirent.hE<gt>\n"
689 "#include E<lt>stdio.hE<gt>\n"
690 "#include E<lt>stdlib.hE<gt>\n"
691 "\\&\n"
692 "int\n"
693 "main(void)\n"
694 "{\n"
695 " struct dirent **namelist;\n"
696 " int n;\n"
697 "\\&\n"
698 " n = scandir(\".\", &namelist, NULL, alphasort);\n"
699 " if (n == -1) {\n"
700 " perror(\"scandir\");\n"
701 " exit(EXIT_FAILURE);\n"
702 " }\n"
703 "\\&\n"
704 " while (n--) {\n"
705 " printf(\"%s\\[rs]n\", namelist[n]-E<gt>d_name);\n"
706 " free(namelist[n]);\n"
707 " }\n"
708 " free(namelist);\n"
709 "\\&\n"
710 " exit(EXIT_SUCCESS);\n"
711 "}\n"
712
713 #. SRC END
714 #. type: SH
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
717 #, no-wrap
718 msgid "SEE ALSO"
719 msgstr "VOIR AUSSI"
720
721 #. type: Plain text
722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
724 msgid ""
725 "B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), "
726 "B<rewinddir>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
727 "B<strverscmp>(3), B<telldir>(3)"
728 msgstr ""
729 "B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), "
730 "B<rewinddir>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
731 "B<strverscmp>(3), B<telldir>(3)"
732
733 #. type: TH
734 #: debian-trixie
735 #, no-wrap
736 msgid "2024-06-15"
737 msgstr "15 juin 2024"
738
739 #. type: TH
740 #: debian-trixie
741 #, no-wrap
742 msgid "Linux man-pages 6.9.1"
743 msgstr "Pages du manuel de Linux 6.9.1"
744
745 #. type: Plain text
746 #: debian-trixie
747 msgid "Standard C library (I<libc>, I<-lc>)"
748 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
749
750 #. type: Plain text
751 #: debian-trixie
752 #, no-wrap
753 msgid ""
754 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
755 "B< struct dirent ***restrict >I<namelist>B<,>\n"
756 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
757 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
758 "B<const struct dirent **));>\n"
759 msgstr ""
760 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
761 "B< struct dirent ***restrict >I<namelist>B<,>\n"
762 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
763 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
764 "B<const struct dirent **));>\n"
765
766 #. type: Plain text
767 #: debian-trixie
768 #, no-wrap
769 msgid ""
770 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
771 "B< struct dirent ***restrict >I<namelist>B<,>\n"
772 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
773 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
774 "B<const struct dirent **));>\n"
775 msgstr ""
776 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
777 "B< struct dirent ***restrict >I<namelist>B<,>\n"
778 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
779 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
780 "B<const struct dirent **));>\n"
781
782 #. type: Plain text
783 #: debian-trixie fedora-44 fedora-rawhide
784 msgid ""
785 "The B<scandir>() function scans the directory I<dirp>, calling I<filter>() "
786 "on each directory entry. Entries for which I<filter>() returns nonzero are "
787 "stored in strings allocated via B<malloc>(3), sorted using B<qsort>(3) with "
788 "the comparison function I<compar>(), and collected in array I<namelist> "
789 "which is allocated via B<malloc>(3). If I<filter> is NULL, all entries are "
790 "selected."
791 msgstr ""
792 "La fonction B<scandir>() examine le répertoire I<dirp>, en appelant "
793 "I<filter>() pour chaque élément rencontré. Les entrées pour lesquelles "
794 "I<filter>() renvoie une valeur non nulle sont stockées dans une table "
795 "allouée avec B<malloc>(3), triées avec B<qsort>(3) en utilisant la fonction "
796 "de comparaison I<compar>(), puis regroupées dans une table I<namelist> "
797 "allouée avec B<malloc>(3). Si I<filter> est NULL, toutes les entrées sont "
798 "sélectionnées."
799
800 #. type: Plain text
801 #: debian-trixie fedora-44 fedora-rawhide
802 msgid ""
803 "If the pathname given in I<dirp> is relative, then it is interpreted "
804 "relative to the directory referred to by the file descriptor I<dirfd> "
805 "(rather than relative to the current working directory of the calling "
806 "process, as is done by B<scandir>() for a relative pathname)."
807 msgstr ""
808 "Si le nom de chemin donné dans I<dirp> est relatif, il est considéré relatif "
809 "au répertoire référencé par le descripteur de fichier I<dirfd> (plutôt que "
810 "relatif au répertoire de travail actuel du processus appelant, comme avec "
811 "B<scandir>() pour un nom de chemin relatif)."
812
813 #. type: Plain text
814 #: debian-trixie fedora-44 fedora-rawhide
815 msgid ""
816 "(B<scandirat>()) I<dirp> is a relative pathname and I<dirfd> is a file "
817 "descriptor referring to a file other than a directory."
818 msgstr ""
819 "(B<scandirat>()) I<dirp> est un chemin relatif et I<dirfd> est un "
820 "descripteur de fichier référençant un fichier qui n'est pas un répertoire."
821
822 #. type: TH
823 #: fedora-44 fedora-rawhide
824 #, no-wrap
825 msgid "2024-12-13"
826 msgstr "13 décembre 2024"
827
828 #. type: TH
829 #: fedora-44 fedora-rawhide
830 #, no-wrap
831 msgid "Linux man-pages 6.13"
832 msgstr "Pages du manuel de Linux 6.13"
833
834 #. type: TH
835 #: mageia-cauldron
836 #, no-wrap
837 msgid "Linux man-pages 6.17"
838 msgstr "Pages du manuel de Linux 6.17"
839
840 #. type: TH
841 #: opensuse-leap-16-1 opensuse-tumbleweed
842 #, no-wrap
843 msgid "Linux man-pages (unreleased)"
844 msgstr "Pages du manuel de Linux (non publiées)"