Debian Codegraph @

po/fr/man3/readdir.3.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012.
18 # Frédéric Hantrais <[email protected]>, 2013, 2014.
19 # Grégoire Scano <[email protected]>, 2021.
20 msgid ""
21 msgstr ""
22 "Project-Id-Version: manpages-l10n 4.22.0\n"
23 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
24 "PO-Revision-Date: 2024-06-03 11:59+0200\n"
25 "Last-Translator: Grégoire Scano <[email protected]>\n"
26 "Language-Team: French <[email protected]>\n"
27 "Language: fr\n"
28 "MIME-Version: 1.0\n"
29 "Content-Type: text/plain; charset=UTF-8\n"
30 "Content-Transfer-Encoding: 8bit\n"
31 "Plural-Forms: nplurals=2; plural=n > 1;\n"
32 "X-Generator: Poedit 3.2.2\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 "readdir"
39 msgstr "readdir"
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 "readdir - read a directory"
65 msgstr "readdir - Consulter un répertoire"
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>dirent.hE<gt>>\n"
92 msgstr "B<#include E<lt>dirent.hE<gt>>\n"
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "B<struct dirent *readdir(DIR *>I<dirp>B<);>\n"
99 msgstr "B<struct dirent *readdir(DIR *>I<dirp>B<);>\n"
100
101 #. type: SH
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, no-wrap
105 msgid "DESCRIPTION"
106 msgstr "DESCRIPTION"
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 msgid ""
112 "The B<readdir>() function returns a pointer to a I<dirent> structure "
113 "representing the next directory entry in the directory stream pointed to by "
114 "I<dirp>. It returns NULL on reaching the end of the directory stream or if "
115 "an error occurred."
116 msgstr ""
117 "La fonction B<readdir>() renvoie un pointeur sur une structure I<dirent> "
118 "représentant l'entrée suivante du flux répertoire pointé par I<dirp>. Elle "
119 "renvoie NULL à la fin du répertoire ou en cas d'erreur."
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "In the glibc implementation, the I<dirent> structure is defined as follows:"
126 msgstr ""
127 "Dans l'implémentation de la glibc, la structure I<dirent> est définie comme "
128 "suit\\ :"
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 #, no-wrap
134 msgid ""
135 "struct dirent {\n"
136 " ino_t d_ino; /* Inode number */\n"
137 " off_t d_off; /* Not an offset; see below */\n"
138 " unsigned short d_reclen; /* Length of this record */\n"
139 " unsigned char d_type; /* Type of file; not supported\n"
140 " by all filesystem types */\n"
141 " char d_name[256]; /* Null-terminated filename */\n"
142 "};\n"
143 msgstr ""
144 "struct dirent {\n"
145 " ino_t d_ino; /* numéro d'inœud */\n"
146 " off_t d_off; /* pas une position ; consultez NOTES */\n"
147 " unsigned short d_reclen; /* longueur de cet enregistrement */\n"
148 " unsigned char d_type; /* type du fichier ; pas pris en\n"
149 " charge par tous les types de\n"
150 " système de fichiers */\n"
151 " char d_name[256]; /* nom du fichier terminé par l'octet NULL */\n"
152 "};\n"
153
154 #. type: Plain text
155 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
156 #: opensuse-tumbleweed
157 #, fuzzy
158 #| msgid ""
159 #| "The only fields in the I<dirent> structure that are mandated by POSIX.1 "
160 #| "are I<d_name> and I<d_ino>. The other fields are unstandardized, and not "
161 #| "present on all systems; see VERSIONS."
162 msgid ""
163 "The only fields in the I<dirent> structure that are mandated by POSIX.1 are "
164 "I<.d_name> and I<.d_ino>. The other fields are unstandardized, and not "
165 "present on all systems; see VERSIONS."
166 msgstr ""
167 "Les seuls champs exigés par POSIX.1 pour la structure I<dirent> sont "
168 "I<d_name> et I<d_ino>. Les autres champs ne sont pas normalisés et ne sont "
169 "pas présents sur tous les systèmes ; consultez les B<VERSIONS> ci-dessous "
170 "pour plus de détails."
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid "The fields of the I<dirent> structure are as follows:"
176 msgstr "Les champs de la structure I<dirent> sont les suivants :"
177
178 #. type: TP
179 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
180 #: opensuse-tumbleweed
181 #, fuzzy, no-wrap
182 #| msgid "I<d_ino>"
183 msgid "I<.d_ino>"
184 msgstr "I<d_ino>"
185
186 #. type: Plain text
187 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
188 #: opensuse-tumbleweed
189 msgid ""
190 "This is the inode number of the file in the filesystem containing the "
191 "directory on which B<readdir>() was called. If the directory entry is a "
192 "mount point, then I<.d_ino> differs from I<.st_ino> returned by B<stat>(2) "
193 "on this file: I<.d_ino> is the inode number of the mount point, while "
194 "I<.st_ino> is the inode number of the root directory of the mounted "
195 "filesystem."
196 msgstr ""
197
198 #. type: TP
199 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
200 #: opensuse-tumbleweed
201 #, fuzzy, no-wrap
202 #| msgid "I<d_off>"
203 msgid "I<.d_off>"
204 msgstr "I<d_off>"
205
206 #. https://lwn.net/Articles/544298/
207 #. type: Plain text
208 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
209 #: opensuse-tumbleweed
210 #, fuzzy
211 #| msgid ""
212 #| "The value returned in I<d_off> is the same as would be returned by "
213 #| "calling B<telldir>(3) at the current position in the directory stream. "
214 #| "Be aware that despite its type and name, the I<d_off> field is seldom any "
215 #| "kind of directory offset on modern filesystems. Applications should "
216 #| "treat this field as an opaque value, making no assumptions about its "
217 #| "contents; see also B<telldir>(3)."
218 msgid ""
219 "The value returned in I<.d_off> is the same as would be returned by calling "
220 "B<telldir>(3) at the current position in the directory stream. Be aware "
221 "that despite its type and name, the I<.d_off> field is seldom any kind of "
222 "directory offset on modern filesystems. Applications should treat this "
223 "field as an opaque value, making no assumptions about its contents; see also "
224 "B<telldir>(3)."
225 msgstr ""
226 "La valeur renvoyée dans I<d_off> est celle qui serait renvoyée en appelant "
227 "B<telldir>(3) à la position actuelle dans le flux répertoire. Soyez "
228 "conscient que, malgré son type et son nom, le champ I<d_off> ne représente "
229 "que rarement une sorte de position de répertoire sur les systèmes de "
230 "fichiers modernes. Les applications devraient traiter ce champ comme une "
231 "valeur opaque, sans faire de supposition sur son contenu. Consultez aussi "
232 "B<telldir>(3)."
233
234 #. type: TP
235 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
236 #: opensuse-tumbleweed
237 #, fuzzy, no-wrap
238 #| msgid "I<d_reclen>"
239 msgid "I<.d_reclen>"
240 msgstr "I<d_reclen>"
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "This is the size (in bytes) of the returned record. This may not match the "
247 "size of the structure definition shown above; see VERSIONS."
248 msgstr ""
249 "La taille (en octets) de l'enregistrement renvoyé. Elle peut ne pas "
250 "correspondre à la taille de la définition de la structure montrée plus "
251 "haut ; voir VERSIONS."
252
253 #. type: TP
254 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
255 #: opensuse-tumbleweed
256 #, fuzzy, no-wrap
257 #| msgid "I<d_type>"
258 msgid "I<.d_type>"
259 msgstr "I<d_type>"
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "This field contains a value indicating the file type, making it possible to "
266 "avoid the expense of calling B<lstat>(2) if further actions depend on the "
267 "type of the file."
268 msgstr ""
269 "Ce champ contient une valeur indiquant le type du fichier, permettant "
270 "d'éviter le coût d'un appel à B<lstat>(2) si d'autres actions dépendent du "
271 "type du fichier."
272
273 #. type: Plain text
274 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
275 #: opensuse-tumbleweed
276 #, fuzzy
277 #| msgid ""
278 #| "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since "
279 #| "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines "
280 #| "the following macro constants for the value returned in I<d_type>:"
281 msgid ""
282 "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since "
283 "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the "
284 "following macro constants for the value returned in I<.d_type>:"
285 msgstr ""
286 "Lorsqu'une macro de test de fonctionnalité est définie (B<_DEFAULT_SOURCE> "
287 "depuis la glibc 2.19, ou B<_BSD_SOURCE> pour la glibc 2.19 ou antérieure), "
288 "la glibc définit les constantes de macro suivantes pour les valeurs "
289 "renvoyées dans I<d_type> :"
290
291 #. type: TP
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "B<DT_BLK>"
296 msgstr "B<DT_BLK>"
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid "This is a block device."
302 msgstr "Il s'agit d'un périphérique bloc."
303
304 #. type: TP
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "B<DT_CHR>"
309 msgstr "B<DT_CHR>"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid "This is a character device."
315 msgstr "Il s'agit d'un périphérique caractère."
316
317 #. type: TP
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "B<DT_DIR>"
322 msgstr "B<DT_DIR>"
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid "This is a directory."
328 msgstr "Il s'agit d'un répertoire"
329
330 #. type: TP
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 #, no-wrap
334 msgid "B<DT_FIFO>"
335 msgstr "B<DT_FIFO>"
336
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 "This is a named pipe (FIFO)."
341 msgstr "Il s'agit d'un tube nommé (FIFO)."
342
343 #. type: TP
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "B<DT_LNK>"
348 msgstr "B<DT_LNK>"
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid "This is a symbolic link."
354 msgstr "Il s'agit d'un lien symbolique."
355
356 #. type: TP
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "B<DT_REG>"
361 msgstr "B<DT_REG>"
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid "This is a regular file."
367 msgstr "Il s'agit d'un fichier ordinaire."
368
369 #. type: TP
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "B<DT_SOCK>"
374 msgstr "B<DT_SOCK>"
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid "This is a UNIX domain socket."
380 msgstr "Il s'agit d'un socket de domaine UNIX."
381
382 #. type: TP
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 #, no-wrap
386 msgid "B<DT_UNKNOWN>"
387 msgstr "B<DT_UNKNOWN>"
388
389 #. type: Plain text
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 msgid "The file type could not be determined."
393 msgstr "Le type du fichier n'a pu être déterminé."
394
395 #. kernel 2.6.27
396 #. The same sentence is in getdents.2
397 #. type: Plain text
398 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
399 #: opensuse-tumbleweed
400 #, fuzzy
401 #| msgid ""
402 #| "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and "
403 #| "ext4) have full support for returning the file type in I<d_type>. All "
404 #| "applications must properly handle a return of B<DT_UNKNOWN>."
405 msgid ""
406 "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) "
407 "have full support for returning the file type in I<.d_type>. All "
408 "applications must properly handle a return of B<DT_UNKNOWN>."
409 msgstr ""
410 "Actuellement, seuls certains systèmes de fichiers (parmi lesquels Btrfs, "
411 "ext2, ext3 et ext4) prennent complètement en charge le renvoi du type de "
412 "fichier dans I<d_type>. Toutes les applications doivent gérer correctement "
413 "une valeur de retour valant B<DT_UNKNOWN>."
414
415 #. type: TP
416 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
417 #: opensuse-tumbleweed
418 #, fuzzy, no-wrap
419 #| msgid "I<d_name>"
420 msgid "I<.d_name>"
421 msgstr "I<d_name>"
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid "This field contains the null terminated filename; see VERSIONS."
427 msgstr ""
428 "Ce champ contient le nom de fichier terminé par l'octet NULL. I<Voir "
429 "VERSIONS>."
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "The data returned by B<readdir>() may be overwritten by subsequent calls to "
436 "B<readdir>() for the same directory stream."
437 msgstr ""
438 "Les donnes renvoyées par B<readdir>() sont écrasées lors de l'appel suivant "
439 "à B<readdir>() sur le même flux répertoire."
440
441 #. type: SH
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "RETURN VALUE"
446 msgstr "VALEUR RENVOYÉE"
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 "On success, B<readdir>() returns a pointer to a I<dirent> structure. (This "
453 "structure may be statically allocated; do not attempt to B<free>(3) it.)"
454 msgstr ""
455 "En cas de succès, B<readdir>() renvoie un pointeur sur une structure "
456 "I<dirent> (cette structure peut avoir été allouée statiquement ; n'essayez "
457 "pas de la désallouer avec B<free>(3))."
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid ""
463 "If the end of the directory stream is reached, NULL is returned and I<errno> "
464 "is not changed. If an error occurs, NULL is returned and I<errno> is set to "
465 "indicate the error. To distinguish end of stream from an error, set "
466 "I<errno> to zero before calling B<readdir>() and then check the value of "
467 "I<errno> if NULL is returned."
468 msgstr ""
469 "Lorsque la fin du flux répertoire est atteinte, NULL est renvoyé et I<errno> "
470 "n'est pas modifiée. En cas d'erreur, NULL est renvoyé et I<errno> contient "
471 "le code d'erreur. Pour distinguer la fin du flux d'une erreur, il faut "
472 "assigner I<errno> à zéro avant d'appeler B<readdir()> puis ensuite tester la "
473 "valeur de I<errno> si NULL est renvoyé."
474
475 #. type: SH
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 #, no-wrap
479 msgid "ERRORS"
480 msgstr "ERREURS"
481
482 #. type: TP
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "B<EBADF>"
487 msgstr "B<EBADF>"
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid "Invalid directory stream descriptor I<dirp>."
493 msgstr "Le descripteur de flux répertoire I<dirp> n'est pas valable."
494
495 #. type: SH
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "ATTRIBUTES"
500 msgstr "ATTRIBUTS"
501
502 #. type: Plain text
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 msgid ""
506 "For an explanation of the terms used in this section, see B<attributes>(7)."
507 msgstr ""
508 "Pour une explication des termes utilisés dans cette section, consulter "
509 "B<attributes>(7)."
510
511 #. type: tbl table
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 #, no-wrap
515 msgid "Interface"
516 msgstr "Interface"
517
518 #. type: tbl table
519 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
520 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
521 #, no-wrap
522 msgid "Attribute"
523 msgstr "Attribut"
524
525 #. type: tbl table
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 #, no-wrap
529 msgid "Value"
530 msgstr "Valeur"
531
532 #. type: tbl table
533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
534 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
535 #, no-wrap
536 msgid ".na\n"
537 msgstr ".na\n"
538
539 #. type: tbl table
540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
542 #, no-wrap
543 msgid ".nh\n"
544 msgstr ".nh\n"
545
546 #. type: tbl table
547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
549 #, no-wrap
550 msgid "B<readdir>()"
551 msgstr "B<readdir>()"
552
553 #. type: tbl table
554 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
555 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
556 #, no-wrap
557 msgid "Thread safety"
558 msgstr "Sécurité des threads"
559
560 #. type: tbl table
561 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
562 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
563 #, no-wrap
564 msgid "MT-Unsafe race:dirstream"
565 msgstr "MT-Unsafe race:dirstream"
566
567 #. FIXME .
568 #. http://www.austingroupbugs.net/view.php?id=696
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 "In the current POSIX.1 specification (POSIX.1-2008), B<readdir>() is not "
574 "required to be thread-safe. However, in modern implementations (including "
575 "the glibc implementation), concurrent calls to B<readdir>() that specify "
576 "different directory streams are thread-safe. In cases where multiple "
577 "threads must read from the same directory stream, using B<readdir>() with "
578 "external synchronization is still preferable to the use of the deprecated "
579 "B<readdir_r>(3) function. It is expected that a future version of POSIX.1 "
580 "will require that B<readdir>() be thread-safe when concurrently employed on "
581 "different directory streams."
582 msgstr ""
583 "Dans la spécification POSIX.1 actuelle (POSIX.1-2008), il n'est pas requis "
584 "que B<readdir>(3) soit sûr vis-à-vis des threads. Cependant, dans les "
585 "implémentations modernes, incluant la glibc, des appels concurrents à "
586 "B<readdir>(3) pour des flux répertoire différents sont sûrs vis-à-vis des "
587 "threads. Dans le cas où de multiples threads doivent lire depuis un flux de "
588 "répertoire identique, l'utilisation de B<readdir>(3) avec une "
589 "synchronisation externe est toujours préférable à l'utilisation de "
590 "B<readdir_r>(3). Il est attendu qu'une future version de POSIX.1 demande que "
591 "B<readdir>() soit sûr vis-à-vis des threads lorsqu'il est employé "
592 "simultanément sur des flux répertoire différents."
593
594 #. type: SH
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 #, no-wrap
598 msgid "VERSIONS"
599 msgstr "VERSIONS"
600
601 #. POSIX.1-2001, POSIX.1-2008
602 #. type: Plain text
603 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
604 #: opensuse-tumbleweed
605 #, fuzzy
606 #| msgid ""
607 #| "Only the fields I<d_name> and (as an XSI extension) I<d_ino> are "
608 #| "specified in POSIX.1. Other than Linux, the I<d_type> field is available "
609 #| "mainly only on BSD systems. The remaining fields are available on many, "
610 #| "but not all systems. Under glibc, programs can check for the "
611 #| "availability of the fields not defined in POSIX.1 by testing whether the "
612 #| "macros B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, "
613 #| "B<_DIRENT_HAVE_D_OFF>, or B<_DIRENT_HAVE_D_TYPE> are defined."
614 msgid ""
615 "Only the fields I<.d_name> and (as an XSI extension) I<.d_ino> are "
616 "specified in POSIX.1. Other than Linux, the I<.d_type> field is available "
617 "mainly only on BSD systems. The remaining fields are available on many, but "
618 "not all systems. Under glibc, programs can check for the availability of "
619 "the fields not defined in POSIX.1 by testing whether the macros "
620 "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, "
621 "or B<_DIRENT_HAVE_D_TYPE> are defined."
622 msgstr ""
623 "Seuls les champs I<d_name> et (comme extension XSI) I<d_ino> sont spécifiés "
624 "dans POSIX.1. Ailleurs que sur Linux, le champ I<d_type> est principalement "
625 "disponible sur les systèmes BSD. Les autres champs sont disponibles sur "
626 "beaucoup de systèmes, mais pas sur tous. Avec la glibc, les programmes "
627 "peuvent vérifier la disponibilité des champs non définis dans POSIX.1 en "
628 "testant si les macros B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, "
629 "B<_DIRENT_HAVE_D_OFF> ou B<_DIRENT_HAVE_D_TYPE> sont définies."
630
631 #. type: SS
632 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
633 #: opensuse-tumbleweed
634 #, fuzzy, no-wrap
635 #| msgid "The d_name field"
636 msgid "The \\f[I].d_name\\fB field"
637 msgstr "Le champ d_name"
638
639 #. type: Plain text
640 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
641 #: opensuse-tumbleweed
642 #, fuzzy
643 #| msgid ""
644 #| "The I<dirent> structure definition shown above is taken from the glibc "
645 #| "headers, and shows the I<d_name> field with a fixed size."
646 msgid ""
647 "The I<dirent> structure definition shown above is taken from the glibc "
648 "headers, and shows the I<.d_name> field with a fixed size."
649 msgstr ""
650 "La définition de la structure I<dirent> donne ci-dessus est reprise des en-"
651 "têtes de la glibc et montre le champ I<d_name> avec une taille fixe."
652
653 #. type: Plain text
654 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
655 #: opensuse-tumbleweed
656 #, fuzzy
657 #| msgid ""
658 #| "I<Warning>: applications should avoid any dependence on the size of the "
659 #| "I<d_name> field. POSIX defines it as I<char\\ d_name[]>, a character "
660 #| "array of unspecified size, with at most B<NAME_MAX> characters preceding "
661 #| "the terminating null byte (\\[aq]\\[rs]0\\[aq])."
662 msgid ""
663 "I<Warning>: applications should avoid any dependence on the size of the "
664 "I<.d_name> field. POSIX defines it as I<char\\ d_name[]>, a character array "
665 "of unspecified size, with at most B<NAME_MAX> characters preceding the "
666 "terminating null byte (\\[aq]\\[rs]0\\[aq])."
667 msgstr ""
668 "I<Avertissement>: les applications devraient éviter tout dépendance sur la "
669 "taille du champ I<d_name>. POSIX la définit comme I<char\\ d_name[]>, un "
670 "tableau de caractères de taille non spécifiée, avec au plus B<NAME_MAX> "
671 "caractères avant l'octet NULL final (\\[aq]\\[rs]0\\[aq])."
672
673 #. type: Plain text
674 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
675 #: opensuse-tumbleweed
676 #, fuzzy
677 #| msgid ""
678 #| "POSIX.1 explicitly notes that this field should not be used as an "
679 #| "lvalue. The standard also notes that the use of I<sizeof(d_name)> is "
680 #| "incorrect; use I<strlen(d_name)> instead. (On some systems, this field "
681 #| "is defined as I<char\\ d_name[1]>!) By implication, the use "
682 #| "I<sizeof(struct dirent)> to capture the size of the record including the "
683 #| "size of I<d_name> is also incorrect."
684 msgid ""
685 "POSIX.1 explicitly notes that this field should not be used as an lvalue. "
686 "The standard also notes that the use of I<sizeof(.d_name)> is incorrect; use "
687 "I<strlen(.d_name)> instead. (On some systems, this field is defined as "
688 "I<char\\ d_name[1]>!) By implication, the use I<sizeof(struct dirent)> to "
689 "capture the size of the record including the size of I<.d_name> is also "
690 "incorrect."
691 msgstr ""
692 "POSIX.1 est explicite sur le fait que ce champ ne doit pas être utilisé "
693 "comme une lvalue. La norme ajoute que l'utilisation de I<sizeof(d_name)> est "
694 "incorrecte ; utilisez I<strlen(d_name)> à la place. Sur certains systèmes, "
695 "ce champ est défini comme I<char\\ d_name[1]> ! Cela implique que "
696 "l'utilisation de I<sizeof(struct dirent)> pour déterminer la taille de "
697 "l'enregistrement, y compris du champ I<d_name>, est également incorrecte."
698
699 #. type: Plain text
700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
702 msgid "Note that while the call"
703 msgstr "Notez que bien que l'appel"
704
705 #. type: Plain text
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 #, no-wrap
709 msgid "fpathconf(fd, _PC_NAME_MAX)\n"
710 msgstr "fpathconf(fd, _PC_NAME_MAX)\n"
711
712 #. type: Plain text
713 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
714 #: opensuse-tumbleweed
715 #, fuzzy
716 #| msgid ""
717 #| "returns the value 255 for most filesystems, on some filesystems (e.g., "
718 #| "CIFS, Windows SMB servers), the null-terminated filename that is "
719 #| "(correctly) returned in I<d_name> can actually exceed this size. In such "
720 #| "cases, the I<d_reclen> field will contain a value that exceeds the size "
721 #| "of the glibc I<dirent> structure shown above."
722 msgid ""
723 "returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, "
724 "Windows SMB servers), the null-terminated filename that is (correctly) "
725 "returned in I<.d_name> can actually exceed this size. In such cases, the "
726 "I<.d_reclen> field will contain a value that exceeds the size of the glibc "
727 "I<dirent> structure shown above."
728 msgstr ""
729 "renvoie la valeur 255 pour la plupart des systèmes de fichiers, le nom de "
730 "fichier terminé par l'octet NULL qui est (correctement) renvoyé dans "
731 "I<d_name> peut en fait dépasser cette taille sur certains systèmes de "
732 "fichiers (CIFS ou les serveurs Windows SMB par exemple). Dans de tels cas, "
733 "le champ I<d_reclen> contiendra une valeur qui dépasse la taille de la "
734 "structure I<dirent> de la glibc montrée plus haut."
735
736 #. type: SH
737 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
738 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
739 #, no-wrap
740 msgid "STANDARDS"
741 msgstr "NORMES"
742
743 #. type: Plain text
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 msgid "POSIX.1-2008."
747 msgstr "POSIX.1-2008."
748
749 #. type: SH
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 #, no-wrap
753 msgid "HISTORY"
754 msgstr "HISTORIQUE"
755
756 #. type: Plain text
757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
759 msgid "POSIX.1-2001, SVr4, 4.3BSD."
760 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
761
762 #. type: SH
763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
765 #, no-wrap
766 msgid "NOTES"
767 msgstr "NOTES"
768
769 #. type: Plain text
770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
772 msgid "A directory stream is opened using B<opendir>(3)."
773 msgstr "Un flux répertoire est ouvert avec B<opendir>(3)."
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 order in which filenames are read by successive calls to B<readdir>() "
780 "depends on the filesystem implementation; it is unlikely that the names will "
781 "be sorted in any fashion."
782 msgstr ""
783 "L'ordre dans lequel les noms de fichier sont lus par des appels successifs à "
784 "B<readdir>() dépend de l'implémentation du système de fichiers ; il est peu "
785 "probable que les noms soient triés d'une quelconque façon."
786
787 #. type: SH
788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
789 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
790 #, no-wrap
791 msgid "SEE ALSO"
792 msgstr "VOIR AUSSI"
793
794 #. type: Plain text
795 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
796 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
797 msgid ""
798 "B<getdents>(2), B<read>(2), B<closedir>(3), B<dirfd>(3), B<ftw>(3), "
799 "B<offsetof>(3), B<opendir>(3), B<readdir_r>(3), B<rewinddir>(3), "
800 "B<scandir>(3), B<seekdir>(3), B<telldir>(3)"
801 msgstr ""
802 "B<getdents>(2), B<read>(2), B<closedir>(3), B<dirfd>(3), B<ftw>(3), "
803 "B<offsetof>(3), B<opendir>(3), B<readdir_r>(3), B<rewinddir>(3), "
804 "B<scandir>(3), B<seekdir>(3), B<telldir>(3)"
805
806 #. type: TH
807 #: debian-trixie
808 #, no-wrap
809 msgid "2024-06-16"
810 msgstr "16 juin 2024"
811
812 #. type: TH
813 #: debian-trixie
814 #, no-wrap
815 msgid "Linux man-pages 6.9.1"
816 msgstr "Pages du manuel de Linux 6.9.1"
817
818 #. type: Plain text
819 #: debian-trixie
820 msgid "Standard C library (I<libc>, I<-lc>)"
821 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
822
823 #. type: Plain text
824 #: debian-trixie fedora-44 fedora-rawhide
825 msgid ""
826 "The only fields in the I<dirent> structure that are mandated by POSIX.1 are "
827 "I<d_name> and I<d_ino>. The other fields are unstandardized, and not "
828 "present on all systems; see VERSIONS."
829 msgstr ""
830 "Les seuls champs exigés par POSIX.1 pour la structure I<dirent> sont "
831 "I<d_name> et I<d_ino>. Les autres champs ne sont pas normalisés et ne sont "
832 "pas présents sur tous les systèmes ; consultez les B<VERSIONS> ci-dessous "
833 "pour plus de détails."
834
835 #. type: TP
836 #: debian-trixie fedora-44 fedora-rawhide
837 #, no-wrap
838 msgid "I<d_ino>"
839 msgstr "I<d_ino>"
840
841 #. type: Plain text
842 #: debian-trixie fedora-44 fedora-rawhide
843 msgid "This is the inode number of the file."
844 msgstr "Le numéro d'inœud du fichier."
845
846 #. type: TP
847 #: debian-trixie fedora-44 fedora-rawhide
848 #, no-wrap
849 msgid "I<d_off>"
850 msgstr "I<d_off>"
851
852 #. https://lwn.net/Articles/544298/
853 #. type: Plain text
854 #: debian-trixie fedora-44 fedora-rawhide
855 msgid ""
856 "The value returned in I<d_off> is the same as would be returned by calling "
857 "B<telldir>(3) at the current position in the directory stream. Be aware "
858 "that despite its type and name, the I<d_off> field is seldom any kind of "
859 "directory offset on modern filesystems. Applications should treat this "
860 "field as an opaque value, making no assumptions about its contents; see also "
861 "B<telldir>(3)."
862 msgstr ""
863 "La valeur renvoyée dans I<d_off> est celle qui serait renvoyée en appelant "
864 "B<telldir>(3) à la position actuelle dans le flux répertoire. Soyez "
865 "conscient que, malgré son type et son nom, le champ I<d_off> ne représente "
866 "que rarement une sorte de position de répertoire sur les systèmes de "
867 "fichiers modernes. Les applications devraient traiter ce champ comme une "
868 "valeur opaque, sans faire de supposition sur son contenu. Consultez aussi "
869 "B<telldir>(3)."
870
871 #. type: TP
872 #: debian-trixie fedora-44 fedora-rawhide
873 #, no-wrap
874 msgid "I<d_reclen>"
875 msgstr "I<d_reclen>"
876
877 #. type: TP
878 #: debian-trixie fedora-44 fedora-rawhide
879 #, no-wrap
880 msgid "I<d_type>"
881 msgstr "I<d_type>"
882
883 #. type: Plain text
884 #: debian-trixie fedora-44 fedora-rawhide
885 msgid ""
886 "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since "
887 "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the "
888 "following macro constants for the value returned in I<d_type>:"
889 msgstr ""
890 "Lorsqu'une macro de test de fonctionnalité est définie (B<_DEFAULT_SOURCE> "
891 "depuis la glibc 2.19, ou B<_BSD_SOURCE> pour la glibc 2.19 ou antérieure), "
892 "la glibc définit les constantes de macro suivantes pour les valeurs "
893 "renvoyées dans I<d_type> :"
894
895 #. kernel 2.6.27
896 #. The same sentence is in getdents.2
897 #. type: Plain text
898 #: debian-trixie fedora-44 fedora-rawhide
899 msgid ""
900 "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) "
901 "have full support for returning the file type in I<d_type>. All "
902 "applications must properly handle a return of B<DT_UNKNOWN>."
903 msgstr ""
904 "Actuellement, seuls certains systèmes de fichiers (parmi lesquels Btrfs, "
905 "ext2, ext3 et ext4) prennent complètement en charge le renvoi du type de "
906 "fichier dans I<d_type>. Toutes les applications doivent gérer correctement "
907 "une valeur de retour valant B<DT_UNKNOWN>."
908
909 #. type: TP
910 #: debian-trixie fedora-44 fedora-rawhide
911 #, no-wrap
912 msgid "I<d_name>"
913 msgstr "I<d_name>"
914
915 #. POSIX.1-2001, POSIX.1-2008
916 #. type: Plain text
917 #: debian-trixie fedora-44 fedora-rawhide
918 msgid ""
919 "Only the fields I<d_name> and (as an XSI extension) I<d_ino> are specified "
920 "in POSIX.1. Other than Linux, the I<d_type> field is available mainly only "
921 "on BSD systems. The remaining fields are available on many, but not all "
922 "systems. Under glibc, programs can check for the availability of the fields "
923 "not defined in POSIX.1 by testing whether the macros "
924 "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, "
925 "or B<_DIRENT_HAVE_D_TYPE> are defined."
926 msgstr ""
927 "Seuls les champs I<d_name> et (comme extension XSI) I<d_ino> sont spécifiés "
928 "dans POSIX.1. Ailleurs que sur Linux, le champ I<d_type> est principalement "
929 "disponible sur les systèmes BSD. Les autres champs sont disponibles sur "
930 "beaucoup de systèmes, mais pas sur tous. Avec la glibc, les programmes "
931 "peuvent vérifier la disponibilité des champs non définis dans POSIX.1 en "
932 "testant si les macros B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, "
933 "B<_DIRENT_HAVE_D_OFF> ou B<_DIRENT_HAVE_D_TYPE> sont définies."
934
935 #. type: SS
936 #: debian-trixie fedora-44 fedora-rawhide
937 #, no-wrap
938 msgid "The d_name field"
939 msgstr "Le champ d_name"
940
941 #. type: Plain text
942 #: debian-trixie fedora-44 fedora-rawhide
943 msgid ""
944 "The I<dirent> structure definition shown above is taken from the glibc "
945 "headers, and shows the I<d_name> field with a fixed size."
946 msgstr ""
947 "La définition de la structure I<dirent> donne ci-dessus est reprise des en-"
948 "têtes de la glibc et montre le champ I<d_name> avec une taille fixe."
949
950 #. type: Plain text
951 #: debian-trixie fedora-44 fedora-rawhide
952 msgid ""
953 "I<Warning>: applications should avoid any dependence on the size of the "
954 "I<d_name> field. POSIX defines it as I<char\\ d_name[]>, a character array "
955 "of unspecified size, with at most B<NAME_MAX> characters preceding the "
956 "terminating null byte (\\[aq]\\[rs]0\\[aq])."
957 msgstr ""
958 "I<Avertissement>: les applications devraient éviter tout dépendance sur la "
959 "taille du champ I<d_name>. POSIX la définit comme I<char\\ d_name[]>, un "
960 "tableau de caractères de taille non spécifiée, avec au plus B<NAME_MAX> "
961 "caractères avant l'octet NULL final (\\[aq]\\[rs]0\\[aq])."
962
963 #. type: Plain text
964 #: debian-trixie fedora-44 fedora-rawhide
965 msgid ""
966 "POSIX.1 explicitly notes that this field should not be used as an lvalue. "
967 "The standard also notes that the use of I<sizeof(d_name)> is incorrect; use "
968 "I<strlen(d_name)> instead. (On some systems, this field is defined as "
969 "I<char\\ d_name[1]>!) By implication, the use I<sizeof(struct dirent)> to "
970 "capture the size of the record including the size of I<d_name> is also "
971 "incorrect."
972 msgstr ""
973 "POSIX.1 est explicite sur le fait que ce champ ne doit pas être utilisé "
974 "comme une lvalue. La norme ajoute que l'utilisation de I<sizeof(d_name)> est "
975 "incorrecte ; utilisez I<strlen(d_name)> à la place. Sur certains systèmes, "
976 "ce champ est défini comme I<char\\ d_name[1]> ! Cela implique que "
977 "l'utilisation de I<sizeof(struct dirent)> pour déterminer la taille de "
978 "l'enregistrement, y compris du champ I<d_name>, est également incorrecte."
979
980 #. type: Plain text
981 #: debian-trixie fedora-44 fedora-rawhide
982 msgid ""
983 "returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, "
984 "Windows SMB servers), the null-terminated filename that is (correctly) "
985 "returned in I<d_name> can actually exceed this size. In such cases, the "
986 "I<d_reclen> field will contain a value that exceeds the size of the glibc "
987 "I<dirent> structure shown above."
988 msgstr ""
989 "renvoie la valeur 255 pour la plupart des systèmes de fichiers, le nom de "
990 "fichier terminé par l'octet NULL qui est (correctement) renvoyé dans "
991 "I<d_name> peut en fait dépasser cette taille sur certains systèmes de "
992 "fichiers (CIFS ou les serveurs Windows SMB par exemple). Dans de tels cas, "
993 "le champ I<d_reclen> contiendra une valeur qui dépasse la taille de la "
994 "structure I<dirent> de la glibc montrée plus haut."
995
996 #. type: TH
997 #: fedora-44 fedora-rawhide
998 #, no-wrap
999 msgid "2024-07-23"
1000 msgstr "23 juillet 2024"
1001
1002 #. type: TH
1003 #: fedora-44 fedora-rawhide
1004 #, no-wrap
1005 msgid "Linux man-pages 6.13"
1006 msgstr "Pages du manuel de Linux 6.13"
1007
1008 #. type: TH
1009 #: mageia-cauldron
1010 #, no-wrap
1011 msgid "Linux man-pages 6.17"
1012 msgstr "Pages du manuel de Linux 6.17"
1013
1014 #. type: TH
1015 #: opensuse-leap-16-1 opensuse-tumbleweed
1016 #, no-wrap
1017 msgid "Linux man-pages (unreleased)"
1018 msgstr "Pages du manuel de Linux (non publiées)"