Debian Codegraph @

po/fr/man3/fopen.3.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010-2014.
18 # Frédéric Hantrais <[email protected]>, 2013, 2014.
19 # Lucien Gentis <[email protected]>, 2021.
20 msgid ""
21 msgstr ""
22 "Project-Id-Version: perkamon\n"
23 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
24 "PO-Revision-Date: 2023-05-08 17:10+0200\n"
25 "Last-Translator: Lucien Gentis <[email protected]>\n"
26 "Language-Team: French <[email protected]>\n"
27 "Language: fr\n"
28 "MIME-Version: 1.0\n"
29 "Content-Type: text/plain; charset=UTF-8\n"
30 "Content-Transfer-Encoding: 8bit\n"
31 "Plural-Forms: nplurals=2; plural=n > 1;\n"
32 "X-Generator: Poedit 2.2.1\n"
33
34 #. type: TH
35 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
36 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
37 #, no-wrap
38 msgid "fopen"
39 msgstr "fopen"
40
41 #. type: TH
42 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
43 #: opensuse-tumbleweed
44 #, no-wrap
45 msgid "2025-09-21"
46 msgstr "21 septembre 2025"
47
48 #. type: TH
49 #: archlinux debian-unstable
50 #, no-wrap
51 msgid "Linux man-pages 6.18"
52 msgstr "Pages du manuel de Linux 6.18"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "NAME"
59 msgstr "NOM"
60
61 #. type: Plain text
62 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
63 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "fopen, fdopen, freopen - stream open functions"
65 msgstr "fopen, fdopen, freopen - Fonctions d'ouverture de flux"
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>stdio.hE<gt>>\n"
92 msgstr "B<#include E<lt>stdio.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<FILE *fopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<);>\n"
100 #| "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
101 #| "B<FILE *freopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<,>\n"
102 #| "B< FILE *restrict >I<stream>B<);>\n"
103 msgid ""
104 "B<FILE *fopen(const char *restrict >I<path>B<, const char *restrict >I<mode>B<);>\n"
105 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
106 "B<FILE *freopen(const char *restrict >I<path>B<, const char *restrict >I<mode>B<,>\n"
107 "B< FILE *restrict >I<stream>B<);>\n"
108 msgstr ""
109 "B<FILE *fopen(const char *restrict >I<chemin>B<, const char *restrict >I<mode>B<);>\n"
110 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
111 "B<FILE *freopen(const char *restrict >I<chemin>B<, const char *restrict >I<mode>B<,>\n"
112 "B< FILE *restrict >I<flux>B<);>\n"
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid ""
118 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
119 msgstr ""
120 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
121 "B<feature_test_macros>(7)) :"
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid "B<fdopen>():"
127 msgstr "B<fdopen>():"
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 #, no-wrap
133 msgid " _POSIX_C_SOURCE\n"
134 msgstr " _POSIX_C_SOURCE\n"
135
136 #. type: SH
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "DESCRIPTION"
141 msgstr "DESCRIPTION"
142
143 #. type: Plain text
144 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
145 #: opensuse-tumbleweed
146 #, fuzzy
147 #| msgid ""
148 #| "The B<fopen>() function opens the file whose name is the string pointed "
149 #| "to by I<pathname> and associates a stream with it."
150 msgid ""
151 "The B<fopen>() function opens the file whose name is the string pointed to "
152 "by I<path> and associates a stream with it."
153 msgstr ""
154 "La fonction B<fopen>() ouvre le fichier dont le nom est spécifié dans la "
155 "chaîne pointée par I<chemin> et lui associe un flux."
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 msgid ""
161 "The argument I<mode> points to a string beginning with one of the following "
162 "sequences (possibly followed by additional characters, as described below):"
163 msgstr ""
164 "L'argument I<mode> pointe vers une chaîne commençant par l'une des séquences "
165 "suivantes (éventuellement suivie de caractères supplémentaires, conformément "
166 "à la description ci-dessous) :"
167
168 #. type: TP
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 #, no-wrap
172 msgid "B<r>"
173 msgstr "B<r>"
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "Open text file for reading. The stream is positioned at the beginning of "
180 "the file."
181 msgstr ""
182 "Ouvrir le fichier en lecture. Le pointeur de flux est placé au début du "
183 "fichier."
184
185 #. type: TP
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid "B<r+>"
190 msgstr "B<r+>"
191
192 #. type: Plain text
193 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
194 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
195 msgid ""
196 "Open for reading and writing. The stream is positioned at the beginning of "
197 "the file."
198 msgstr ""
199 "Ouvrir le fichier en lecture et écriture. Le pointeur de flux est placé au "
200 "début du fichier."
201
202 #. type: TP
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "B<w>"
207 msgstr "B<w>"
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "Truncate file to zero length or create text file for writing. The stream is "
214 "positioned at the beginning of the file."
215 msgstr ""
216 "Tronquer le fichier à zéro octet ou créer le fichier en écriture. Le "
217 "pointeur de flux est placé au début du fichier."
218
219 #. type: TP
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "B<w+>"
224 msgstr "B<w+>"
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 "Open for reading and writing. The file is created if it does not exist, "
231 "otherwise it is truncated. The stream is positioned at the beginning of the "
232 "file."
233 msgstr ""
234 "Ouvrir le fichier en lecture et écriture. Le fichier est créé s'il n'existe "
235 "pas. S'il existe déjà, sa taille est ramenée à 0. Le pointeur de flux est "
236 "placé au début du fichier."
237
238 #. type: TP
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "B<a>"
243 msgstr "B<a>"
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 msgid ""
249 "Open for appending (writing at end of file). The file is created if it does "
250 "not exist. The stream is positioned at the end of the file."
251 msgstr ""
252 "Ouvrir le fichier en ajout (écriture à la fin du fichier). Le fichier est "
253 "créé s'il n'existe pas. Le pointeur de flux est placé à la fin du fichier."
254
255 #. type: TP
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "B<a+>"
260 msgstr "B<a+>"
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 msgid ""
266 "Open for reading and appending (writing at end of file). The file is "
267 "created if it does not exist. Output is always appended to the end of the "
268 "file. POSIX is silent on what the initial read position is when using this "
269 "mode. For glibc, the initial file position for reading is at the beginning "
270 "of the file, but for Android/BSD/MacOS, the initial file position for "
271 "reading is at the end of the file."
272 msgstr ""
273 "Ouvrir le fichier en lecture et ajout (écriture en fin de fichier). Le "
274 "fichier est créé s'il n'existe pas. Les données sont toujours ajoutées en "
275 "fin de fichier. POSIX ne dit rien quant à la position initiale de lecture "
276 "lorsqu'on utilise ce mode. Pour la glibc, la position initiale de lecture "
277 "est le début du fichier, mais pour Android, BSD et MacOS, elle est à la fin "
278 "du fichier."
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "The I<mode> string can also include the letter \\[aq]b\\[aq] either as a "
285 "last character or as a character between the characters in any of the two-"
286 "character strings described above. This is strictly for compatibility with "
287 "ISO C and has no effect; the \\[aq]b\\[aq] is ignored on all POSIX "
288 "conforming systems, including Linux. (Other systems may treat text files "
289 "and binary files differently, and adding the \\[aq]b\\[aq] may be a good "
290 "idea if you do I/O to a binary file and expect that your program may be "
291 "ported to non-UNIX environments.)"
292 msgstr ""
293 "La chaîne I<mode> peut également inclure la lettre «\\ b\\ » comme dernier "
294 "caractère ou même entre les deux caractères d'une des séquences à deux "
295 "caractères vues ci-dessus. Ce mode sert uniquement à assurer la "
296 "compatibilité avec ISO C et n'a aucun effet. Le «\\ b\\ » est ignoré sur "
297 "tous les systèmes compatibles POSIX, y compris Linux (d'autres systèmes "
298 "peuvent traiter les fichiers textes et les fichiers binaires différemment, "
299 "et l'ajout du «\\ b\\ » peut être une bonne idée si vous faites des entrées/"
300 "sorties sur un fichier binaire et que votre programme risque d'être porté "
301 "sur un environnement non UNIX)."
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid "See NOTES below for details of glibc extensions for I<mode>."
307 msgstr ""
308 "Consultez la section NOTES ci-dessous pour des détails sur les extensions de "
309 "la glibc pour I<mode>."
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "Any created file will have the mode B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | "
316 "B<S_IWGRP> | B<S_IROTH> | B<S_IWOTH> (0666), as modified by the process's "
317 "umask value (see B<umask>(2))."
318 msgstr ""
319 "Tout fichier créé aura le mode B<S_IRUSR>\\ | B<S_IWUSR>\\ | B<S_IRGRP>\\ | "
320 "B<S_IWGRP>\\ | B<S_IROTH>\\ | B<S_IWOTH> (0666), en fonction de la valeur "
321 "d'umask du processus. Consultez B<umask>(2)."
322
323 #. type: Plain text
324 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
325 #: opensuse-tumbleweed
326 #, fuzzy
327 #| msgid ""
328 #| "Reads and writes may be intermixed on read/write streams in any order. "
329 #| "Note that ANSI C requires that a file positioning function intervene "
330 #| "between output and input, unless an input operation encounters end-of-"
331 #| "file. (If this condition is not met, then a read is allowed to return "
332 #| "the result of writes other than the most recent.) Therefore it is good "
333 #| "practice (and indeed sometimes necessary under Linux) to put an "
334 #| "B<fseek>(3) or B<fsetpos>(3) operation between write and read "
335 #| "operations on such a stream. This operation may be an apparent no-op (as "
336 #| "in I<fseek(..., 0L, SEEK_CUR)> called for its synchronizing side effect)."
337 msgid ""
338 "Reads and writes may be intermixed on read/write streams in any order. Note "
339 "that ANSI C requires that a file positioning function intervene between "
340 "output and input, unless an input operation encounters end-of-file. (If "
341 "this condition is not met, then a read is allowed to return the result of "
342 "writes other than the most recent.) Therefore it is good practice (and "
343 "indeed sometimes necessary under Linux) to put an B<fseek>(3) or "
344 "B<fsetpos>(3) operation between write and read operations on such a "
345 "stream. This operation may be an apparent no-op (as in I<fseek(...,\\ 0L,\\ "
346 "SEEK_CUR)> called for its synchronizing side effect)."
347 msgstr ""
348 "Les lectures et les écritures peuvent être mélangées sur les flux en lecture "
349 "et écriture, dans un ordre quelconque. Notez que AINSI C requiert qu'une "
350 "fonction de positionnement dans le fichier soit appelée entre une lecture et "
351 "une écriture, à moins que l'opération de lecture n'atteigne la fin du "
352 "fichier (si cette condition n'est pas rencontrée, alors une lecture est "
353 "permise pour renvoyer le résultat d'une écriture autre que la dernière). Une "
354 "bonne habitude (souvent nécessaire sous Linux) consiste donc à intercaler un "
355 "B<fseek>(3) ou B<fsetpos>(3) entre les lectures et les écritures sur un flux "
356 "de ce type. Cette opération peut être une opération sans effet comme "
357 "I<fseek(..., 0L, SEEK_CUR)> et dont l'effet de bord est une synchronisation."
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid ""
363 "Opening a file in append mode (B<a> as the first character of I<mode>) "
364 "causes all subsequent write operations to this stream to occur at end-of-"
365 "file, as if preceded by the call:"
366 msgstr ""
367 "Ouvrir un fichier en mode ajout (B<a> comme premier caractère dans I<mode>) "
368 "fera que toutes les opérations d'écriture vers ce flux s'effectueront à la "
369 "fin du fichier, comme si elles étaient précédées par l'appel :"
370
371 #. type: Plain text
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "fseek(stream, 0, SEEK_END);\n"
376 msgstr "fseek(stream, 0, SEEK_END);\n"
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid ""
382 "The file descriptor associated with the stream is opened as if by a call to "
383 "B<open>(2) with the following flags:"
384 msgstr ""
385 "Le descripteur de fichier associé à ce flux est ouvert dans le même mode que "
386 "s'il avait été ouvert par un appel à B<open>(2) avec les drapeaux suivants :"
387
388 #. type: tbl table
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 #, no-wrap
392 msgid "fopen() mode"
393 msgstr "Mode de fopen()"
394
395 #. type: tbl table
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "open() flags"
400 msgstr "Drapeaux d’open()"
401
402 #. type: tbl table
403 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
404 #: opensuse-tumbleweed
405 #, no-wrap
406 msgid "r"
407 msgstr "r"
408
409 #. type: tbl table
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 #, no-wrap
413 msgid "O_RDONLY"
414 msgstr "O_RDONLY"
415
416 #. type: tbl table
417 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
418 #: opensuse-tumbleweed
419 #, no-wrap
420 msgid "w"
421 msgstr "w"
422
423 #. type: tbl table
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 #, no-wrap
427 msgid "O_WRONLY | O_CREAT | O_TRUNC"
428 msgstr "O_WRONLY | O_CREAT | O_TRUNC"
429
430 #. type: tbl table
431 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
432 #: opensuse-tumbleweed
433 #, no-wrap
434 msgid "a"
435 msgstr "a"
436
437 #. type: tbl table
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 #, no-wrap
441 msgid "O_WRONLY | O_CREAT | O_APPEND"
442 msgstr "O_WRONLY | O_CREAT | O_APPEND"
443
444 #. type: tbl table
445 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
446 #: opensuse-tumbleweed
447 #, fuzzy, no-wrap
448 #| msgid "+"
449 msgid "r+"
450 msgstr "+"
451
452 #. type: tbl table
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, no-wrap
456 msgid "O_RDWR"
457 msgstr "O_RDWR"
458
459 #. type: tbl table
460 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
461 #: opensuse-tumbleweed
462 #, fuzzy, no-wrap
463 #| msgid "+"
464 msgid "w+"
465 msgstr "+"
466
467 #. type: tbl table
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 #, no-wrap
471 msgid "O_RDWR | O_CREAT | O_TRUNC"
472 msgstr "O_RDWR | O_CREAT | O_TRUNC"
473
474 #. type: tbl table
475 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
476 #: opensuse-tumbleweed
477 #, fuzzy, no-wrap
478 #| msgid "+"
479 msgid "a+"
480 msgstr "+"
481
482 #. type: tbl table
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "O_RDWR | O_CREAT | O_APPEND"
487 msgstr "O_RDWR | O_CREAT | O_APPEND"
488
489 #. type: SS
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 #, no-wrap
493 msgid "fdopen()"
494 msgstr "fdopen()"
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid ""
500 "The B<fdopen>() function associates a stream with the existing file "
501 "descriptor, I<fd>. The I<mode> of the stream (one of the values \"r\", \"r+"
502 "\", \"w\", \"w+\", \"a\", \"a+\") must be compatible with the mode of the "
503 "file descriptor. The file position indicator of the new stream is set to "
504 "that belonging to I<fd>, and the error and end-of-file indicators are "
505 "cleared. Modes \"w\" or \"w+\" do not cause truncation of the file. The "
506 "file descriptor is not dup'ed, and will be closed when the stream created by "
507 "B<fdopen>() is closed. The result of applying B<fdopen>() to a shared "
508 "memory object is undefined."
509 msgstr ""
510 "La fonction B<fdopen>() associe un flux avec un descripteur de fichier I<fd> "
511 "existant. Le I<mode> du flux (une des valeurs «\\ r\\ », «\\ \"r+\\ », «\\ "
512 "w\\ », «\\ w+\\ », «\\ a\\ » ou «\\ a+\\ ») doit être compatible avec celui "
513 "du descripteur de fichier. L'indicateur de position du nouveau flux prend la "
514 "même valeur que celui de I<fd> et les indicateurs d'erreur et de fin de "
515 "fichier sont effacés. Les modes «\\ w\\ » et «\\ w+\\ » ne tronquent pas le "
516 "fichier. Le descripteur de fichier n'est pas dupliqué et sera fermé lorsque "
517 "le flux créé par B<fdopen>() sera fermé. Le résultat d'un appel à "
518 "B<fdopen>() sur un objet en mémoire partagée est indéfini."
519
520 #. type: SS
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "freopen()"
525 msgstr "freopen()"
526
527 #. type: Plain text
528 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
529 #: opensuse-tumbleweed
530 #, fuzzy
531 #| msgid ""
532 #| "The B<freopen>() function opens the file whose name is the string "
533 #| "pointed to by I<pathname> and associates the stream pointed to by "
534 #| "I<stream> with it. The original stream (if it exists) is closed. The "
535 #| "I<mode> argument is used just as in the B<fopen>() function."
536 msgid ""
537 "The B<freopen>() function opens the file whose name is the string pointed "
538 "to by I<path> and associates the stream pointed to by I<stream> with it. "
539 "The original stream (if it exists) is closed. The I<mode> argument is used "
540 "just as in the B<fopen>() function."
541 msgstr ""
542 "La fonction B<freopen>() ouvre le fichier dont le nom se trouve dans la "
543 "chaîne de caractères pointée par I<chemin> et lui associe le flux pointé par "
544 "I<flux>. Le flux original, s'il existe, est fermé. L'argument I<mode> est "
545 "utilisé exactement comme dans la fonction B<fopen>()."
546
547 #. type: Plain text
548 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
549 #: opensuse-tumbleweed
550 #, fuzzy
551 #| msgid ""
552 #| "If the I<pathname> argument is a null pointer, B<freopen>() changes the "
553 #| "mode of the stream to that specified in I<mode>; that is, B<freopen>() "
554 #| "reopens the pathname that is associated with the stream. The "
555 #| "specification for this behavior was added in the C99 standard, which says:"
556 msgid ""
557 "If I<path> is a null pointer, B<freopen>() changes the mode of the stream "
558 "to that specified in I<mode>; that is, B<freopen>() reopens the pathname "
559 "that is associated with the stream. The specification for this behavior was "
560 "added in the C99 standard, which says:"
561 msgstr ""
562 "Si l'argument I<chemin> contient un pointeur NULL, B<freopen>() change le "
563 "mode du flux pour celui spécifié dans I<mode> ; cela fait, B<freopen>() "
564 "réouvre le fichier associé au flux considéré. La spécification de ce "
565 "comportement a été ajoutée dans la norme C99 qui stipule :"
566
567 #. type: Plain text
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 msgid ""
571 "In this case, the file descriptor associated with the stream need not be "
572 "closed if the call to B<freopen>() succeeds. It is implementation-defined "
573 "which changes of mode are permitted (if any), and under what circumstances."
574 msgstr ""
575 "Dans ce cas, le descripteur de fichier associé au flux n'a pas besoin d'être "
576 "fermé si l'appel à B<freopen>() réussit. La liste des changements éventuels "
577 "de mode autorisés ainsi que les circonstances de ces changements dépendent "
578 "de l'implémentation."
579
580 #. type: Plain text
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 msgid ""
584 "The primary use of the B<freopen>() function is to change the file "
585 "associated with a standard text stream (I<stderr>, I<stdin>, or I<stdout>)."
586 msgstr ""
587 "B<freopen>() est principalement utilisé pour changer le fichier associé à un "
588 "flux de texte standard (I<stderr>, I<stdin> ou I<stdout>)."
589
590 #. type: SH
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 #, no-wrap
594 msgid "RETURN VALUE"
595 msgstr "VALEUR RENVOYÉE"
596
597 #. type: Plain text
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 msgid ""
601 "Upon successful completion B<fopen>(), B<fdopen>(), and B<freopen>() return "
602 "a I<FILE> pointer. Otherwise, NULL is returned and I<errno> is set to "
603 "indicate the error."
604 msgstr ""
605 "En cas de succès, B<fopen>(), B<fdopen>() et B<freopen>() renvoient un "
606 "pointeur de type I<FILE>. Sinon, elles renvoient NULL et I<errno> est défini "
607 "pour indiquer l'erreur."
608
609 #. type: SH
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
612 #, no-wrap
613 msgid "ERRORS"
614 msgstr "ERREURS"
615
616 #. type: TP
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 #, no-wrap
620 msgid "B<EINVAL>"
621 msgstr "B<EINVAL>"
622
623 #. type: Plain text
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 msgid ""
627 "The I<mode> provided to B<fopen>(), B<fdopen>(), or B<freopen>() was "
628 "invalid."
629 msgstr ""
630 "Le I<mode> fourni à B<fopen>(), B<fdopen>() ou B<freopen>() n'était pas "
631 "valable."
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 ""
637 "The B<fopen>(), B<fdopen>(), and B<freopen>() functions may also fail and "
638 "set I<errno> for any of the errors specified for the routine B<malloc>(3)."
639 msgstr ""
640 "Les fonctions B<fopen>(), B<fdopen>() et B<freopen>() peuvent également "
641 "échouer et définir dans I<errno> une des erreurs spécifiées pour "
642 "B<malloc>(3)."
643
644 #. type: Plain text
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 msgid ""
648 "The B<fopen>() function may also fail and set I<errno> for any of the "
649 "errors specified for the routine B<open>(2)."
650 msgstr ""
651 "La fonction B<fopen>() peut aussi échouer et définir dans I<errno> une des "
652 "erreurs spécifiées pour B<open>(2)."
653
654 #. type: Plain text
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 msgid ""
658 "The B<fdopen>() function may also fail and set I<errno> for any of the "
659 "errors specified for the routine B<fcntl>(2)."
660 msgstr ""
661 "La fonction B<fdopen>() peut aussi échouer et définir dans I<errno> une des "
662 "erreurs spécifiées pour B<fcntl>(2)."
663
664 #. type: Plain text
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 msgid ""
668 "The B<freopen>() function may also fail and set I<errno> for any of the "
669 "errors specified for the routines B<open>(2), B<fclose>(3), and B<fflush>(3)."
670 msgstr ""
671 "La fonction B<freopen>() peut aussi échouer et définir dans I<errno> une des "
672 "erreurs spécifiées pour B<open>(2), B<fclose>(3) et B<fflush>(3)."
673
674 #. type: SH
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 #, no-wrap
678 msgid "ATTRIBUTES"
679 msgstr "ATTRIBUTS"
680
681 #. type: Plain text
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 msgid ""
685 "For an explanation of the terms used in this section, see B<attributes>(7)."
686 msgstr ""
687 "Pour une explication des termes utilisés dans cette section, consulter "
688 "B<attributes>(7)."
689
690 #. type: tbl table
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 #, no-wrap
694 msgid "Interface"
695 msgstr "Interface"
696
697 #. type: tbl table
698 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
699 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
700 #, no-wrap
701 msgid "Attribute"
702 msgstr "Attribut"
703
704 #. type: tbl table
705 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
706 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
707 #, no-wrap
708 msgid "Value"
709 msgstr "Valeur"
710
711 #. type: tbl table
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 #, no-wrap
715 msgid ".na\n"
716 msgstr ".na\n"
717
718 #. type: tbl table
719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
720 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
721 #, no-wrap
722 msgid ".nh\n"
723 msgstr ".nh\n"
724
725 #. type: tbl table
726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
727 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
728 #, no-wrap
729 msgid ""
730 "B<fopen>(),\n"
731 "B<fdopen>(),\n"
732 "B<freopen>()"
733 msgstr ""
734 "B<fopen>(),\n"
735 "B<fdopen>(),\n"
736 "B<freopen>()"
737
738 #. type: tbl table
739 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
740 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
741 #, no-wrap
742 msgid "Thread safety"
743 msgstr "Sécurité des threads"
744
745 #. type: tbl table
746 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
747 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
748 #, no-wrap
749 msgid "MT-Safe"
750 msgstr "MT-Safe"
751
752 #. type: SH
753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
754 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
755 #, no-wrap
756 msgid "STANDARDS"
757 msgstr "NORMES"
758
759 #. type: TP
760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
762 #, no-wrap
763 msgid "B<fopen>()"
764 msgstr "B<fopen>()"
765
766 #. type: TQ
767 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
768 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
769 #, no-wrap
770 msgid "B<freopen>()"
771 msgstr "B<freopen>()"
772
773 #. type: Plain text
774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
776 msgid "C11, POSIX.1-2008."
777 msgstr "C11, POSIX.1-2008."
778
779 #. type: TP
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 #, no-wrap
783 msgid "B<fdopen>()"
784 msgstr "B<fdopen>()"
785
786 #. type: Plain text
787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
789 msgid "POSIX.1-2008."
790 msgstr "POSIX.1-2008."
791
792 #. type: SH
793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
795 #, no-wrap
796 msgid "HISTORY"
797 msgstr "HISTORIQUE"
798
799 #. type: Plain text
800 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
801 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
802 msgid "POSIX.1-2001, C89."
803 msgstr "POSIX.1-2001, C89."
804
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 "POSIX.1-2001."
809 msgstr "POSIX.1-2001."
810
811 #. type: SH
812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
813 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
814 #, no-wrap
815 msgid "NOTES"
816 msgstr "NOTES"
817
818 #. type: SS
819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
820 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
821 #, no-wrap
822 msgid "glibc notes"
823 msgstr "Notes de la glibc"
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 GNU C library allows the following extensions for the string specified "
830 "in I<mode>:"
831 msgstr ""
832 "La bibliothèque GNU C permet les extensions suivantes pour la chaîne "
833 "spécifiée par I<mode>\\ :"
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 "B<c> (since glibc 2.3.3)"
840 msgstr "B<c> (depuis la glibc\\ 2.3.3)"
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 ""
846 "Do not make the open operation, or subsequent read and write operations, "
847 "thread cancelation points. This flag is ignored for B<fdopen>()."
848 msgstr ""
849 "Ne pas faire de l'opération d'ouverture ou des opérations de lecture et "
850 "écriture ultérieures, des points d'annulation de thread. Cet attribut est "
851 "ignoré pour B<fdopen>()."
852
853 #. type: TP
854 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
855 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
856 #, no-wrap
857 msgid "B<e> (since glibc 2.7)"
858 msgstr "B<e> (depuis la glibc 2.7)"
859
860 #. type: Plain text
861 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
862 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
863 msgid ""
864 "Open the file with the B<O_CLOEXEC> flag. See B<open>(2) for more "
865 "information. This flag is ignored for B<fdopen>()."
866 msgstr ""
867 "Ouvrir le fichier avec l'attribut B<O_CLOEXEC>. Consultez B<open>(2) pour de "
868 "plus amples renseignements. Cet attribut est ignoré pour B<fdopen>()."
869
870 #. type: TP
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 #, no-wrap
874 msgid "B<m> (since glibc 2.3)"
875 msgstr "B<m> (depuis la glibc 2.3)"
876
877 #. As at glibc 2.4:
878 #. type: Plain text
879 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
880 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
881 msgid ""
882 "Attempt to access the file using B<mmap>(2), rather than I/O system calls "
883 "(B<read>(2), B<write>(2)). Currently, use of B<mmap>(2) is attempted only "
884 "for a file opened for reading."
885 msgstr ""
886 "Essayer d'accéder au fichier avec B<mmap>(2) au lieu des appels système "
887 "d'entrées/sorties (B<read>(2), B<write>(2)). Actuellement, B<mmap>(2) n'est "
888 "utilisé que pour un fichier ouvert en lecture."
889
890 #. type: TP
891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
893 #, no-wrap
894 msgid "B<x>"
895 msgstr "B<x>"
896
897 #. Since glibc 2.0?
898 #. FIXME . C11 specifies this flag
899 #. type: Plain text
900 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
901 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
902 msgid ""
903 "Open the file exclusively (like the B<O_EXCL> flag of B<open>(2)). If the "
904 "file already exists, B<fopen>() fails, and sets I<errno> to B<EEXIST>. "
905 "This flag is ignored for B<fdopen>()."
906 msgstr ""
907 "Uniquement ouvrir le fichier (comme avec l'attribut B<O_EXCL> de "
908 "B<open>(2)). Si le fichier existe déjà, B<fopen>() échoue et I<errno> est "
909 "définie à B<EEXIST>. Cet attribut est ignoré par B<fdopen>()."
910
911 #. type: Plain text
912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
914 msgid ""
915 "In addition to the above characters, B<fopen>() and B<freopen>() support "
916 "the following syntax in I<mode>:"
917 msgstr ""
918 "En plus des caractères ci-dessus, B<fopen>() et B<freopen>() acceptent la "
919 "syntaxe suivante dans I<mode> :"
920
921 #. type: Plain text
922 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
923 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
924 msgid "B< ,ccs=>I<string>"
925 msgstr "B< ,ccs=>I<chaîne>"
926
927 #. type: Plain text
928 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
929 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
930 msgid ""
931 "The given I<string> is taken as the name of a coded character set and the "
932 "stream is marked as wide-oriented. Thereafter, internal conversion "
933 "functions convert I/O to and from the character set I<string>. If the "
934 "B<,ccs=>I<string> syntax is not specified, then the wide-orientation of the "
935 "stream is determined by the first file operation. If that operation is a "
936 "wide-character operation, the stream is marked wide-oriented, and functions "
937 "to convert to the coded character set are loaded."
938 msgstr ""
939 "La I<chaîne> spécifiée est considérée comme le nom d'un jeu de caractères "
940 "codés et le flux est marqué comme orienté caractères larges. Ensuite, les "
941 "fonctions internes de conversion convertissent les E/S depuis et vers ce jeu "
942 "de caractères. Si la syntaxe B< ,ccs=>I<chaîne> n'est pas indiquée, alors "
943 "l'orientation des caractères larges du flux est déterminée par la première "
944 "opération sur le fichier. S'il s'agit une opération de caractères larges, le "
945 "flux est marqué comme orienté caractères larges et les fonctions pour "
946 "convertir vers le jeu de caractères codés sont chargées."
947
948 #. type: SH
949 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
950 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
951 #, no-wrap
952 msgid "BUGS"
953 msgstr "BOGUES"
954
955 #. FIXME . http://sourceware.org/bugzilla/show_bug.cgi?id=12685
956 #. type: Plain text
957 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
958 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
959 msgid ""
960 "When parsing for individual flag characters in I<mode> (i.e., the characters "
961 "preceding the \"ccs\" specification), the glibc implementation of "
962 "B<fopen>() and B<freopen>() limits the number of characters examined in "
963 "I<mode> to 7 (or, before glibc 2.14, to 6, which was not enough to include "
964 "possible specifications such as \"rb+cmxe\"). The current implementation of "
965 "B<fdopen>() parses at most 5 characters in I<mode>."
966 msgstr ""
967 "Lors de l'analyse des caractères d'attribut individuel dans I<mode> (c'est-à-"
968 "dire les caractères précédant l'indication « ccs »), l'implémentation de la "
969 "glibc de B<fopen>() et B<freopen>() limite le nombre de caractères examinés "
970 "dans I<mode> à B<7> (ou, avant la glibc 2.14, à B<6>, ce qui n'était pas "
971 "suffisant pour inclure d'éventuelles spécifications comme « rb+cmxe »). "
972 "L'implémentation actuelle de B<fdopen>() analyse au plus B<5> caractères de "
973 "I<mode>."
974
975 #. type: SH
976 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
977 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
978 #, no-wrap
979 msgid "SEE ALSO"
980 msgstr "VOIR AUSSI"
981
982 #. type: Plain text
983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
985 msgid ""
986 "B<open>(2), B<fclose>(3), B<fileno>(3), B<fmemopen>(3), B<fopencookie>(3), "
987 "B<open_memstream>(3)"
988 msgstr ""
989 "B<open>(2), B<fclose>(3), B<fileno>(3), B<fmemopen>(3), B<fopencookie>(3), "
990 "B<open_memstream>(3)"
991
992 #. type: TH
993 #: debian-trixie
994 #, no-wrap
995 msgid "2024-05-02"
996 msgstr "2 mai 2024"
997
998 #. type: TH
999 #: debian-trixie
1000 #, no-wrap
1001 msgid "Linux man-pages 6.9.1"
1002 msgstr "Pages du manuel de Linux 6.9.1"
1003
1004 #. type: Plain text
1005 #: debian-trixie
1006 msgid "Standard C library (I<libc>, I<-lc>)"
1007 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
1008
1009 #. type: Plain text
1010 #: debian-trixie fedora-44 fedora-rawhide
1011 #, no-wrap
1012 msgid ""
1013 "B<FILE *fopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<);>\n"
1014 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
1015 "B<FILE *freopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<,>\n"
1016 "B< FILE *restrict >I<stream>B<);>\n"
1017 msgstr ""
1018 "B<FILE *fopen(const char *restrict >I<chemin>B<, const char *restrict >I<mode>B<);>\n"
1019 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
1020 "B<FILE *freopen(const char *restrict >I<chemin>B<, const char *restrict >I<mode>B<,>\n"
1021 "B< FILE *restrict >I<flux>B<);>\n"
1022
1023 #. type: Plain text
1024 #: debian-trixie fedora-44 fedora-rawhide
1025 msgid ""
1026 "The B<fopen>() function opens the file whose name is the string pointed to "
1027 "by I<pathname> and associates a stream with it."
1028 msgstr ""
1029 "La fonction B<fopen>() ouvre le fichier dont le nom est spécifié dans la "
1030 "chaîne pointée par I<chemin> et lui associe un flux."
1031
1032 #. type: Plain text
1033 #: debian-trixie fedora-44 fedora-rawhide
1034 msgid ""
1035 "Reads and writes may be intermixed on read/write streams in any order. Note "
1036 "that ANSI C requires that a file positioning function intervene between "
1037 "output and input, unless an input operation encounters end-of-file. (If "
1038 "this condition is not met, then a read is allowed to return the result of "
1039 "writes other than the most recent.) Therefore it is good practice (and "
1040 "indeed sometimes necessary under Linux) to put an B<fseek>(3) or "
1041 "B<fsetpos>(3) operation between write and read operations on such a "
1042 "stream. This operation may be an apparent no-op (as in I<fseek(..., 0L, "
1043 "SEEK_CUR)> called for its synchronizing side effect)."
1044 msgstr ""
1045 "Les lectures et les écritures peuvent être mélangées sur les flux en lecture "
1046 "et écriture, dans un ordre quelconque. Notez que AINSI C requiert qu'une "
1047 "fonction de positionnement dans le fichier soit appelée entre une lecture et "
1048 "une écriture, à moins que l'opération de lecture n'atteigne la fin du "
1049 "fichier (si cette condition n'est pas rencontrée, alors une lecture est "
1050 "permise pour renvoyer le résultat d'une écriture autre que la dernière). Une "
1051 "bonne habitude (souvent nécessaire sous Linux) consiste donc à intercaler un "
1052 "B<fseek>(3) ou B<fsetpos>(3) entre les lectures et les écritures sur un flux "
1053 "de ce type. Cette opération peut être une opération sans effet comme "
1054 "I<fseek(..., 0L, SEEK_CUR)> et dont l'effet de bord est une synchronisation."
1055
1056 #. type: tbl table
1057 #: debian-trixie fedora-44 fedora-rawhide
1058 #, no-wrap
1059 msgid "I<r>"
1060 msgstr "I<r>"
1061
1062 #. type: tbl table
1063 #: debian-trixie fedora-44 fedora-rawhide
1064 #, no-wrap
1065 msgid "I<w>"
1066 msgstr "I<w>"
1067
1068 #. type: tbl table
1069 #: debian-trixie fedora-44 fedora-rawhide
1070 #, no-wrap
1071 msgid "I<a>"
1072 msgstr "I<a>"
1073
1074 #. type: tbl table
1075 #: debian-trixie fedora-44 fedora-rawhide
1076 #, no-wrap
1077 msgid "I<r+>"
1078 msgstr "I<r+>"
1079
1080 #. type: tbl table
1081 #: debian-trixie fedora-44 fedora-rawhide
1082 #, no-wrap
1083 msgid "I<w+>"
1084 msgstr "I<w+>"
1085
1086 #. type: tbl table
1087 #: debian-trixie fedora-44 fedora-rawhide
1088 #, no-wrap
1089 msgid "I<a+>"
1090 msgstr "I<a+>"
1091
1092 #. type: Plain text
1093 #: debian-trixie fedora-44 fedora-rawhide
1094 msgid ""
1095 "The B<freopen>() function opens the file whose name is the string pointed "
1096 "to by I<pathname> and associates the stream pointed to by I<stream> with "
1097 "it. The original stream (if it exists) is closed. The I<mode> argument is "
1098 "used just as in the B<fopen>() function."
1099 msgstr ""
1100 "La fonction B<freopen>() ouvre le fichier dont le nom se trouve dans la "
1101 "chaîne de caractères pointée par I<chemin> et lui associe le flux pointé par "
1102 "I<flux>. Le flux original, s'il existe, est fermé. L'argument I<mode> est "
1103 "utilisé exactement comme dans la fonction B<fopen>()."
1104
1105 #. type: Plain text
1106 #: debian-trixie fedora-44 fedora-rawhide
1107 msgid ""
1108 "If the I<pathname> argument is a null pointer, B<freopen>() changes the "
1109 "mode of the stream to that specified in I<mode>; that is, B<freopen>() "
1110 "reopens the pathname that is associated with the stream. The specification "
1111 "for this behavior was added in the C99 standard, which says:"
1112 msgstr ""
1113 "Si l'argument I<chemin> contient un pointeur NULL, B<freopen>() change le "
1114 "mode du flux pour celui spécifié dans I<mode> ; cela fait, B<freopen>() "
1115 "réouvre le fichier associé au flux considéré. La spécification de ce "
1116 "comportement a été ajoutée dans la norme C99 qui stipule :"
1117
1118 #. type: TH
1119 #: fedora-44 fedora-rawhide
1120 #, no-wrap
1121 msgid "2024-07-23"
1122 msgstr "23 juillet 2024"
1123
1124 #. type: TH
1125 #: fedora-44 fedora-rawhide
1126 #, no-wrap
1127 msgid "Linux man-pages 6.13"
1128 msgstr "Pages du manuel de Linux 6.13"
1129
1130 #. type: TH
1131 #: mageia-cauldron
1132 #, no-wrap
1133 msgid "Linux man-pages 6.17"
1134 msgstr "Pages du manuel de Linux 6.17"
1135
1136 #. type: TH
1137 #: opensuse-leap-16-1 opensuse-tumbleweed
1138 #, no-wrap
1139 msgid "Linux man-pages (unreleased)"
1140 msgstr "Pages du manuel de Linux (non publiées)"