Debian Codegraph @

po/fr/man2/stat.2.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 # Jean-Pierre Giraud <[email protected]>, 2023-2024.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n\n"
22 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
23 "PO-Revision-Date: 2024-12-31 19:23+0100\n"
24 "Last-Translator: Jean-Pierre Giraud <[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 "stat"
38 msgstr "I<stat>"
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 "stat, fstat, lstat, fstatat - get file status"
64 msgstr ""
65 "stat, fstat, lstat, fstatat - Obtenir l'état d'un fichier (file status)"
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>sys/stat.hE<gt>>\n"
92 msgstr "B<#include E<lt>sys/stat.hE<gt>>\n"
93
94 #. type: Plain text
95 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
96 #: opensuse-tumbleweed
97 #, fuzzy, no-wrap
98 #| msgid ""
99 #| "B<int stat(const char *restrict >I<pathname>B<,>\n"
100 #| "B< struct stat *restrict >I<statbuf>B<);>\n"
101 #| "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
102 #| "B<int lstat(const char *restrict >I<pathname>B<,>\n"
103 #| "B< struct stat *restrict >I<statbuf>B<);>\n"
104 msgid ""
105 "B<int stat(const char *restrict >I<path>B<,>\n"
106 "B< struct stat *restrict >I<statbuf>B<);>\n"
107 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
108 "B<int lstat(const char *restrict >I<path>B<,>\n"
109 "B< struct stat *restrict >I<statbuf>B<);>\n"
110 msgstr ""
111 "B<int stat(const char *restrict >I<chemin>B<,>\n"
112 "B< struct stat *restrict >I<statbuf>B<);>\n"
113 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
114 "B<int lstat(const char *restrict >I<chemin>B<,>\n"
115 "B< struct stat *restrict >I<statbuf>B<);>\n"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid ""
122 "B<#include E<lt>fcntl.hE<gt> >/* Definition of B<AT_*> constants */\n"
123 "B<#include E<lt>sys/stat.hE<gt>>\n"
124 msgstr ""
125 "B<#include E<lt>fcntl.hE<gt> >/* Définition des constantes B<AT_*> */\n"
126 "B<#include E<lt>sys/stat.hE<gt>>\n"
127
128 #. type: Plain text
129 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
130 #: opensuse-tumbleweed
131 #, fuzzy, no-wrap
132 #| msgid ""
133 #| "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
134 #| "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
135 msgid ""
136 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<path>B<,>\n"
137 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
138 msgstr ""
139 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<chemin>B<,>\n"
140 "B< struct stat *restrict >I<statbuf>B<, int >I<attributs>B<);>\n"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
147 msgstr ""
148 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
149 "B<feature_test_macros>(7)) :"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid "B<lstat>():"
155 msgstr "B<lstat>()\\ :"
156
157 #. _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 #, no-wrap
162 msgid ""
163 " /* Since glibc 2.20 */ _DEFAULT_SOURCE\n"
164 " || _XOPEN_SOURCE E<gt>= 500\n"
165 " || /* Since glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
166 " || /* glibc 2.19 and earlier */ _BSD_SOURCE\n"
167 msgstr ""
168 " /* Depuis la glibc 2.20 */ _DEFAULT_SOURCE\n"
169 " || _XOPEN_SOURCE E<gt>= 500\n"
170 " || /* Depuis la glibc 2.10 : */ _POSIX_C_SOURCE E<gt>= 200112L\n"
171 " || /* Pour la glibc antérieure et égale à 2.19 */ _BSD_SOURCE\n"
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid "B<fstatat>():"
177 msgstr "B<fstatat>()\\ :"
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 #, no-wrap
183 msgid ""
184 " Since glibc 2.10:\n"
185 " _POSIX_C_SOURCE E<gt>= 200809L\n"
186 " Before glibc 2.10:\n"
187 " _ATFILE_SOURCE\n"
188 msgstr ""
189 " Depuis la glibc 2.10 :\n"
190 " _POSIX_C_SOURCE E<gt>= 200809L\n"
191 " avant la glibc 2.10 :\n"
192 " _ATFILE_SOURCE\n"
193
194 #. type: SH
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "DESCRIPTION"
199 msgstr "DESCRIPTION"
200
201 #. type: Plain text
202 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
203 #: opensuse-tumbleweed
204 #, fuzzy
205 #| msgid ""
206 #| "These functions return information about a file, in the buffer pointed to "
207 #| "by I<statbuf>. No permissions are required on the file itself, but\\"
208 #| "[em]in the case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute "
209 #| "(search) permission is required on all of the directories in I<pathname> "
210 #| "that lead to the file."
211 msgid ""
212 "These functions return information about a file, in the buffer pointed to by "
213 "I<statbuf>. No permissions are required on the file itself, but\\[em]in the "
214 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) "
215 "permission is required on all of the directories in I<path> that lead to the "
216 "file."
217 msgstr ""
218 "Ces fonctions renvoient des renseignements sur le fichier indiqué, dans le "
219 "tampon pointé par I<statbuf>. Vous n'avez besoin d'aucun droit d'accès au "
220 "fichier pour obtenir les informations, mais vous devez \\[em] dans le cas de "
221 "B<stat>(), B<fstatat>() et B<lstat>() \\[em] avoir le droit d'exécuter "
222 "(search) sur tous les répertoires mentionnés dans le I<chemin> menant au "
223 "fichier."
224
225 #. type: Plain text
226 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
227 #: opensuse-tumbleweed
228 #, fuzzy
229 #| msgid ""
230 #| "B<stat>() and B<fstatat>() retrieve information about the file pointed "
231 #| "to by I<pathname>; the differences for B<fstatat>() are described below."
232 msgid ""
233 "B<stat>() and B<fstatat>() retrieve information about the file pointed to "
234 "by I<path>; the differences for B<fstatat>() are described below."
235 msgstr ""
236 "B<stat>() et B<fstatat>() récupèrent des renseignements sur le fichier "
237 "pointé par I<chemin>. Les différences de B<fstatat>() sont décrites ci-"
238 "dessous :"
239
240 #. type: Plain text
241 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
242 #: opensuse-tumbleweed
243 #, fuzzy
244 #| msgid ""
245 #| "B<lstat>() is identical to B<stat>(), except that if I<pathname> is a "
246 #| "symbolic link, then it returns information about the link itself, not the "
247 #| "file that the link refers to."
248 msgid ""
249 "B<lstat>() is identical to B<stat>(), except that if I<path> is a symbolic "
250 "link, then it returns information about the link itself, not the file that "
251 "the link refers to."
252 msgstr ""
253 "B<lstat>() est identique à B<stat>(), sauf que dans le cas où I<chemin> est "
254 "un lien symbolique, auquel cas il renvoie des renseignements sur le lien lui-"
255 "même plutôt que celui du fichier visé."
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid ""
261 "B<fstat>() is identical to B<stat>(), except that the file about which "
262 "information is to be retrieved is specified by the file descriptor I<fd>."
263 msgstr ""
264 "B<fstat>() est identique à B<stat>(), sauf que le fichier dont les "
265 "renseignements sont à récupérer est référencé par le descripteur de fichier "
266 "I<fd>."
267
268 #. type: SS
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "The stat structure"
273 msgstr "La structure stat"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "All of these system calls return a I<stat> structure (see B<stat>(3type))."
280 msgstr ""
281 "Les trois fonctions renvoient une structure I<stat> (consultez "
282 "B<stat>(3type))."
283
284 #. Background: inode attributes are modified with i_mutex held, but
285 #. read by stat() without taking the mutex.
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "I<Note>: for performance and simplicity reasons, different fields in the "
291 "I<stat> structure may contain state information from different moments "
292 "during the execution of the system call. For example, if I<st_mode> or "
293 "I<st_uid> is changed by another process by calling B<chmod>(2) or "
294 "B<chown>(2), B<stat>() might return the old I<st_mode> together with the "
295 "new I<st_uid>, or the old I<st_uid> together with the new I<st_mode>."
296 msgstr ""
297 "I<Note> : pour des raisons de performance et de simplicité, différents "
298 "champs dans la structure I<stat> peuvent contenir des informations d'état à "
299 "différents moments durant l'exécution de l'appel système. Par exemple, si "
300 "I<st_mode> ou I<st_uid> sont modifiés par un autre processus en appelant "
301 "B<chmod>(2) ou B<chown>(2), B<stat>() peut renvoyer l'ancien I<st_mode> en "
302 "même temps que le nouveau I<st_uid> ou l'ancien I<st_uid> en même temps que "
303 "le nouveau I<st_mode>."
304
305 #. type: SS
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "fstatat()"
310 msgstr "fstatat()"
311
312 #. type: Plain text
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 msgid ""
316 "The B<fstatat>() system call is a more general interface for accessing file "
317 "information which can still provide exactly the behavior of each of "
318 "B<stat>(), B<lstat>(), and B<fstat>()."
319 msgstr ""
320 "L'appel système B<fstatat>() est une interface plus générale pour accéder à "
321 "des informations de fichier qui peut encore fournir exactement le "
322 "comportement de chaque appel à B<stat>(), B<lstat>() et B<fstat>()."
323
324 #. type: Plain text
325 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
326 #: opensuse-tumbleweed
327 #, fuzzy
328 #| msgid ""
329 #| "If the pathname given in I<pathname> is relative, then it is interpreted "
330 #| "relative to the directory referred to by the file descriptor I<dirfd> "
331 #| "(rather than relative to the current working directory of the calling "
332 #| "process, as is done by B<stat>() and B<lstat>() for a relative "
333 #| "pathname)."
334 msgid ""
335 "If I<path> is relative, then it is interpreted relative to the directory "
336 "referred to by the file descriptor I<dirfd> (rather than relative to the "
337 "current working directory of the calling process, as is done by B<stat>() "
338 "and B<lstat>() for a relative pathname)."
339 msgstr ""
340 "Si le chemin donnée dans I<chemin> est un chemin relatif, il est interprété "
341 "par rapport au répertoire référencé par le descripteur de fichier I<dirfd>, "
342 "(plutôt que par rapport au répertoire courant du processus appelant, comme "
343 "avec B<stat>() et B<lstat>() pour un chemin relatif)."
344
345 #. type: Plain text
346 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
347 #: opensuse-tumbleweed
348 #, fuzzy
349 #| msgid ""
350 #| "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
351 #| "then I<pathname> is interpreted relative to the current working directory "
352 #| "of the calling process (like B<stat>() and B<lstat>())."
353 msgid ""
354 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
355 "I<path> is interpreted relative to the current working directory of the "
356 "calling process (like B<stat>() and B<lstat>())."
357 msgstr ""
358 "Si I<chemin> est relatif, et si I<dirfd> est la valeur spéciale B<AT_FDCWD>, "
359 "I<chemin> est interprété comme étant relatif au répertoire courant du "
360 "processus appelant, comme B<stat>() et B<lstat>()."
361
362 #. type: Plain text
363 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
364 #: opensuse-tumbleweed
365 msgid "If I<path> is absolute, then I<dirfd> is ignored."
366 msgstr "Si I<path> est absolu, alors I<dirfd> est ignoré."
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 msgid ""
372 "I<flags> can either be 0, or include one or more of the following flags ORed:"
373 msgstr ""
374 "L'argument I<attributs> est soit 0, soit un I<OU> binaire «\\ |\\ » avec les "
375 "options suivantes\\ :"
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<AT_EMPTY_PATH> (since Linux 2.6.39)"
382 msgstr "B<AT_EMPTY_PATH> (depuis Linux 2.6.39)"
383
384 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
385 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
386 #. type: Plain text
387 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
388 #: opensuse-tumbleweed
389 #, fuzzy
390 #| msgid ""
391 #| "If I<pathname> is an empty string (or NULL, since Linux 6.11) operate on "
392 #| "the file referred to by I<dirfd> (which may have been obtained using the "
393 #| "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any "
394 #| "type of file, not just a directory, and the behavior of B<fstatat>() is "
395 #| "similar to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call "
396 #| "operates on the current working directory. This flag is Linux-specific; "
397 #| "define B<_GNU_SOURCE> to obtain its definition."
398 msgid ""
399 "If I<path> is an empty string (or NULL, since Linux 6.11) operate on the "
400 "file referred to by I<dirfd> (which may have been obtained using the "
401 "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type "
402 "of file, not just a directory, and the behavior of B<fstatat>() is similar "
403 "to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the "
404 "current working directory. This flag is Linux-specific; define "
405 "B<_GNU_SOURCE> to obtain its definition."
406 msgstr ""
407 "Si I<chemin> est une chaîne vide (ou NULL depuis Linux 6.11), opérer sur le "
408 "fichier référencé par I<dirfd> (qui peut avoir été obtenu en utilisant "
409 "B<open>(2) avec l’attribut B<O_PATH>). Dans ce cas, I<dirfd> peut référencer "
410 "tout type de fichier, pas uniquement un répertoire et le comportement de "
411 "B<fstatat>() est similaire à celui de B<fstat>(). Si I<dirfd> est "
412 "B<AT_FDCWD>, l’appel opère sur le répertoire de travail actuel. Cet attribut "
413 "est spécifique à Linux, B<_GNU_SOURCE> doit être définie pour obtenir sa "
414 "définition."
415
416 #. type: TP
417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
418 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
419 #, no-wrap
420 msgid "B<AT_NO_AUTOMOUNT> (since Linux 2.6.38)"
421 msgstr "B<AT_NO_AUTOMOUNT> (depuis Linux 2.6.38)"
422
423 #. type: Plain text
424 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
425 #: opensuse-tumbleweed
426 #, fuzzy
427 #| msgid ""
428 #| "Don't automount the terminal (\"basename\") component of I<pathname.> "
429 #| "Since Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is "
430 #| "implied."
431 msgid ""
432 "Don't automount the terminal (\"basename\") component of I<path.> Since "
433 "Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied."
434 msgstr ""
435 "Ne pas monter automatiquement la partie terminal (« basename ») de "
436 "I<chemin>. Depuis Linux 3.1, cet attribut est ignoré. Depuis Linux 4.11, cet "
437 "attribut est implicite."
438
439 #. type: TP
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "B<AT_SYMLINK_NOFOLLOW>"
444 msgstr "B<AT_SYMLINK_NOFOLLOW>"
445
446 #. type: Plain text
447 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
448 #: opensuse-tumbleweed
449 #, fuzzy
450 #| msgid ""
451 #| "If I<pathname> is a symbolic link, do not dereference it: instead return "
452 #| "information about the link itself, like B<lstat>(). (By default, "
453 #| "B<fstatat>() dereferences symbolic links, like B<stat>().)"
454 msgid ""
455 "If I<path> is a symbolic link, do not dereference it: instead return "
456 "information about the link itself, like B<lstat>(). (By default, "
457 "B<fstatat>() dereferences symbolic links, like B<stat>().)"
458 msgstr ""
459 "Si I<chemin> est un lien symbolique, ne pas le déréférencer, mais renvoyer "
460 "des informations sur le lien lui\\(hymême, comme le fait B<lstat>(2). (Par "
461 "défaut, B<fstatat>() déréférence les liens symboliques, comme B<stat>(2).)"
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid "See B<openat>(2) for an explanation of the need for B<fstatat>()."
467 msgstr ""
468 "Consultez B<openat>(2) pour une explication de la nécessité de B<fstatat>()."
469
470 #. type: SH
471 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
472 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
473 #, no-wrap
474 msgid "RETURN VALUE"
475 msgstr "VALEUR RENVOYÉE"
476
477 #. type: Plain text
478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
479 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
480 msgid ""
481 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
482 "to indicate the error."
483 msgstr ""
484 "En cas de succès, zéro est renvoyé. En cas d'erreur, B<-1> est renvoyé et "
485 "I<errno> est définie pour préciser l'erreur."
486
487 #. type: SH
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 #, no-wrap
491 msgid "ERRORS"
492 msgstr "ERREURS"
493
494 #. type: TP
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 #, no-wrap
498 msgid "B<EACCES>"
499 msgstr "B<EACCES>"
500
501 #. type: Plain text
502 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
503 #: opensuse-tumbleweed
504 #, fuzzy
505 #| msgid ""
506 #| "Search permission is denied for one of the directories in the path prefix "
507 #| "of I<pathname>. (See also B<path_resolution>(7).)"
508 msgid ""
509 "Search permission is denied for one of the directories in the path prefix of "
510 "I<path>. (See also B<path_resolution>(7).)"
511 msgstr ""
512 "La permission de parcours est refusée pour un des répertoires contenu dans "
513 "le chemin I<nom_chemin>. (Consultez aussi B<path_resolution>(7).)"
514
515 #. type: TP
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "B<EBADF>"
520 msgstr "B<EBADF>"
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid "I<fd> is not a valid open file descriptor."
526 msgstr "Le descripteur de fichier I<fd> est non valable."
527
528 #. type: Plain text
529 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
530 #: opensuse-tumbleweed
531 #, fuzzy
532 #| msgid ""
533 #| "(B<fstatat>()) I<pathname> is relative but I<dirfd> is neither "
534 #| "B<AT_FDCWD> nor a valid file descriptor."
535 msgid ""
536 "(B<fstatat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor "
537 "a valid file descriptor."
538 msgstr ""
539 "(B<fstatat>()) I<chemin> est relatif mais I<dirfd> n'est ni B<AT_FDCWD> ni "
540 "un descripteur de fichier valable."
541
542 #. type: TP
543 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
544 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
545 #, no-wrap
546 msgid "B<EFAULT>"
547 msgstr "B<EFAULT>"
548
549 #. type: Plain text
550 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
551 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
552 msgid "Bad address."
553 msgstr "Un pointeur se trouve en dehors de l'espace d'adressage."
554
555 #. type: TP
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 #, no-wrap
559 msgid "B<EINVAL>"
560 msgstr "B<EINVAL>"
561
562 #. type: Plain text
563 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
564 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
565 msgid "(B<fstatat>()) Invalid flag specified in I<flags>."
566 msgstr "(B<fstatat>()) I<attributs> contient un attribut non valable."
567
568 #. type: TP
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 #, no-wrap
572 msgid "B<ELOOP>"
573 msgstr "B<ELOOP>"
574
575 #. type: Plain text
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 msgid "Too many symbolic links encountered while traversing the path."
579 msgstr "Trop de liens symboliques rencontrés dans le chemin d'accès."
580
581 #. type: TP
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "B<ENAMETOOLONG>"
586 msgstr "B<ENAMETOOLONG>"
587
588 #. type: Plain text
589 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
590 #: opensuse-tumbleweed
591 msgid "I<path> is too long."
592 msgstr "I<path> est trop long."
593
594 #. type: TP
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 #, no-wrap
598 msgid "B<ENOENT>"
599 msgstr "B<ENOENT>"
600
601 #. type: Plain text
602 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
603 #: opensuse-tumbleweed
604 #, fuzzy
605 #| msgid ""
606 #| "A component of I<pathname> does not exist or is a dangling symbolic link."
607 msgid "A component of I<path> does not exist or is a dangling symbolic link."
608 msgstr ""
609 "Un composant du chemin d'accès I<chemin> n'existe pas ou est un lien "
610 "symbolique pointant nulle part."
611
612 #. type: Plain text
613 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
614 #: opensuse-tumbleweed
615 #, fuzzy
616 #| msgid ""
617 #| "I<pathname> is an empty string and B<AT_EMPTY_PATH> was not specified in "
618 #| "I<flags>."
619 msgid ""
620 "I<path> is an empty string and B<AT_EMPTY_PATH> was not specified in "
621 "I<flags>."
622 msgstr ""
623 "I<chemin> est une chaîne vide et B<AT_EMPTY_PATH> n'a pas été spécifié dans "
624 "I<attributs>."
625
626 #. type: TP
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 #, no-wrap
630 msgid "B<ENOMEM>"
631 msgstr "B<ENOMEM>"
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 msgid "Out of memory (i.e., kernel memory)."
637 msgstr "Pas assez de mémoire (mémoire noyau)."
638
639 #. type: TP
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 #, no-wrap
643 msgid "B<ENOTDIR>"
644 msgstr "B<ENOTDIR>"
645
646 #. type: Plain text
647 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
648 #: opensuse-tumbleweed
649 #, fuzzy
650 #| msgid "A component of the path prefix of I<pathname> is not a directory."
651 msgid "A component of the path prefix of I<path> is not a directory."
652 msgstr "Un élément du préfixe de I<chemin> n'est pas un répertoire."
653
654 #. type: Plain text
655 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
656 #: opensuse-tumbleweed
657 #, fuzzy
658 #| msgid ""
659 #| "(B<fstatat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
660 #| "referring to a file other than a directory."
661 msgid ""
662 "(B<fstatat>()) I<path> is relative and I<dirfd> is a file descriptor "
663 "referring to a file other than a directory."
664 msgstr ""
665 "(B<fstatat>()) I<chemin> est relatif et I<dirfd> est un descripteur de "
666 "fichier faisant référence à un fichier qui n'est pas un dossier."
667
668 #. type: TP
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 #, no-wrap
672 msgid "B<EOVERFLOW>"
673 msgstr "B<EOVERFLOW>"
674
675 #. type: Plain text
676 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
677 #: opensuse-tumbleweed
678 #, fuzzy
679 #| msgid ""
680 #| "I<pathname> or I<fd> refers to a file whose size, inode number, or number "
681 #| "of blocks cannot be represented in, respectively, the types I<off_t>, "
682 #| "I<ino_t>, or I<blkcnt_t>. This error can occur when, for example, an "
683 #| "application compiled on a 32-bit platform without I<-"
684 #| "D_FILE_OFFSET_BITS=64> calls B<stat>() on a file whose size exceeds "
685 #| "I<(1E<lt>E<lt>31)-1> bytes."
686 msgid ""
687 "I<path> or I<fd> refers to a file whose size, inode number, or number of "
688 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
689 "or I<blkcnt_t>. This error can occur when, for example, an application "
690 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
691 "B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
692 msgstr ""
693 "I<chemin> ou I<fd> font référence à un fichier dont la taille, l'inœud ou le "
694 "nombre de blocs ne peut pas être représenté respectivement avec le type "
695 "I<off_t>, I<ino_t> ou I<blkcnt_t>. Cela peut arriver par exemple quand une "
696 "application compilée sans l'option I<-D_FILE_OFFSET_BITS=64> sur une plate-"
697 "forme 32 bits appelle B<stat>() pour un fichier dont la taille est "
698 "supérieure à I<(1E<lt>E<lt>31)-1> octets."
699
700 #. type: SH
701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
702 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
703 #, no-wrap
704 msgid "STANDARDS"
705 msgstr "NORMES"
706
707 #. type: Plain text
708 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
709 #: opensuse-tumbleweed
710 msgid "POSIX.1-2024."
711 msgstr "POSIX.1-2024."
712
713 #. type: SH
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 #, no-wrap
717 msgid "HISTORY"
718 msgstr "HISTORIQUE"
719
720 #. type: TP
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 #, no-wrap
724 msgid "B<stat>()"
725 msgstr "B<stat>()"
726
727 #. type: TQ
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 #, no-wrap
731 msgid "B<fstat>()"
732 msgstr "B<fstat>()"
733
734 #. type: TQ
735 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
736 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
737 #, no-wrap
738 msgid "B<lstat>()"
739 msgstr "B<lstat>()"
740
741 #. SVr4 documents additional
742 #. .BR fstat ()
743 #. error conditions EINTR, ENOLINK, and EOVERFLOW. SVr4
744 #. documents additional
745 #. .BR stat ()
746 #. and
747 #. .BR lstat ()
748 #. error conditions EINTR, EMULTIHOP, ENOLINK, and EOVERFLOW.
749 #. type: Plain text
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 msgid "SVr4, 4.3BSD, POSIX.1-2001."
753 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
754
755 #. type: TP
756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
758 #, no-wrap
759 msgid "B<fstatat>()"
760 msgstr "B<fstatat>()"
761
762 #. type: Plain text
763 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
764 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
765 msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
766 msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
767
768 #. type: Plain text
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 msgid ""
772 "According to POSIX.1-2001, B<lstat>() on a symbolic link need return valid "
773 "information only in the I<st_size> field and the file type of the I<st_mode> "
774 "field of the I<stat> structure. POSIX.1-2008 tightens the specification, "
775 "requiring B<lstat>() to return valid information in all fields except the "
776 "mode bits in I<st_mode>."
777 msgstr ""
778 "D'après POSIX.1-2001, B<lstat>() sur un lien symbolique ne doit renvoyer des "
779 "informations valables que dans le champ I<st_size> et le type de fichier du "
780 "champ I<st_mode> de la structure I<stat>. POSIX.1-2008 renforce la "
781 "spécification, obligeant B<lstat>() à renvoyer des informations valables "
782 "dans tous les champs à part les bits de mode dans I<st_mode>."
783
784 #. type: Plain text
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
787 msgid ""
788 "Use of the I<st_blocks> and I<st_blksize> fields may be less portable. "
789 "(They were introduced in BSD. The interpretation differs between systems, "
790 "and possibly on a single system when NFS mounts are involved.)"
791 msgstr ""
792 "L'utilisation des champs I<st_blocks> et I<st_blksize> risque d'être moins "
793 "portable (ils ont été introduits dans BSD. Leur interprétation change "
794 "suivant les systèmes, voire sur un même système s'il y a des montages NFS)."
795
796 #. type: SS
797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
799 #, no-wrap
800 msgid "C library/kernel differences"
801 msgstr "Différences entre bibliothèque C et noyau"
802
803 #. See include/asm-i386/stat.h in the Linux 2.4 source code for the
804 #. various versions of the structure definitions
805 #. type: Plain text
806 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
807 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
808 msgid ""
809 "Over time, increases in the size of the I<stat> structure have led to three "
810 "successive versions of B<stat>(): I<sys_stat>() (slot I<__NR_oldstat>), "
811 "I<sys_newstat>() (slot I<__NR_stat>), and I<sys_stat64()> (slot "
812 "I<__NR_stat64>) on 32-bit platforms such as i386. The first two versions "
813 "were already present in Linux 1.0 (albeit with different names); the last "
814 "was added in Linux 2.4. Similar remarks apply for B<fstat>() and "
815 "B<lstat>()."
816 msgstr ""
817 "Avec le temps, l'augmentation de la taille de la structure I<stat> a conduit "
818 "à trois versions successives de B<stat>() : I<sys_stat>() (slot "
819 "I<__NR_oldstat>), I<sys_newstat>() (slot I<__NR_stat>) et I<sys_stat64>() "
820 "I<__NR_stat64>) sur les plateformes 32 bits telles que i386. Les deux "
821 "premières versions étaient déjà présentes dans Linux 1.0 (quoiqu'avec des "
822 "noms différents), la dernière a été ajoutée dans Linux 2.4. La même remarque "
823 "s'applique à B<fstat>() et B<lstat>()."
824
825 #. type: Plain text
826 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
827 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
828 msgid ""
829 "The kernel-internal versions of the I<stat> structure dealt with by the "
830 "different versions are, respectively:"
831 msgstr ""
832 "Les versions internes du noyau de la structure I<stat> traitées par les "
833 "différentes versions étaient respectivement :"
834
835 #. type: TP
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 #, no-wrap
839 msgid "I<__old_kernel_stat>"
840 msgstr "I<__old_kernel_stat>"
841
842 #. type: Plain text
843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
845 msgid "The original structure, with rather narrow fields, and no padding."
846 msgstr ""
847 "La structure d'origine avec des champs plutôt étroits et pas de remplissage."
848
849 #. type: TP
850 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
851 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
852 #, no-wrap
853 msgid "I<stat>"
854 msgstr "I<stat>"
855
856 #. type: Plain text
857 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
858 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
859 msgid ""
860 "Larger I<st_ino> field and padding added to various parts of the structure "
861 "to allow for future expansion."
862 msgstr ""
863 "Un champ plus grand I<st_ino> et le remplissage ont été ajoutés dans "
864 "différentes parties de la structure pour autoriser un agrandissement futur."
865
866 #. type: TP
867 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
868 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
869 #, no-wrap
870 msgid "I<stat64>"
871 msgstr "I<stat64>"
872
873 #. type: Plain text
874 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
875 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
876 msgid ""
877 "Even larger I<st_ino> field, larger I<st_uid> and I<st_gid> fields to "
878 "accommodate the Linux-2.4 expansion of UIDs and GIDs to 32 bits, and various "
879 "other enlarged fields and further padding in the structure. (Various "
880 "padding bytes were eventually consumed in Linux 2.6, with the advent of 32-"
881 "bit device IDs and nanosecond components for the timestamp fields.)"
882 msgstr ""
883 "Un champ I<st_ino> encore plus grand, des champs I<st_uid> et I<st_gid> plus "
884 "grands pour s'adapter à l'extension à 32 bits des UID et GID dans Linux 2.4 "
885 "et d'autres champs agrandis ainsi que plus de remplissage dans la structure. "
886 "(Divers octets de remplissage étaient finalement consommés dans Linux 2.6 "
887 "avec l'introduction d'ID de périphérique 32 bits et des composants en "
888 "nanosecondes dans les champs d'horodatage.)"
889
890 #
891 #
892 #
893 #
894 #
895 #
896 #. #-#-#-#-# archlinux: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
897 #. A note from Andries Brouwer, July 2007
898 #. > Is the story not rather more complicated for some calls like
899 #. > stat(2)?
900 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
901 #. The idea is here not so much that syscalls change, but that
902 #. the definitions of struct stat and of the types dev_t and mode_t change.
903 #. This means that libc (even if it does not call the kernel
904 #. but only calls some internal function) must know what the
905 #. format of dev_t or of struct stat is.
906 #. The communication between the application and libc goes via
907 #. the include file <sys/stat.h> that defines a _STAT_VER and
908 #. _MKNOD_VER describing the layout of the data that user space
909 #. uses. Each (almost each) occurrence of stat() is replaced by
910 #. an occurrence of xstat() where the first parameter of xstat()
911 #. is this version number _STAT_VER.
912 #. Now, also the definitions used by the kernel change.
913 #. But glibc copes with this in the standard way, and the
914 #. struct stat as returned by the kernel is repacked into
915 #. the struct stat as expected by the application.
916 #. Thus, _STAT_VER and this setup cater for the application-libc
917 #. interface, rather than the libc-kernel interface.
918 #. (Note that the details depend on gcc being used as c compiler.)
919 #. type: Plain text
920 #. #-#-#-#-# debian-trixie: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
921 #. A note from Andries Brouwer, July 2007
922 #. > Is the story not rather more complicated for some calls like
923 #. > stat(2)?
924 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
925 #. The idea is here not so much that syscalls change, but that
926 #. the definitions of struct stat and of the types dev_t and mode_t change.
927 #. This means that libc (even if it does not call the kernel
928 #. but only calls some internal function) must know what the
929 #. format of dev_t or of struct stat is.
930 #. The communication between the application and libc goes via
931 #. the include file <sys/stat.h> that defines a _STAT_VER and
932 #. _MKNOD_VER describing the layout of the data that user space
933 #. uses. Each (almost each) occurrence of stat() is replaced by
934 #. an occurrence of xstat() where the first parameter of xstat()
935 #. is this version number _STAT_VER.
936 #. Now, also the definitions used by the kernel change.
937 #. But glibc copes with this in the standard way, and the
938 #. struct stat as returned by the kernel is repacked into
939 #. the struct stat as expected by the application.
940 #. Thus, _STAT_VER and this setup cater for the application-libc
941 #. interface, rather than the libc-kernel interface.
942 #. (Note that the details depend on gcc being used as c compiler.)
943 #. type: Plain text
944 #. #-#-#-#-# debian-unstable: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
945 #. A note from Andries Brouwer, July 2007
946 #. > Is the story not rather more complicated for some calls like
947 #. > stat(2)?
948 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
949 #. The idea is here not so much that syscalls change, but that
950 #. the definitions of struct stat and of the types dev_t and mode_t change.
951 #. This means that libc (even if it does not call the kernel
952 #. but only calls some internal function) must know what the
953 #. format of dev_t or of struct stat is.
954 #. The communication between the application and libc goes via
955 #. the include file <sys/stat.h> that defines a _STAT_VER and
956 #. _MKNOD_VER describing the layout of the data that user space
957 #. uses. Each (almost each) occurrence of stat() is replaced by
958 #. an occurrence of xstat() where the first parameter of xstat()
959 #. is this version number _STAT_VER.
960 #. Now, also the definitions used by the kernel change.
961 #. But glibc copes with this in the standard way, and the
962 #. struct stat as returned by the kernel is repacked into
963 #. the struct stat as expected by the application.
964 #. Thus, _STAT_VER and this setup cater for the application-libc
965 #. interface, rather than the libc-kernel interface.
966 #. (Note that the details depend on gcc being used as c compiler.)
967 #. type: Plain text
968 #. #-#-#-#-# fedora-44: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
969 #. A note from Andries Brouwer, July 2007
970 #. > Is the story not rather more complicated for some calls like
971 #. > stat(2)?
972 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
973 #. The idea is here not so much that syscalls change, but that
974 #. the definitions of struct stat and of the types dev_t and mode_t change.
975 #. This means that libc (even if it does not call the kernel
976 #. but only calls some internal function) must know what the
977 #. format of dev_t or of struct stat is.
978 #. The communication between the application and libc goes via
979 #. the include file <sys/stat.h> that defines a _STAT_VER and
980 #. _MKNOD_VER describing the layout of the data that user space
981 #. uses. Each (almost each) occurrence of stat() is replaced by
982 #. an occurrence of xstat() where the first parameter of xstat()
983 #. is this version number _STAT_VER.
984 #. Now, also the definitions used by the kernel change.
985 #. But glibc copes with this in the standard way, and the
986 #. struct stat as returned by the kernel is repacked into
987 #. the struct stat as expected by the application.
988 #. Thus, _STAT_VER and this setup cater for the application-libc
989 #. interface, rather than the libc-kernel interface.
990 #. (Note that the details depend on gcc being used as c compiler.)
991 #. type: Plain text
992 #. #-#-#-#-# fedora-rawhide: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
993 #. A note from Andries Brouwer, July 2007
994 #. > Is the story not rather more complicated for some calls like
995 #. > stat(2)?
996 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
997 #. The idea is here not so much that syscalls change, but that
998 #. the definitions of struct stat and of the types dev_t and mode_t change.
999 #. This means that libc (even if it does not call the kernel
1000 #. but only calls some internal function) must know what the
1001 #. format of dev_t or of struct stat is.
1002 #. The communication between the application and libc goes via
1003 #. the include file <sys/stat.h> that defines a _STAT_VER and
1004 #. _MKNOD_VER describing the layout of the data that user space
1005 #. uses. Each (almost each) occurrence of stat() is replaced by
1006 #. an occurrence of xstat() where the first parameter of xstat()
1007 #. is this version number _STAT_VER.
1008 #. Now, also the definitions used by the kernel change.
1009 #. But glibc copes with this in the standard way, and the
1010 #. struct stat as returned by the kernel is repacked into
1011 #. the struct stat as expected by the application.
1012 #. Thus, _STAT_VER and this setup cater for the application-libc
1013 #. interface, rather than the libc-kernel interface.
1014 #. (Note that the details depend on gcc being used as c compiler.)
1015 #. type: Plain text
1016 #. #-#-#-#-# mageia-cauldron: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
1017 #. A note from Andries Brouwer, July 2007
1018 #. > Is the story not rather more complicated for some calls like
1019 #. > stat(2)?
1020 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
1021 #. The idea is here not so much that syscalls change, but that
1022 #. the definitions of struct stat and of the types dev_t and mode_t change.
1023 #. This means that libc (even if it does not call the kernel
1024 #. but only calls some internal function) must know what the
1025 #. format of dev_t or of struct stat is.
1026 #. The communication between the application and libc goes via
1027 #. the include file <sys/stat.h> that defines a _STAT_VER and
1028 #. _MKNOD_VER describing the layout of the data that user space
1029 #. uses. Each (almost each) occurrence of stat() is replaced by
1030 #. an occurrence of xstat() where the first parameter of xstat()
1031 #. is this version number _STAT_VER.
1032 #. Now, also the definitions used by the kernel change.
1033 #. But glibc copes with this in the standard way, and the
1034 #. struct stat as returned by the kernel is repacked into
1035 #. the struct stat as expected by the application.
1036 #. Thus, _STAT_VER and this setup cater for the application-libc
1037 #. interface, rather than the libc-kernel interface.
1038 #. (Note that the details depend on gcc being used as c compiler.)
1039 #. type: Plain text
1040 #. #-#-#-#-# opensuse-leap-16-1: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
1041 #. A note from Andries Brouwer, July 2007
1042 #. > Is the story not rather more complicated for some calls like
1043 #. > stat(2)?
1044 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
1045 #. The idea is here not so much that syscalls change, but that
1046 #. the definitions of struct stat and of the types dev_t and mode_t change.
1047 #. This means that libc (even if it does not call the kernel
1048 #. but only calls some internal function) must know what the
1049 #. format of dev_t or of struct stat is.
1050 #. The communication between the application and libc goes via
1051 #. the include file <sys/stat.h> that defines a _STAT_VER and
1052 #. _MKNOD_VER describing the layout of the data that user space
1053 #. uses. Each (almost each) occurrence of stat() is replaced by
1054 #. an occurrence of xstat() where the first parameter of xstat()
1055 #. is this version number _STAT_VER.
1056 #. Now, also the definitions used by the kernel change.
1057 #. But glibc copes with this in the standard way, and the
1058 #. struct stat as returned by the kernel is repacked into
1059 #. the struct stat as expected by the application.
1060 #. Thus, _STAT_VER and this setup cater for the application-libc
1061 #. interface, rather than the libc-kernel interface.
1062 #. (Note that the details depend on gcc being used as c compiler.)
1063 #. type: Plain text
1064 #. #-#-#-#-# opensuse-tumbleweed: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
1065 #. A note from Andries Brouwer, July 2007
1066 #. > Is the story not rather more complicated for some calls like
1067 #. > stat(2)?
1068 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
1069 #. The idea is here not so much that syscalls change, but that
1070 #. the definitions of struct stat and of the types dev_t and mode_t change.
1071 #. This means that libc (even if it does not call the kernel
1072 #. but only calls some internal function) must know what the
1073 #. format of dev_t or of struct stat is.
1074 #. The communication between the application and libc goes via
1075 #. the include file <sys/stat.h> that defines a _STAT_VER and
1076 #. _MKNOD_VER describing the layout of the data that user space
1077 #. uses. Each (almost each) occurrence of stat() is replaced by
1078 #. an occurrence of xstat() where the first parameter of xstat()
1079 #. is this version number _STAT_VER.
1080 #. Now, also the definitions used by the kernel change.
1081 #. But glibc copes with this in the standard way, and the
1082 #. struct stat as returned by the kernel is repacked into
1083 #. the struct stat as expected by the application.
1084 #. Thus, _STAT_VER and this setup cater for the application-libc
1085 #. interface, rather than the libc-kernel interface.
1086 #. (Note that the details depend on gcc being used as c compiler.)
1087 #. type: Plain text
1088 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1089 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1090 msgid ""
1091 "The glibc B<stat>() wrapper function hides these details from applications, "
1092 "invoking the most recent version of the system call provided by the kernel, "
1093 "and repacking the returned information if required for old binaries."
1094 msgstr ""
1095 "La fonction d'enveloppe B<stat>() de la glibc dissimule ces détails aux "
1096 "applications invoquant la version la plus récente de l'appel système fourni "
1097 "par le noyau, et recompresse l'information renvoyée si nécessaire pour les "
1098 "binaires anciens."
1099
1100 #. type: Plain text
1101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1103 msgid ""
1104 "On modern 64-bit systems, life is simpler: there is a single B<stat>() "
1105 "system call and the kernel deals with a I<stat> structure that contains "
1106 "fields of a sufficient size."
1107 msgstr ""
1108 "Dans les systèmes modernes 64 bits, la vie est plus simple : il n'y a qu'un "
1109 "seul appel système B<stat>() et le noyau s'occupe de la structure I<stat> "
1110 "qui contient des champs d'une taille suffisante."
1111
1112 #. strace(1) shows the name "newfstatat" on x86-64
1113 #. type: Plain text
1114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1116 msgid ""
1117 "The underlying system call employed by the glibc B<fstatat>() wrapper "
1118 "function is actually called B<fstatat64>() or, on some architectures, "
1119 "B<newfstatat>()."
1120 msgstr ""
1121 "L'appel système sous-jacent employé par la fonction d'enveloppe B<fstatat()> "
1122 "de la glibc s'appelle en fait B<fstatat64>() ou, sur certaines "
1123 "architectures, B<newfstatat>()."
1124
1125 #. type: SH
1126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1128 #, no-wrap
1129 msgid "EXAMPLES"
1130 msgstr "EXEMPLES"
1131
1132 #. type: Plain text
1133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1135 msgid ""
1136 "The following program calls B<lstat>() and displays selected fields in the "
1137 "returned I<stat> structure."
1138 msgstr ""
1139 "Le programme suivant appelle B<lstat>() et affiche certains champs "
1140 "sélectionnés dans la structure I<stat> renvoyée."
1141
1142 #. type: Plain text
1143 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1144 #: opensuse-tumbleweed
1145 #, fuzzy, no-wrap
1146 #| msgid ""
1147 #| "#include E<lt>stdint.hE<gt>\n"
1148 #| "#include E<lt>stdio.hE<gt>\n"
1149 #| "#include E<lt>stdlib.hE<gt>\n"
1150 #| "#include E<lt>sys/stat.hE<gt>\n"
1151 #| "#include E<lt>sys/sysmacros.hE<gt>\n"
1152 #| "#include E<lt>time.hE<gt>\n"
1153 #| "\\&\n"
1154 #| "int\n"
1155 #| "main(int argc, char *argv[])\n"
1156 #| "{\n"
1157 #| " struct stat sb;\n"
1158 #| "\\&\n"
1159 #| " if (argc != 2) {\n"
1160 #| " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1161 #| " exit(EXIT_FAILURE);\n"
1162 #| " }\n"
1163 #| "\\&\n"
1164 #| " if (lstat(argv[1], &sb) == -1) {\n"
1165 #| " perror(\"lstat\");\n"
1166 #| " exit(EXIT_FAILURE);\n"
1167 #| " }\n"
1168 #| "\\&\n"
1169 #| " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1170 #| " major(sb.st_dev),\n"
1171 #| " minor(sb.st_dev));\n"
1172 #| "\\&\n"
1173 #| " printf(\"File type: \");\n"
1174 #| "\\&\n"
1175 #| " switch (sb.st_mode & S_IFMT) {\n"
1176 #| " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1177 #| " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1178 #| " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1179 #| " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1180 #| " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1181 #| " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1182 #| " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1183 #| " default: printf(\"unknown?\\[rs]n\"); break;\n"
1184 #| " }\n"
1185 #| "\\&\n"
1186 #| " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1187 #| "\\&\n"
1188 #| " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1189 #| " (uintmax_t) sb.st_mode);\n"
1190 #| "\\&\n"
1191 #| " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1192 #| " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1193 #| " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1194 #| "\\&\n"
1195 #| " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1196 #| " (intmax_t) sb.st_blksize);\n"
1197 #| " printf(\"File size: %jd bytes\\[rs]n\",\n"
1198 #| " (intmax_t) sb.st_size);\n"
1199 #| " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1200 #| " (intmax_t) sb.st_blocks);\n"
1201 #| "\\&\n"
1202 #| " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1203 #| " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1204 #| " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1205 #| "\\&\n"
1206 #| " exit(EXIT_SUCCESS);\n"
1207 #| "}\n"
1208 msgid ""
1209 "#include E<lt>stdint.hE<gt>\n"
1210 "#include E<lt>stdio.hE<gt>\n"
1211 "#include E<lt>stdlib.hE<gt>\n"
1212 "#include E<lt>sys/stat.hE<gt>\n"
1213 "#include E<lt>sys/sysmacros.hE<gt>\n"
1214 "#include E<lt>time.hE<gt>\n"
1215 "\\&\n"
1216 "int\n"
1217 "main(int argc, char *argv[])\n"
1218 "{\n"
1219 " struct stat sb;\n"
1220 "\\&\n"
1221 " if (argc != 2) {\n"
1222 " fprintf(stderr, \"Usage: %s E<lt>pathE<gt>\\[rs]n\", argv[0]);\n"
1223 " exit(EXIT_FAILURE);\n"
1224 " }\n"
1225 "\\&\n"
1226 " if (lstat(argv[1], &sb) == -1) {\n"
1227 " perror(\"lstat\");\n"
1228 " exit(EXIT_FAILURE);\n"
1229 " }\n"
1230 "\\&\n"
1231 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1232 " major(sb.st_dev),\n"
1233 " minor(sb.st_dev));\n"
1234 "\\&\n"
1235 " printf(\"File type: \");\n"
1236 "\\&\n"
1237 " switch (sb.st_mode & S_IFMT) {\n"
1238 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1239 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1240 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1241 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1242 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1243 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1244 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1245 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1246 " }\n"
1247 "\\&\n"
1248 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1249 "\\&\n"
1250 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1251 " (uintmax_t) sb.st_mode);\n"
1252 "\\&\n"
1253 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1254 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1255 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1256 "\\&\n"
1257 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1258 " (intmax_t) sb.st_blksize);\n"
1259 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1260 " (intmax_t) sb.st_size);\n"
1261 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1262 " (intmax_t) sb.st_blocks);\n"
1263 "\\&\n"
1264 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1265 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1266 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1267 "\\&\n"
1268 " exit(EXIT_SUCCESS);\n"
1269 "}\n"
1270 msgstr ""
1271 "#include E<lt>stdint.hE<gt>\n"
1272 "#include E<lt>stdio.hE<gt>\n"
1273 "#include E<lt>stdlib.hE<gt>\n"
1274 "#include E<lt>sys/stat.hE<gt>\n"
1275 "#include E<lt>sys/sysmacros.hE<gt>\n"
1276 "#include E<lt>time.hE<gt>\n"
1277 "\\&\n"
1278 "int\n"
1279 "main(int argc, char *argv[])\n"
1280 "{\n"
1281 " struct stat sb;\n"
1282 "\\&\n"
1283 " if (argc != 2) {\n"
1284 " fprintf(stderr, \"Utilisation : %s E<lt>cheminE<gt>\\[rs]n\", argv[0]);\n"
1285 " exit(EXIT_FAILURE);\n"
1286 " }\n"
1287 "\\&\n"
1288 " if (lstat(argv[1], &sb) == -1) {\n"
1289 " perror(\"lstat\");\n"
1290 " exit(EXIT_FAILURE);\n"
1291 " }\n"
1292 "\\&\n"
1293 " printf(\"ID du périphérique contenant : [%x,%x]\\[rs]n\",\n"
1294 " major(sb.st_dev),\n"
1295 " minor(sb.st_dev));\n"
1296 "\\&\n"
1297 " printf(\"Type de fichier : \");\n"
1298 "\\&\n"
1299 " switch (sb.st_mode & S_IFMT) {\n"
1300 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1301 " case S_IFCHR: printf(\"périphérique caractère\\[rs]n\"); break;\n"
1302 " case S_IFDIR: printf(\"répertoire\\[rs]n\"); break;\n"
1303 " case S_IFIFO: printf(\"FIFO/tube\\[rs]n\"); break;\n"
1304 " case S_IFLNK: printf(\"lien symbolique\\[rs]n\"); break;\n"
1305 " case S_IFREG: printf(\"fichier ordinaire\\[rs]n\"); break;\n"
1306 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1307 " default: printf(\"inconnu\\ ?\\[rs]n\"); break;\n"
1308 " }\n"
1309 "\\&\n"
1310 " printf(\"Numéro d'inœud\\ : %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1311 "\\&\n"
1312 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1313 " (uintmax_t) sb.st_mode);\n"
1314 "\\&\n"
1315 " printf(\"Nombre de liens\\ : %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1316 " printf(\"Propriétaires\\ : UID=%ju GID=%ju\\[rs]n\",\n"
1317 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1318 "\\&\n"
1319 " printf(\"Taille de bloc d'E/S\\ : %jd bytes\\[rs]n\",\n"
1320 " (intmax_t) sb.st_blksize);\n"
1321 " printf(\"Taille du fichier\\ %jd bytes\\[rs]n\",\n"
1322 " (intmax_t) sb.st_size);\n"
1323 " printf(\"Blocs alloués\\ : %jd\\[rs]n\",\n"
1324 " (intmax_t) sb.st_blocks);\n"
1325 "\\&\n"
1326 " printf(\"Dernier changement d'état\\ : %s\", ctime(&sb.st_ctime));\n"
1327 " printf(\"Dernier accès au fichier\\ : %s\", ctime(&sb.st_atime));\n"
1328 " printf(\"Dernière modification du fichier\\ : %s\", ctime(&sb.st_mtime));\n"
1329 "\\&\n"
1330 " exit(EXIT_SUCCESS);\n"
1331 "}\n"
1332
1333 #. SRC END
1334 #. type: SH
1335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1337 #, no-wrap
1338 msgid "SEE ALSO"
1339 msgstr "VOIR AUSSI"
1340
1341 #. type: Plain text
1342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1344 msgid ""
1345 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1346 "B<readlink>(2), B<statx>(2), B<utime>(2), B<stat>(3type), "
1347 "B<capabilities>(7), B<inode>(7), B<symlink>(7)"
1348 msgstr ""
1349 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1350 "B<readlink>(2), B<statx>(2), B<utime>(2), B<stat>(3type), "
1351 "B<capabilities>(7), B<inode>(7), B<symlink>(7)"
1352
1353 #. type: TH
1354 #: debian-trixie
1355 #, no-wrap
1356 msgid "2024-06-15"
1357 msgstr "15 juin 2024"
1358
1359 #. type: TH
1360 #: debian-trixie
1361 #, no-wrap
1362 msgid "Linux man-pages 6.9.1"
1363 msgstr "Pages du manuel de Linux 6.9.1"
1364
1365 #. type: Plain text
1366 #: debian-trixie
1367 msgid "Standard C library (I<libc>, I<-lc>)"
1368 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
1369
1370 #. type: Plain text
1371 #: debian-trixie fedora-44 fedora-rawhide
1372 #, no-wrap
1373 msgid ""
1374 "B<int stat(const char *restrict >I<pathname>B<,>\n"
1375 "B< struct stat *restrict >I<statbuf>B<);>\n"
1376 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
1377 "B<int lstat(const char *restrict >I<pathname>B<,>\n"
1378 "B< struct stat *restrict >I<statbuf>B<);>\n"
1379 msgstr ""
1380 "B<int stat(const char *restrict >I<chemin>B<,>\n"
1381 "B< struct stat *restrict >I<statbuf>B<);>\n"
1382 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
1383 "B<int lstat(const char *restrict >I<chemin>B<,>\n"
1384 "B< struct stat *restrict >I<statbuf>B<);>\n"
1385
1386 #. type: Plain text
1387 #: debian-trixie fedora-44 fedora-rawhide
1388 #, no-wrap
1389 msgid ""
1390 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
1391 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
1392 msgstr ""
1393 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<chemin>B<,>\n"
1394 "B< struct stat *restrict >I<statbuf>B<, int >I<attributs>B<);>\n"
1395
1396 #. type: Plain text
1397 #: debian-trixie fedora-44 fedora-rawhide
1398 msgid ""
1399 "These functions return information about a file, in the buffer pointed to by "
1400 "I<statbuf>. No permissions are required on the file itself, but\\[em]in the "
1401 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) "
1402 "permission is required on all of the directories in I<pathname> that lead to "
1403 "the file."
1404 msgstr ""
1405 "Ces fonctions renvoient des renseignements sur le fichier indiqué, dans le "
1406 "tampon pointé par I<statbuf>. Vous n'avez besoin d'aucun droit d'accès au "
1407 "fichier pour obtenir les informations, mais vous devez \\[em] dans le cas de "
1408 "B<stat>(), B<fstatat>() et B<lstat>() \\[em] avoir le droit d'exécuter "
1409 "(search) sur tous les répertoires mentionnés dans le I<chemin> menant au "
1410 "fichier."
1411
1412 #. type: Plain text
1413 #: debian-trixie fedora-44 fedora-rawhide
1414 msgid ""
1415 "B<stat>() and B<fstatat>() retrieve information about the file pointed to "
1416 "by I<pathname>; the differences for B<fstatat>() are described below."
1417 msgstr ""
1418 "B<stat>() et B<fstatat>() récupèrent des renseignements sur le fichier "
1419 "pointé par I<chemin>. Les différences de B<fstatat>() sont décrites ci-"
1420 "dessous :"
1421
1422 #. type: Plain text
1423 #: debian-trixie fedora-44 fedora-rawhide
1424 msgid ""
1425 "B<lstat>() is identical to B<stat>(), except that if I<pathname> is a "
1426 "symbolic link, then it returns information about the link itself, not the "
1427 "file that the link refers to."
1428 msgstr ""
1429 "B<lstat>() est identique à B<stat>(), sauf que dans le cas où I<chemin> est "
1430 "un lien symbolique, auquel cas il renvoie des renseignements sur le lien lui-"
1431 "même plutôt que celui du fichier visé."
1432
1433 #. type: Plain text
1434 #: debian-trixie fedora-44 fedora-rawhide
1435 msgid ""
1436 "If the pathname given in I<pathname> is relative, then it is interpreted "
1437 "relative to the directory referred to by the file descriptor I<dirfd> "
1438 "(rather than relative to the current working directory of the calling "
1439 "process, as is done by B<stat>() and B<lstat>() for a relative pathname)."
1440 msgstr ""
1441 "Si le chemin donnée dans I<chemin> est un chemin relatif, il est interprété "
1442 "par rapport au répertoire référencé par le descripteur de fichier I<dirfd>, "
1443 "(plutôt que par rapport au répertoire courant du processus appelant, comme "
1444 "avec B<stat>() et B<lstat>() pour un chemin relatif)."
1445
1446 #. type: Plain text
1447 #: debian-trixie fedora-44 fedora-rawhide
1448 msgid ""
1449 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1450 "then I<pathname> is interpreted relative to the current working directory of "
1451 "the calling process (like B<stat>() and B<lstat>())."
1452 msgstr ""
1453 "Si I<chemin> est relatif, et si I<dirfd> est la valeur spéciale B<AT_FDCWD>, "
1454 "I<chemin> est interprété comme étant relatif au répertoire courant du "
1455 "processus appelant, comme B<stat>() et B<lstat>()."
1456
1457 #. type: Plain text
1458 #: debian-trixie fedora-44 fedora-rawhide
1459 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1460 msgstr "Si I<pathname> est absolu, alors I<dirfd> est ignoré."
1461
1462 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1463 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1464 #. type: Plain text
1465 #: debian-trixie
1466 msgid ""
1467 "If I<pathname> is an empty string, operate on the file referred to by "
1468 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1469 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1470 "directory, and the behavior of B<fstatat>() is similar to that of "
1471 "B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1472 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1473 "obtain its definition."
1474 msgstr ""
1475 "Si I<chemin> est une chaîne vide, opérer sur le fichier référencé par "
1476 "I<dirfd> (qui peut avoir été obtenu en utilisant B<open>(2) avec l’attribut "
1477 "B<O_PATH>). Dans ce cas, I<dirfd> peut référencer tout type de fichier, pas "
1478 "uniquement un répertoire et le comportement de B<fstatat>() est similaire à "
1479 "celui de B<fstat>(). Si I<dirfd> est B<AT_FDCWD>, l’appel opère sur le "
1480 "répertoire de travail actuel. Cet attribut est spécifique à Linux, "
1481 "B<_GNU_SOURCE> doit être définie pour obtenir sa définition."
1482
1483 #. type: Plain text
1484 #: debian-trixie fedora-44 fedora-rawhide
1485 msgid ""
1486 "Don't automount the terminal (\"basename\") component of I<pathname.> Since "
1487 "Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied."
1488 msgstr ""
1489 "Ne pas monter automatiquement la partie terminal (« basename ») de "
1490 "I<chemin>. Depuis Linux 3.1, cet attribut est ignoré. Depuis Linux 4.11, cet "
1491 "attribut est implicite."
1492
1493 #. type: Plain text
1494 #: debian-trixie fedora-44 fedora-rawhide
1495 msgid ""
1496 "If I<pathname> is a symbolic link, do not dereference it: instead return "
1497 "information about the link itself, like B<lstat>(). (By default, "
1498 "B<fstatat>() dereferences symbolic links, like B<stat>().)"
1499 msgstr ""
1500 "Si I<chemin> est un lien symbolique, ne pas le déréférencer, mais renvoyer "
1501 "des informations sur le lien lui\\(hymême, comme le fait B<lstat>(2). (Par "
1502 "défaut, B<fstatat>() déréférence les liens symboliques, comme B<stat>(2).)"
1503
1504 #. type: Plain text
1505 #: debian-trixie fedora-44 fedora-rawhide
1506 msgid ""
1507 "Search permission is denied for one of the directories in the path prefix of "
1508 "I<pathname>. (See also B<path_resolution>(7).)"
1509 msgstr ""
1510 "La permission de parcours est refusée pour un des répertoires contenu dans "
1511 "le chemin I<nom_chemin>. (Consultez aussi B<path_resolution>(7).)"
1512
1513 #. type: Plain text
1514 #: debian-trixie fedora-44 fedora-rawhide
1515 msgid ""
1516 "(B<fstatat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> "
1517 "nor a valid file descriptor."
1518 msgstr ""
1519 "(B<fstatat>()) I<chemin> est relatif mais I<dirfd> n'est ni B<AT_FDCWD> ni "
1520 "un descripteur de fichier valable."
1521
1522 #. type: Plain text
1523 #: debian-trixie fedora-44 fedora-rawhide
1524 msgid "I<pathname> is too long."
1525 msgstr "I<nom_chemin> est trop long."
1526
1527 #. type: Plain text
1528 #: debian-trixie fedora-44 fedora-rawhide
1529 msgid ""
1530 "A component of I<pathname> does not exist or is a dangling symbolic link."
1531 msgstr ""
1532 "Un composant du chemin d'accès I<chemin> n'existe pas ou est un lien "
1533 "symbolique pointant nulle part."
1534
1535 #. type: Plain text
1536 #: debian-trixie fedora-44 fedora-rawhide
1537 msgid ""
1538 "I<pathname> is an empty string and B<AT_EMPTY_PATH> was not specified in "
1539 "I<flags>."
1540 msgstr ""
1541 "I<chemin> est une chaîne vide et B<AT_EMPTY_PATH> n'a pas été spécifié dans "
1542 "I<attributs>."
1543
1544 #. type: Plain text
1545 #: debian-trixie fedora-44 fedora-rawhide
1546 msgid "A component of the path prefix of I<pathname> is not a directory."
1547 msgstr "Un élément du préfixe de I<chemin> n'est pas un répertoire."
1548
1549 #. type: Plain text
1550 #: debian-trixie fedora-44 fedora-rawhide
1551 msgid ""
1552 "(B<fstatat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
1553 "referring to a file other than a directory."
1554 msgstr ""
1555 "(B<fstatat>()) I<chemin> est relatif et I<dirfd> est un descripteur de "
1556 "fichier faisant référence à un fichier qui n'est pas un dossier."
1557
1558 #. type: Plain text
1559 #: debian-trixie fedora-44 fedora-rawhide
1560 msgid ""
1561 "I<pathname> or I<fd> refers to a file whose size, inode number, or number of "
1562 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
1563 "or I<blkcnt_t>. This error can occur when, for example, an application "
1564 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
1565 "B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
1566 msgstr ""
1567 "I<chemin> ou I<fd> font référence à un fichier dont la taille, l'inœud ou le "
1568 "nombre de blocs ne peut pas être représenté respectivement avec le type "
1569 "I<off_t>, I<ino_t> ou I<blkcnt_t>. Cela peut arriver par exemple quand une "
1570 "application compilée sans l'option I<-D_FILE_OFFSET_BITS=64> sur une plate-"
1571 "forme 32 bits appelle B<stat>() pour un fichier dont la taille est "
1572 "supérieure à I<(1E<lt>E<lt>31)-1> octets."
1573
1574 #. type: Plain text
1575 #: debian-trixie fedora-44 fedora-rawhide
1576 msgid "POSIX.1-2008."
1577 msgstr "POSIX.1-2008."
1578
1579 #. type: Plain text
1580 #: debian-trixie fedora-44 fedora-rawhide
1581 #, no-wrap
1582 msgid ""
1583 "#include E<lt>stdint.hE<gt>\n"
1584 "#include E<lt>stdio.hE<gt>\n"
1585 "#include E<lt>stdlib.hE<gt>\n"
1586 "#include E<lt>sys/stat.hE<gt>\n"
1587 "#include E<lt>sys/sysmacros.hE<gt>\n"
1588 "#include E<lt>time.hE<gt>\n"
1589 "\\&\n"
1590 "int\n"
1591 "main(int argc, char *argv[])\n"
1592 "{\n"
1593 " struct stat sb;\n"
1594 "\\&\n"
1595 " if (argc != 2) {\n"
1596 " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1597 " exit(EXIT_FAILURE);\n"
1598 " }\n"
1599 "\\&\n"
1600 " if (lstat(argv[1], &sb) == -1) {\n"
1601 " perror(\"lstat\");\n"
1602 " exit(EXIT_FAILURE);\n"
1603 " }\n"
1604 "\\&\n"
1605 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1606 " major(sb.st_dev),\n"
1607 " minor(sb.st_dev));\n"
1608 "\\&\n"
1609 " printf(\"File type: \");\n"
1610 "\\&\n"
1611 " switch (sb.st_mode & S_IFMT) {\n"
1612 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1613 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1614 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1615 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1616 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1617 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1618 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1619 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1620 " }\n"
1621 "\\&\n"
1622 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1623 "\\&\n"
1624 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1625 " (uintmax_t) sb.st_mode);\n"
1626 "\\&\n"
1627 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1628 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1629 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1630 "\\&\n"
1631 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1632 " (intmax_t) sb.st_blksize);\n"
1633 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1634 " (intmax_t) sb.st_size);\n"
1635 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1636 " (intmax_t) sb.st_blocks);\n"
1637 "\\&\n"
1638 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1639 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1640 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1641 "\\&\n"
1642 " exit(EXIT_SUCCESS);\n"
1643 "}\n"
1644 msgstr ""
1645 "#include E<lt>stdint.hE<gt>\n"
1646 "#include E<lt>stdio.hE<gt>\n"
1647 "#include E<lt>stdlib.hE<gt>\n"
1648 "#include E<lt>sys/stat.hE<gt>\n"
1649 "#include E<lt>sys/sysmacros.hE<gt>\n"
1650 "#include E<lt>time.hE<gt>\n"
1651 "\\&\n"
1652 "int\n"
1653 "main(int argc, char *argv[])\n"
1654 "{\n"
1655 " struct stat sb;\n"
1656 "\\&\n"
1657 " if (argc != 2) {\n"
1658 " fprintf(stderr, \"Utilisation : %s E<lt>cheminE<gt>\\[rs]n\", argv[0]);\n"
1659 " exit(EXIT_FAILURE);\n"
1660 " }\n"
1661 "\\&\n"
1662 " if (lstat(argv[1], &sb) == -1) {\n"
1663 " perror(\"lstat\");\n"
1664 " exit(EXIT_FAILURE);\n"
1665 " }\n"
1666 "\\&\n"
1667 " printf(\"ID du périphérique contenant : [%x,%x]\\[rs]n\",\n"
1668 " major(sb.st_dev),\n"
1669 " minor(sb.st_dev));\n"
1670 "\\&\n"
1671 " printf(\"Type de fichier : \");\n"
1672 "\\&\n"
1673 " switch (sb.st_mode & S_IFMT) {\n"
1674 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1675 " case S_IFCHR: printf(\"périphérique caractère\\[rs]n\"); break;\n"
1676 " case S_IFDIR: printf(\"répertoire\\[rs]n\"); break;\n"
1677 " case S_IFIFO: printf(\"FIFO/tube\\[rs]n\"); break;\n"
1678 " case S_IFLNK: printf(\"lien symbolique\\[rs]n\"); break;\n"
1679 " case S_IFREG: printf(\"fichier ordinaire\\[rs]n\"); break;\n"
1680 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1681 " default: printf(\"inconnu\\ ?\\[rs]n\"); break;\n"
1682 " }\n"
1683 "\\&\n"
1684 " printf(\"Numéro d'inœud\\ : %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1685 "\\&\n"
1686 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1687 " (uintmax_t) sb.st_mode);\n"
1688 "\\&\n"
1689 " printf(\"Nombre de liens\\ : %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1690 " printf(\"Propriétaires\\ : UID=%ju GID=%ju\\[rs]n\",\n"
1691 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1692 "\\&\n"
1693 " printf(\"Taille de bloc d'E/S\\ : %jd bytes\\[rs]n\",\n"
1694 " (intmax_t) sb.st_blksize);\n"
1695 " printf(\"Taille du fichier\\ %jd bytes\\[rs]n\",\n"
1696 " (intmax_t) sb.st_size);\n"
1697 " printf(\"Blocs alloués\\ : %jd\\[rs]n\",\n"
1698 " (intmax_t) sb.st_blocks);\n"
1699 "\\&\n"
1700 " printf(\"Dernier changement d'état\\ : %s\", ctime(&sb.st_ctime));\n"
1701 " printf(\"Dernier accès au fichier\\ : %s\", ctime(&sb.st_atime));\n"
1702 " printf(\"Dernière modification du fichier\\ : %s\", ctime(&sb.st_mtime));\n"
1703 "\\&\n"
1704 " exit(EXIT_SUCCESS);\n"
1705 "}\n"
1706
1707 #. type: TH
1708 #: fedora-44 fedora-rawhide
1709 #, no-wrap
1710 msgid "2025-01-09"
1711 msgstr "9 janvier 2025"
1712
1713 #. type: TH
1714 #: fedora-44 fedora-rawhide
1715 #, no-wrap
1716 msgid "Linux man-pages 6.13"
1717 msgstr "Pages du manuel de Linux 6.13"
1718
1719 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1720 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1721 #. type: Plain text
1722 #: fedora-44 fedora-rawhide
1723 msgid ""
1724 "If I<pathname> is an empty string (or NULL, since Linux 6.11) operate on "
1725 "the file referred to by I<dirfd> (which may have been obtained using the "
1726 "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type "
1727 "of file, not just a directory, and the behavior of B<fstatat>() is similar "
1728 "to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the "
1729 "current working directory. This flag is Linux-specific; define "
1730 "B<_GNU_SOURCE> to obtain its definition."
1731 msgstr ""
1732 "Si I<chemin> est une chaîne vide (ou NULL depuis Linux 6.11), opérer sur le "
1733 "fichier référencé par I<dirfd> (qui peut avoir été obtenu en utilisant "
1734 "B<open>(2) avec l’attribut B<O_PATH>). Dans ce cas, I<dirfd> peut référencer "
1735 "tout type de fichier, pas uniquement un répertoire et le comportement de "
1736 "B<fstatat>() est similaire à celui de B<fstat>(). Si I<dirfd> est "
1737 "B<AT_FDCWD>, l’appel opère sur le répertoire de travail actuel. Cet attribut "
1738 "est spécifique à Linux, B<_GNU_SOURCE> doit être définie pour obtenir sa "
1739 "définition."
1740
1741 #. type: TH
1742 #: mageia-cauldron
1743 #, no-wrap
1744 msgid "Linux man-pages 6.17"
1745 msgstr "Pages du manuel de Linux 6.17"
1746
1747 #. type: TH
1748 #: opensuse-leap-16-1 opensuse-tumbleweed
1749 #, no-wrap
1750 msgid "Linux man-pages (unreleased)"
1751 msgstr "Pages du manuel de Linux (non publiées)"