Debian Codegraph @

po/fr/man3/getcwd.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, 2013, 2014.
16 # Denis Barbier <[email protected]>, 2006, 2010, 2011.
17 # David Prévot <[email protected]>, 2010, 2012-2014.
18 # Jean-Philippe MENGUAL <[email protected]>, 2023.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.22.0\n"
22 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
23 "PO-Revision-Date: 2023-06-17 09:45+0200\n"
24 "Last-Translator: Jean-Philippe MENGUAL <[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 "getcwd"
38 msgstr "getcwd"
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 "getcwd, getwd, get_current_dir_name - get current working directory"
64 msgstr ""
65 "getcwd, getwd, get_current_dir_name - Obtenir le répertoire de travail actuel"
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>unistd.hE<gt>>\n"
92 msgstr "B<#include E<lt>unistd.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<char *getcwd(char >I<buf>B<[.>I<size>B<], size_t >I<size>B<);>\n"
100 #| "B<char *get_current_dir_name(void);>\n"
101 msgid ""
102 "B<char *getcwd(>size_t size;\n"
103 "B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<);>\n"
104 "B<char *get_current_dir_name(void);>\n"
105 msgstr ""
106 "B<char *getcwd(char >I<buf>B<[.>I<size>B<], size_t >I<size>B<);>\n"
107 "B<char *get_current_dir_name(void);>\n"
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 #, no-wrap
113 msgid "B<[[deprecated]] char *getwd(char >I<buf>B<[PATH_MAX]);>\n"
114 msgstr "B<[[obsolète]] char *getwd(char >I<buf>B<[PATH_MAX]);>\n"
115
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 msgid ""
120 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
121 msgstr ""
122 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
123 "B<feature_test_macros>(7)) :"
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid "B<get_current_dir_name>():"
129 msgstr "B<get_current_dir_name>() :"
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 #, no-wrap
135 msgid " _GNU_SOURCE\n"
136 msgstr " _GNU_SOURCE\n"
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid "B<getwd>():"
142 msgstr "B<getwd>() :"
143
144 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid ""
150 " Since glibc 2.12:\n"
151 " (_XOPEN_SOURCE E<gt>= 500) && ! (_POSIX_C_SOURCE E<gt>= 200809L)\n"
152 " || /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n"
153 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
154 " Before glibc 2.12:\n"
155 " _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n"
156 msgstr ""
157 " Depuis la glibc 2.12:\n"
158 " (_XOPEN_SOURCE E<gt>= 500) && ! (_POSIX_C_SOURCE E<gt>= 200809L)\n"
159 " || /* glibc E<gt>= 2.19 : */ _DEFAULT_SOURCE\n"
160 " || /* glibc E<lt>= 2.19 : */ _BSD_SOURCE\n"
161 " Avant la glibc 2.12 :\n"
162 " _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n"
163
164 #. type: SH
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "DESCRIPTION"
169 msgstr "DESCRIPTION"
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "These functions return a null-terminated string containing an absolute "
176 "pathname that is the current working directory of the calling process. The "
177 "pathname is returned as the function result and via the argument I<buf>, if "
178 "present."
179 msgstr ""
180 "Ces fonctions renvoient une chaîne terminée par un octet NULL contenant un "
181 "chemin absolu correspondant au répertoire de travail actuel du processus "
182 "appelant. Le chemin est renvoyé comme résultat de la fonction et par le "
183 "paramètre I<buf>, s'il est présent."
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid ""
189 "The B<getcwd>() function copies an absolute pathname of the current working "
190 "directory to the array pointed to by I<buf>, which is of length I<size>."
191 msgstr ""
192 "La fonction B<getcwd>() copie le chemin d'accès absolu du répertoire de "
193 "travail courant dans la chaîne pointée par I<buf>, qui est de longueur "
194 "I<size>."
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "If the length of the absolute pathname of the current working directory, "
201 "including the terminating null byte, exceeds I<size> bytes, NULL is "
202 "returned, and I<errno> is set to B<ERANGE>; an application should check for "
203 "this error, and allocate a larger buffer if necessary."
204 msgstr ""
205 "Si la taille du chemin absolu du répertoire de travail en cours, octet NULL "
206 "de fin compris, dépasse I<size> octets, la fonction renvoie NULL et I<errno> "
207 "contient le code d'erreur B<ERANGE>. Une application doit détecter cette "
208 "erreur et allouer un tampon plus grand si besoin est."
209
210 #. type: Plain text
211 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
212 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
213 msgid ""
214 "As an extension to the POSIX.1-2001 standard, glibc's B<getcwd>() allocates "
215 "the buffer dynamically using B<malloc>(3) if I<buf> is NULL. In this case, "
216 "the allocated buffer has the length I<size> unless I<size> is zero, when "
217 "I<buf> is allocated as big as necessary. The caller should B<free>(3) the "
218 "returned buffer."
219 msgstr ""
220 "En tant qu'extension de la norme POSIX.1-2001, la version de la glibc de "
221 "B<getcwd>() alloue le tampon dynamiquement avec B<malloc>(3) si I<buf> est "
222 "NULL. Dans ce cas, le tampon alloué a une taille de I<size> sauf si I<size> "
223 "vaut zéro, auquel cas I<buf> est alloué avec la taille nécessaire. "
224 "L'appelant doit libérer avec B<free>(3) le tampon renvoyé."
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid ""
230 "B<get_current_dir_name>() will B<malloc>(3) an array big enough to hold "
231 "the absolute pathname of the current working directory. If the environment "
232 "variable B<PWD> is set, and its value is correct, then that value will be "
233 "returned. The caller should B<free>(3) the returned buffer."
234 msgstr ""
235 "B<get_current_dir_name>() allouera avec B<malloc>(3) une chaîne suffisamment "
236 "grande pour contenir le nom du chemin absolu du répertoire de travail "
237 "courant. Si la variable d'environnement B<PWD> est configurée, et correcte, "
238 "cette valeur sera renvoyée. L'appelant doit libérer avec B<free>(3) le "
239 "tampon renvoyé."
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 msgid ""
245 "B<getwd>() does not B<malloc>(3) any memory. The I<buf> argument should "
246 "be a pointer to an array at least B<PATH_MAX> bytes long. If the length of "
247 "the absolute pathname of the current working directory, including the "
248 "terminating null byte, exceeds B<PATH_MAX> bytes, NULL is returned, and "
249 "I<errno> is set to B<ENAMETOOLONG>. (Note that on some systems, B<PATH_MAX> "
250 "may not be a compile-time constant; furthermore, its value may depend on the "
251 "filesystem, see B<pathconf>(3).) For portability and security reasons, use "
252 "of B<getwd>() is deprecated."
253 msgstr ""
254 "B<getwd>() n'allouera aucune mémoire (avec B<malloc>(3)). Le paramètre "
255 "I<buf> doit être un pointeur sur une chaîne comportant au moins B<PATH_MAX> "
256 "octets. Si la longueur du chemin absolu du répertoire de travail actuel, "
257 "caractère NULL de fin compris, dépasse B<PATH_MAX> octets, NULL est renvoyé "
258 "et I<errno> prend la valeur B<ENAMETOOLONG>. Notez que sur certains "
259 "systèmes, B<PATH_MAX> peut ne pas être une constante connue à la "
260 "compilation ; de plus, sa valeur peut dépendre du système de fichiers, "
261 "consultez B<pathconf>(3). Pour des raisons de portabilité et de sécurité, "
262 "l'utilisation de B<getwd>() est déconseillée."
263
264 #. type: SH
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 #, no-wrap
268 msgid "RETURN VALUE"
269 msgstr "VALEUR RENVOYÉE"
270
271 # NOTE: Formatting
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "On success, these functions return a pointer to a string containing the "
277 "pathname of the current working directory. In the case of B<getcwd>() and "
278 "B<getwd>() this is the same value as I<buf>."
279 msgstr ""
280 "En cas de succès, ces fonctions renvoient un pointeur vers une chaîne "
281 "contenant le chemin du répertoire de travail actuel. Dans le cas de "
282 "B<getcwd>() et B<getwd>() il s'agit de la même valeur que I<buf>."
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "On failure, these functions return NULL, and I<errno> is set to indicate the "
289 "error. The contents of the array pointed to by I<buf> are undefined on "
290 "error."
291 msgstr ""
292 "En cas d'échec, ces fonctions renvoient NULL, et remplissent I<errno> avec "
293 "le code d'erreur. Le contenu de la chaîne pointée par I<buf> est indéfini en "
294 "cas d'erreur."
295
296 #. type: SH
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "ERRORS"
301 msgstr "ERREURS"
302
303 #. type: TP
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid "B<EACCES>"
308 msgstr "B<EACCES>"
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid "Permission to read or search a component of the filename was denied."
314 msgstr "Impossible de lire ou de parcourir un composant du chemin d'accès."
315
316 #. type: TP
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "B<EFAULT>"
321 msgstr "B<EFAULT>"
322
323 #. type: Plain text
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 msgid "I<buf> points to a bad address."
327 msgstr "I<buf> pointe sur une adresse illégale."
328
329 #. type: TP
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 #, no-wrap
333 msgid "B<EINVAL>"
334 msgstr "B<EINVAL>"
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 msgid "The I<size> argument is zero and I<buf> is not a null pointer."
340 msgstr "L'argument I<size> vaut zéro et I<buf> n'est pas un pointeur NULL."
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 msgid "B<getwd>(): I<buf> is NULL."
346 msgstr "B<getwd>()\\ : I<buf> est NULL."
347
348 #. type: TP
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "B<ENAMETOOLONG>"
353 msgstr "B<ENAMETOOLONG>"
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid ""
359 "B<getwd>(): The size of the null-terminated absolute pathname string exceeds "
360 "B<PATH_MAX> bytes."
361 msgstr ""
362 "B<getwd>() : La taille de la chaîne, terminée par un octet NULL, du chemin "
363 "absolu dépasse B<PATH_MAX> octets."
364
365 #. type: TP
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "B<ENOENT>"
370 msgstr "B<ENOENT>"
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid "The current working directory has been unlinked."
376 msgstr "Le répertoire en cours a été supprimé."
377
378 #. type: TP
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid "B<ENOMEM>"
383 msgstr "B<ENOMEM>"
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid "Out of memory."
389 msgstr "Plus assez de mémoire."
390
391 #. type: TP
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 #, no-wrap
395 msgid "B<ERANGE>"
396 msgstr "B<ERANGE>"
397
398 #. type: Plain text
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 msgid ""
402 "The I<size> argument is less than the length of the absolute pathname of the "
403 "working directory, including the terminating null byte. You need to "
404 "allocate a bigger array and try again."
405 msgstr ""
406 "Le paramètre I<size> est inférieur à la longueur du nom du chemin absolu du "
407 "répertoire de travail, caractère NULL de fin compris. Allouez un tampon plus "
408 "grand et réessayez."
409
410 #. type: SH
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "ATTRIBUTES"
415 msgstr "ATTRIBUTS"
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid ""
421 "For an explanation of the terms used in this section, see B<attributes>(7)."
422 msgstr ""
423 "Pour une explication des termes utilisés dans cette section, consulter "
424 "B<attributes>(7)."
425
426 #. type: tbl table
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid "Interface"
431 msgstr "Interface"
432
433 #. type: tbl table
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "Attribute"
438 msgstr "Attribut"
439
440 #. type: tbl table
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "Value"
445 msgstr "Valeur"
446
447 #. type: tbl table
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid ".na\n"
452 msgstr ".na\n"
453
454 #. type: tbl table
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid ".nh\n"
459 msgstr ".nh\n"
460
461 #. type: tbl table
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 #, no-wrap
465 msgid ""
466 "B<getcwd>(),\n"
467 "B<getwd>()"
468 msgstr ""
469 "B<getcwd>(),\n"
470 "B<getwd>()"
471
472 #. type: tbl table
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "Thread safety"
477 msgstr "Sécurité des threads"
478
479 #. type: tbl table
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 #, no-wrap
483 msgid "MT-Safe"
484 msgstr "MT-Safe"
485
486 #. type: TP
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 #, no-wrap
490 msgid "B<get_current_dir_name>()"
491 msgstr "B<get_current_dir_name>()"
492
493 #. type: tbl table
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid "MT-Safe env"
498 msgstr "MT-Safe env"
499
500 #. type: SH
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 #, no-wrap
504 msgid "VERSIONS"
505 msgstr "VERSIONS"
506
507 #. type: Plain text
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 msgid ""
511 "POSIX.1-2001 leaves the behavior of B<getcwd>() unspecified if I<buf> is "
512 "NULL."
513 msgstr ""
514 "POSIX.1-2001 ne spécifie pas le comportement de B<getcwd>() si I<buf> est "
515 "NULL."
516
517 #. type: Plain text
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 msgid "POSIX.1-2001 does not define any errors for B<getwd>()."
521 msgstr "POSIX.1-2001 ne définit aucune erreur pour B<getwd>()."
522
523 #. type: SS
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 #, no-wrap
527 msgid "C library/kernel differences"
528 msgstr "Différences entre bibliothèque C et noyau"
529
530 #. commit 3272c544da48f8915a0e34189182aed029bd0f2b
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid ""
535 "On Linux, the kernel provides a B<getcwd>() system call, which the "
536 "functions described in this page will use if possible. The system call "
537 "takes the same arguments as the library function of the same name, but is "
538 "limited to returning at most B<PATH_MAX> bytes. (Before Linux 3.12, the "
539 "limit on the size of the returned pathname was the system page size. On "
540 "many architectures, B<PATH_MAX> and the system page size are both 4096 "
541 "bytes, but a few architectures have a larger page size.) If the length of "
542 "the pathname of the current working directory exceeds this limit, then the "
543 "system call fails with the error B<ENAMETOOLONG>. In this case, the library "
544 "functions fall back to a (slower) alternative implementation that returns "
545 "the full pathname."
546 msgstr ""
547 "Sur Linux, le noyau fournit un appel système B<getcwd>() que les fonctions "
548 "décrites dans cette page s'efforceront d'utiliser. L'appel système prend les "
549 "mêmes paramètres que les fonctions de la bibliothèque du même nom, mais il "
550 "se limite à envoyer tout au plus B<PATH_MAX> octets (avant Linux 3.12, la "
551 "limite de taille du chemin renvoyé était celle de la page du système. Sur de "
552 "nombreuses architectures, B<PATH_MAX> et la taille de la page du système "
553 "valent 4096 octets, mais certaines architectures ont une page plus grande). "
554 "Si la taille du chemin du répertoire de travail actuel dépasse cette limite, "
555 "l'appel système échoue avec l'erreur B<ENAMETOOLONG>. Dans ce cas, les "
556 "fonctions de la bibliothèque se rabattent sur une autre implémentation (plus "
557 "lente) qui renvoie tout le chemin."
558
559 #. commit 8df9d1a4142311c084ffeeacb67cd34d190eff74
560 #. type: Plain text
561 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
562 #: opensuse-leap-16-1 opensuse-tumbleweed
563 msgid ""
564 "Following a change in Linux 2.6.36, the pathname returned by the "
565 "B<getcwd>() system call will be prefixed with the string \"(unreachable)\" "
566 "if the current directory is not below the root directory of the current "
567 "process (e.g., because the process set a new filesystem root using "
568 "B<chroot>(2) without changing its current directory into the new root). "
569 "Such behavior can also be caused by an unprivileged user by changing the "
570 "current directory into another mount namespace. When dealing with pathnames "
571 "from untrusted sources, callers of the functions described in this page "
572 "(before glibc 2.27) or the raw B<getcwd>() system call should consider "
573 "checking whether the returned pathname starts with '/' or '(' to avoid "
574 "misinterpreting an unreachable path as a relative pathname."
575 msgstr ""
576 "Suite à un changement dans Linux 2.6.36, le chemin renvoyé par l'appel "
577 "système B<getcwd>() sera préfixé par la chaîne « (unreachable) » si le "
578 "répertoire actuel ne se situe pas sous la racine du processus actuel (par "
579 "exemple parce que le processus a défini un nouveau système de fichiers "
580 "racine en utilisant B<chroot>(2) sans transférer son dossier actuel dans "
581 "cette racine). Un tel comportement peut aussi être causé par un utilisateur "
582 "non privilégié qui va du répertoire actuel vers un autre espace de noms de "
583 "montage. Quand ils ont affaire à des chemins issus de sources non fiables, "
584 "les appelants des fonctions décrites dans cette page (avant la glibc 2.27) "
585 "ou de l'appel système brut B<getcwd>() doivent envisager de vérifier si le "
586 "chemin renvoyé commence par « / » ou « ( » pour éviter d'interpréter à tort "
587 "un chemin non atteignable comme un chemin relatif."
588
589 #. type: SH
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 #, no-wrap
593 msgid "STANDARDS"
594 msgstr "NORMES"
595
596 #. type: TP
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 #, no-wrap
600 msgid "B<getcwd>()"
601 msgstr "B<getcwd>()"
602
603 #. type: Plain text
604 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
605 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
606 msgid "POSIX.1-2008."
607 msgstr "POSIX.1-2008."
608
609 #. type: Plain text
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
612 msgid "GNU."
613 msgstr "GNU."
614
615 #. type: TP
616 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
617 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
618 #, no-wrap
619 msgid "B<getwd>()"
620 msgstr "B<getwd>()"
621
622 #. type: Plain text
623 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
624 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
625 msgid "None."
626 msgstr "Aucun."
627
628 #. type: SH
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 #, no-wrap
632 msgid "HISTORY"
633 msgstr "HISTORIQUE"
634
635 #. type: Plain text
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 msgid "POSIX.1-2001."
639 msgstr "POSIX.1-2001."
640
641 #. type: Plain text
642 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
643 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
644 msgid ""
645 "POSIX.1-2001, but marked LEGACY. Removed in POSIX.1-2008. Use B<getcwd>() "
646 "instead."
647 msgstr ""
648 "POSIX.1-2001, mais marqué comme LEGACY. Supprimé dans POSIX.1-2008. Utilisez "
649 "plutôt B<getcwd>()."
650
651 #. type: Plain text
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 msgid ""
655 "Under Linux, these functions make use of the B<getcwd>() system call "
656 "(available since Linux 2.1.92). On older systems they would query I</proc/"
657 "self/cwd>. If both system call and proc filesystem are missing, a generic "
658 "implementation is called. Only in that case can these calls fail under "
659 "Linux with B<EACCES>."
660 msgstr ""
661 "Sous Linux, ces fonctions utilisent l'appel système B<getcwd>() (disponible "
662 "depuis Linux 2.1.92). Sur des systèmes plus anciens, elles interrogeaient I</"
663 "proc/self/cwd>. Si l'appel système et le système de fichiers proc sont "
664 "absents, une implémentation générique est utilisée. Dans ce cas seulement la "
665 "fonction échoue en renvoyant B<EACCES> sous Linux."
666
667 #. type: SH
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 #, no-wrap
671 msgid "NOTES"
672 msgstr "NOTES"
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 msgid ""
678 "These functions are often used to save the location of the current working "
679 "directory for the purpose of returning to it later. Opening the current "
680 "directory (\".\") and calling B<fchdir>(2) to return is usually a faster "
681 "and more reliable alternative when sufficiently many file descriptors are "
682 "available, especially on platforms other than Linux."
683 msgstr ""
684 "Ces fonctions sont souvent utilisées pour sauvegarder le répertoire de "
685 "travail afin d'y revenir plus tard. Ouvrir le répertoire courant («\\ .\\ ») "
686 "et appeler B<fchdir>(2) pour y revenir est habituellement une alternative "
687 "plus rapide et plus fiable (surtout sur d'autres systèmes que Linux) si l'on "
688 "dispose de suffisamment de descripteurs de fichier."
689
690 #. type: SH
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 #, no-wrap
694 msgid "BUGS"
695 msgstr "BOGUES"
696
697 #. type: Plain text
698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
699 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
700 msgid ""
701 "Since the Linux 2.6.36 change that added \"(unreachable)\" in the "
702 "circumstances described above, the glibc implementation of B<getcwd>() has "
703 "failed to conform to POSIX and returned a relative pathname when the API "
704 "contract requires an absolute pathname. With glibc 2.27 onwards this is "
705 "corrected; calling B<getcwd>() from such a pathname will now result in "
706 "failure with B<ENOENT>."
707 msgstr ""
708 "Depuis une modification dans Linux 2.6.36, qui a ajouté « (unreachable) », "
709 "B<getcwd>() de la glibc échoue pour se conformer à POSIX et renvoie un "
710 "chemin relatif quand l'API a besoin d'un chemin absolu. Depuis la "
711 "glibc 2.27, c'est corrigé ; l'appel B<getcwd>() à partir d'un tel endroit "
712 "échouera avec B<ENOENT>."
713
714 #. type: SH
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
717 #, no-wrap
718 msgid "SEE ALSO"
719 msgstr "VOIR AUSSI"
720
721 #. type: Plain text
722 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
723 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
724 msgid ""
725 "B<pwd>(1), B<chdir>(2), B<fchdir>(2), B<open>(2), B<unlink>(2), B<free>(3), "
726 "B<malloc>(3)"
727 msgstr ""
728 "B<pwd>(1), B<chdir>(2), B<fchdir>(2), B<open>(2), B<unlink>(2), B<free>(3), "
729 "B<malloc>(3)"
730
731 #. type: TH
732 #: debian-trixie
733 #, no-wrap
734 msgid "2024-05-02"
735 msgstr "2 mai 2024"
736
737 #. type: TH
738 #: debian-trixie
739 #, no-wrap
740 msgid "Linux man-pages 6.9.1"
741 msgstr "Pages du manuel de Linux 6.9.1"
742
743 #. type: Plain text
744 #: debian-trixie
745 msgid "Standard C library (I<libc>, I<-lc>)"
746 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
747
748 #. type: Plain text
749 #: debian-trixie fedora-44 fedora-rawhide
750 #, no-wrap
751 msgid ""
752 "B<char *getcwd(char >I<buf>B<[.>I<size>B<], size_t >I<size>B<);>\n"
753 "B<char *get_current_dir_name(void);>\n"
754 msgstr ""
755 "B<char *getcwd(char >I<buf>B<[.>I<size>B<], size_t >I<size>B<);>\n"
756 "B<char *get_current_dir_name(void);>\n"
757
758 #. commit 8df9d1a4142311c084ffeeacb67cd34d190eff74
759 #. type: Plain text
760 #: debian-trixie
761 msgid ""
762 "Following a change in Linux 2.6.36, the pathname returned by the "
763 "B<getcwd>() system call will be prefixed with the string \"(unreachable)\" "
764 "if the current directory is not below the root directory of the current "
765 "process (e.g., because the process set a new filesystem root using "
766 "B<chroot>(2) without changing its current directory into the new root). "
767 "Such behavior can also be caused by an unprivileged user by changing the "
768 "current directory into another mount namespace. When dealing with pathname "
769 "from untrusted sources, callers of the functions described in this page "
770 "should consider checking whether the returned pathname starts with '/' or "
771 "'(' to avoid misinterpreting an unreachable path as a relative pathname."
772 msgstr ""
773 "Suite à un changement dans Linux 2.6.36, le chemin renvoyé par l'appel "
774 "système B<getcwd>() sera préfixé par la chaîne « (unreachable) » si le "
775 "répertoire actuel ne se situe pas sous la racine du processus actuel (par "
776 "exemple parce que le processus a défini un nouveau système de fichiers "
777 "racine en utilisant B<chroot>(2) sans transférer son dossier actuel dans "
778 "cette racine). Un tel comportement peut aussi être causé par un utilisateur "
779 "non privilégié qui va du répertoire actuel vers un autre espace de noms de "
780 "montage. Quand ils ont affaire à un chemin issu de sources non fiables, les "
781 "appelants des fonctions décrites dans cette page doivent envisager de "
782 "vérifier si le chemin renvoyé commence par « / » ou « ( » pour éviter "
783 "d'interpréter à tort un chemin non atteignable comme un chemin relatif."
784
785 #. type: TH
786 #: fedora-44 fedora-rawhide
787 #, no-wrap
788 msgid "2025-02-20"
789 msgstr "20 février 2025"
790
791 #. type: TH
792 #: fedora-44 fedora-rawhide
793 #, no-wrap
794 msgid "Linux man-pages 6.13"
795 msgstr "Pages du manuel de Linux 6.13"
796
797 #. type: TH
798 #: mageia-cauldron
799 #, no-wrap
800 msgid "Linux man-pages 6.17"
801 msgstr "Pages du manuel de Linux 6.17"
802
803 #. type: TH
804 #: opensuse-leap-16-1 opensuse-tumbleweed
805 #, no-wrap
806 msgid "Linux man-pages (unreleased)"
807 msgstr "Pages du manuel de Linux (non publiées)"