Debian Codegraph @

po/fr/man3/getpwent_r.3.po

raw
1 # French translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Christophe Blaess <https://www.blaess.fr/christophe/>, 1996-2003.
5 # Stéphan Rafin <[email protected]>, 2002.
6 # Thierry Vignaud <[email protected]>, 1999, 2002.
7 # François Micaux, 2002.
8 # Alain Portal <[email protected]>, 2003-2008.
9 # Jean-Philippe Guérard <[email protected]>, 2005-2006.
10 # Jean-Luc Coulon (f5ibh) <[email protected]>, 2006-2007.
11 # Julien Cristau <[email protected]>, 2006-2007.
12 # Thomas Huriaux <[email protected]>, 2006-2008.
13 # Nicolas François <[email protected]>, 2006-2008.
14 # Florentin Duneau <[email protected]>, 2006-2010.
15 # Simon Paillard <[email protected]>, 2006.
16 # Denis Barbier <[email protected]>, 2006, 2010.
17 # David Prévot <[email protected]>, 2010, 2012, 2013.
18 # Lucien Gentis <[email protected]>, 2022.
19 msgid ""
20 msgstr ""
21 "Project-Id-Version: manpages-l10n 4.21.0\n"
22 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
23 "PO-Revision-Date: 2024-03-14 16:22+0100\n"
24 "Last-Translator: Lucien Gentis <[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: VIM 8.2 with GTK3 GUI\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 "getpwent_r"
38 msgstr "getpwent_r"
39
40 #. type: TH
41 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "2026-02-14"
44 msgstr "14 février 2026"
45
46 #. type: TH
47 #: archlinux debian-unstable
48 #, no-wrap
49 msgid "Linux man-pages 6.18"
50 msgstr "Pages du manuel de Linux 6.18"
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "NAME"
57 msgstr "NOM"
58
59 #. type: Plain text
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "getpwent_r, fgetpwent_r - get passwd file entry reentrantly"
63 msgstr ""
64 "getpwent_r, fgetpwent_r – Obtenir un enregistrement du fichier passwd de "
65 "manière réentrante"
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>pwd.hE<gt>>\n"
92 msgstr "B<#include E<lt>pwd.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 getpwent_r(struct passwd *restrict >I<pwbuf>B<,>\n"
100 #| "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
101 #| "B< struct passwd **restrict >I<pwbufp>B<);>\n"
102 #| "B<int fgetpwent_r(FILE *restrict >I<stream>B<, struct passwd *restrict >I<pwbuf>B<,>\n"
103 #| "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
104 #| "B< struct passwd **restrict >I<pwbufp>B<);>\n"
105 msgid ""
106 "B<int getpwent_r(>size_t size;\n"
107 "B< struct passwd *restrict >I<pwbuf>B<,>\n"
108 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
109 "B< struct passwd **restrict >I<pwbufp>B<);>\n"
110 "B<int fgetpwent_r(>size_t size;\n"
111 "B< FILE *restrict >I<stream>B<, struct passwd *restrict >I<pwbuf>B<,>\n"
112 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
113 "B< struct passwd **restrict >I<pwbufp>B<);>\n"
114 msgstr ""
115 "B<int getpwent_r(struct passwd *restrict >I<tampon_pw>B<,>\n"
116 "B< char >I<tampon>B<[restrict .>I<taille>B<], size_t >I<taille>B<,>\n"
117 "B< struct passwd **restrict >I<pointeur_tampon_pw>B<);>\n"
118 "B<int fgetpwent_r(FILE *restrict >I<flux>B<, struct passwd *restrict >I<tampon_pw>B<,>\n"
119 "B< char >I<buf>B<[restrict .>I<taille>B<], size_t >I<taille>B<,>\n"
120 "B< struct passwd **restrict >I<pointeur_tampon_pw>B<);>\n"
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
127 msgstr ""
128 "Exigences de macros de test de fonctionnalités pour la glibc (consulter "
129 "B<feature_test_macros>(7)) :"
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 msgid "B<getpwent_r>(),"
135 msgstr "B<getpwent_r>() :"
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 #, no-wrap
141 msgid ""
142 " Since glibc 2.19:\n"
143 " _DEFAULT_SOURCE\n"
144 " glibc 2.19 and earlier:\n"
145 " _BSD_SOURCE || _SVID_SOURCE\n"
146 msgstr ""
147 " Depuis la glibc 2.19 :\n"
148 " _DEFAULT_SOURCE\n"
149 " glibc 2.19 et antérieures :\n"
150 " _BSD_SOURCE || _SVID_SOURCE\n"
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid "B<fgetpwent_r>():"
156 msgstr "B<fgetpwent_r>() :"
157
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.19:\n"
164 " _DEFAULT_SOURCE\n"
165 " glibc 2.19 and earlier:\n"
166 " _SVID_SOURCE\n"
167 msgstr ""
168 " Depuis la glibc 2.19 :\n"
169 " _POSIX_C_SOURCE E<gt>= 200809L\n"
170 " glibc 2.19 et antérieures :\n"
171 " _ATFILE_SOURCE\n"
172
173 #. type: SH
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 #, no-wrap
177 msgid "DESCRIPTION"
178 msgstr "DESCRIPTION"
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "The functions B<getpwent_r>() and B<fgetpwent_r>() are the reentrant "
185 "versions of B<getpwent>(3) and B<fgetpwent>(3). The former reads the next "
186 "passwd entry from the stream initialized by B<setpwent>(3). The latter "
187 "reads the next passwd entry from I<stream>."
188 msgstr ""
189 "Les fonctions B<getpwent_r>() et B<fgetpwent_r>() sont les versions "
190 "réentrantes des fonctions B<getpwent>(3) et B<fgetpwent>(3). La première lit "
191 "l'enregistrement passwd suivant à partir du flux initialisé par "
192 "B<setpwent>(3). La seconde lit l'enregistrement passwd suivant à partir du "
193 "flux I<flux>."
194
195 #. type: Plain text
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 msgid "The I<passwd> structure is defined in I<E<lt>pwd.hE<gt>> as follows:"
199 msgstr ""
200 "La structure I<passwd> est définie dans I<E<lt>pwd.hE<gt>> comme ceci\\ :"
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid ""
207 "struct passwd {\n"
208 " char *pw_name; /* username */\n"
209 " char *pw_passwd; /* user password */\n"
210 " uid_t pw_uid; /* user ID */\n"
211 " gid_t pw_gid; /* group ID */\n"
212 " char *pw_gecos; /* user information */\n"
213 " char *pw_dir; /* home directory */\n"
214 " char *pw_shell; /* shell program */\n"
215 "};\n"
216 msgstr ""
217 "struct passwd {\n"
218 " char *pw_name; /* Nom d'utilisateur */\n"
219 " char *pw_passwd; /* Mot de passe de l'utilisateur */\n"
220 " uid_t pw_uid; /* ID de l'utilisateur */\n"
221 " gid_t pw_gid; /* ID du groupe */\n"
222 " char *pw_gecos; /* Information utilisateur */\n"
223 " char *pw_dir; /* Répertoire personnel */\n"
224 " char *pw_shell; /* Interpréteur de commande */\n"
225 "};\n"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "For more information about the fields of this structure, see B<passwd>(5)."
232 msgstr ""
233 "Pour plus d'informations à propos des champs de cette structure, consultez "
234 "B<passwd>(5)."
235
236 #. type: Plain text
237 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
238 #: opensuse-tumbleweed
239 #, fuzzy
240 #| msgid ""
241 #| "The nonreentrant functions return a pointer to static storage, where this "
242 #| "static storage contains further pointers to user name, password, gecos "
243 #| "field, home directory and shell. The reentrant functions described here "
244 #| "return all of that in caller-provided buffers. First of all there is the "
245 #| "buffer I<pwbuf> that can hold a I<struct passwd>. And next the buffer "
246 #| "I<buf> of size I<size> that can hold additional strings. The result of "
247 #| "these functions, the I<struct passwd> read from the stream, is stored in "
248 #| "the provided buffer I<*pwbuf>, and a pointer to this I<struct passwd> is "
249 #| "returned in I<*pwbufp>."
250 msgid ""
251 "The nonreentrant functions return a pointer to static storage, where this "
252 "static storage contains further pointers to user name, password, gecos "
253 "field, home directory and shell. The reentrant functions described here "
254 "return all of that in caller-provided buffers. First of all there is the "
255 "buffer I<pwbuf> that can hold a I<struct\\ passwd>. And next the buffer "
256 "I<buf> of size I<size> that can hold additional strings. The result of "
257 "these functions, the I<struct\\ passwd> read from the stream, is stored in "
258 "the provided buffer I<*pwbuf>, and a pointer to this I<struct\\ passwd> is "
259 "returned in I<*pwbufp>."
260 msgstr ""
261 "Les fonctions non réentrantes renvoient un pointeur sur une zone statique, "
262 "zone qui contient d'autres pointeurs vers le nom, le mot de passe, le champ "
263 "gecos, le répertoire personnel et l'interpréteur de commandes de "
264 "l'utilisateur. Les fonctions réentrantes décrites ici renvoient tout cela "
265 "dans des tampons fournis par l'appelant. Il y a tout d'abord le tampon "
266 "I<tampon_pw> qui contient une structure I<passwd>, puis le tampon I<tampon> "
267 "de taille I<taille> qui peut contenir des chaînes supplémentaires. Le "
268 "résultat de ces fonctions, la structure I<passwd> lue dans le flux, est "
269 "enregistré dans le tampon I<*tampon_pw> fourni, et un pointeur vers cette "
270 "structure I<passwd> est renvoyé dans I<*pointeur_tampon_pw>."
271
272 #. type: SH
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "RETURN VALUE"
277 msgstr "VALEUR RENVOYÉE"
278
279 #. type: Plain text
280 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
281 #: opensuse-tumbleweed
282 #, fuzzy
283 #| msgid ""
284 #| "On success, these functions return 0 and I<*pwbufp> is a pointer to the "
285 #| "I<struct passwd>. On error, these functions return an error value and "
286 #| "I<*pwbufp> is NULL."
287 msgid ""
288 "On success, these functions return 0 and I<*pwbufp> is a pointer to the "
289 "I<struct\\ passwd>. On error, these functions return an error value and "
290 "I<*pwbufp> is NULL."
291 msgstr ""
292 "Si elles réussissent, ces fonctions renvoient B<0> et I<*pointeur_tampon_pw> "
293 "est un pointeur vers la structure I<passwd>. Si elles échouent, ces "
294 "fonctions renvoient une valeur d'erreur et I<*pointeur_tampon_pw> est NULL."
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<ENOENT>"
308 msgstr "B<ENOENT>"
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 "No more entries."
314 msgstr "Il n'y a plus d'entrées."
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<ERANGE>"
321 msgstr "B<ERANGE>"
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 "Insufficient buffer space supplied. Try again with larger buffer."
327 msgstr ""
328 "La taille du tampon fourni est insuffisante. Veuillez essayer à nouveau avec "
329 "un tampon plus grand."
330
331 #. type: SH
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "ATTRIBUTES"
336 msgstr "ATTRIBUTS"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid ""
342 "For an explanation of the terms used in this section, see B<attributes>(7)."
343 msgstr ""
344 "Pour une explication des termes utilisés dans cette section, consulter "
345 "B<attributes>(7)."
346
347 #. type: tbl table
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "Interface"
352 msgstr "Interface"
353
354 #. type: tbl table
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, no-wrap
358 msgid "Attribute"
359 msgstr "Attribut"
360
361 #. type: tbl table
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "Value"
366 msgstr "Valeur"
367
368 #. type: tbl table
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid ".na\n"
373 msgstr ".na\n"
374
375 #. type: tbl table
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid ".nh\n"
380 msgstr ".nh\n"
381
382 #. type: tbl table
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 #, no-wrap
386 msgid "B<getpwent_r>()"
387 msgstr "B<getpwent_r>()"
388
389 #. type: tbl table
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 #, no-wrap
393 msgid "Thread safety"
394 msgstr "Sécurité des threads"
395
396 #. type: tbl table
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "MT-Unsafe race:pwent locale"
401 msgstr "MT-Unsafe race:pwent locale"
402
403 #. type: tbl table
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "B<fgetpwent_r>()"
408 msgstr "B<fgetpwent_r>()"
409
410 #. type: tbl table
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "MT-Safe"
415 msgstr "MT-Safe"
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 "In the above table, I<pwent> in I<race:pwent> signifies that if any of the "
422 "functions B<setpwent>(), B<getpwent>(), B<endpwent>(), or B<getpwent_r>() "
423 "are used in parallel in different threads of a program, then data races "
424 "could occur."
425 msgstr ""
426 "Dans la table ci-dessus, I<pwent> dans I<race:pwent> signifie que si une des "
427 "fonctions B<setpwent>(), B<getpwent>(), B<endpwent>() ou B<getpwent_r>() est "
428 "utilisée en parallèle dans différents threads d'un programme, des situations "
429 "de compétition entre données peuvent apparaître."
430
431 #. type: SH
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 #, no-wrap
435 msgid "VERSIONS"
436 msgstr "VERSIONS"
437
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 msgid "Other systems use the prototype"
442 msgstr "D'autres systèmes utilisent le prototype"
443
444 #. type: Plain text
445 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
446 #: opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid ""
449 "struct passwd *\n"
450 "getpwent_r(struct passwd *pwd, char buf[.size], int size);\n"
451 msgstr ""
452 "struct passwd *\n"
453 "getpwent_r(struct passwd *pwd, char buf[.taille], int taille);\n"
454
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid "or, better,"
459 msgstr "ou mieux"
460
461 #. type: Plain text
462 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
463 #: opensuse-leap-16-1 opensuse-tumbleweed
464 #, no-wrap
465 msgid ""
466 "int\n"
467 "getpwent_r(struct passwd *pwd, char buf[.size], int size,\n"
468 " FILE **pw_fp);\n"
469 msgstr ""
470 "int\n"
471 "getpwent_r(struct passwd *pwd, char buf[.taille], int taille,\n"
472 " FILE **pw_fp);\n"
473
474 #. type: SH
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 #, no-wrap
478 msgid "STANDARDS"
479 msgstr "NORMES"
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid "None."
485 msgstr "Aucun."
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 "HISTORY"
492 msgstr "HISTORIQUE"
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid ""
498 "These functions are done in a style resembling the POSIX version of "
499 "functions like B<getpwnam_r>(3)."
500 msgstr ""
501 "Ces fonctions sont effectuées dans un style ressemblant à la version POSIX "
502 "de fonctions comme B<getpwnam_r>(3)."
503
504 #. type: SH
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 #, no-wrap
508 msgid "NOTES"
509 msgstr "NOTES"
510
511 #. type: Plain text
512 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
513 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
514 msgid ""
515 "The function B<getpwent_r>() is not really reentrant since it shares the "
516 "reading position in the stream with all other threads."
517 msgstr ""
518 "La fonction B<getpwent_r>() n'est pas vraiment réentrante puisqu'elle "
519 "partage la position de lecture dans le flux avec tous les autres threads."
520
521 #. type: SH
522 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
523 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
524 #, no-wrap
525 msgid "EXAMPLES"
526 msgstr "EXEMPLES"
527
528 #. type: Plain text
529 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
530 #, fuzzy, no-wrap
531 #| msgid ""
532 #| "#define _GNU_SOURCE\n"
533 #| "#include E<lt>pwd.hE<gt>\n"
534 #| "#include E<lt>stdint.hE<gt>\n"
535 #| "#include E<lt>stdio.hE<gt>\n"
536 #| "#include E<lt>stdlib.hE<gt>\n"
537 #| "\\&\n"
538 #| "#define BUFLEN 4096\n"
539 #| "\\&\n"
540 #| "int\n"
541 #| "main(void)\n"
542 #| "{\n"
543 #| " struct passwd pw;\n"
544 #| " struct passwd *pwp;\n"
545 #| " char buf[BUFLEN];\n"
546 #| " int i;\n"
547 #| "\\&\n"
548 #| " setpwent();\n"
549 #| " while (1) {\n"
550 #| " i = getpwent_r(&pw, buf, sizeof(buf), &pwp);\n"
551 #| " if (i)\n"
552 #| " break;\n"
553 #| " printf(\"%s (%jd)\\[rs]tHOME %s\\[rs]tSHELL %s\\[rs]n\", pwp-E<gt>pw_name,\n"
554 #| " (intmax_t) pwp-E<gt>pw_uid, pwp-E<gt>pw_dir, pwp-E<gt>pw_shell);\n"
555 #| " }\n"
556 #| " endpwent();\n"
557 #| " exit(EXIT_SUCCESS);\n"
558 #| "}\n"
559 msgid ""
560 "#define _GNU_SOURCE\n"
561 "#include E<lt>pwd.hE<gt>\n"
562 "#include E<lt>stdint.hE<gt>\n"
563 "#include E<lt>stdio.hE<gt>\n"
564 "#include E<lt>stdlib.hE<gt>\n"
565 "\\&\n"
566 "#define BUFLEN 4096\n"
567 "\\&\n"
568 "int\n"
569 "main(void)\n"
570 "{\n"
571 " struct passwd pw;\n"
572 " struct passwd *pwp;\n"
573 " char buf[BUFLEN];\n"
574 " int i;\n"
575 "\\&\n"
576 " setpwent();\n"
577 " for (;;) {\n"
578 " i = getpwent_r(&pw, buf, sizeof(buf), &pwp);\n"
579 " if (i)\n"
580 " break;\n"
581 " printf(\"%s (%jd)\\[rs]tHOME %s\\[rs]tSHELL %s\\[rs]n\", pwp-E<gt>pw_name,\n"
582 " (intmax_t) pwp-E<gt>pw_uid, pwp-E<gt>pw_dir, pwp-E<gt>pw_shell);\n"
583 " }\n"
584 " endpwent();\n"
585 " exit(EXIT_SUCCESS);\n"
586 "}\n"
587 msgstr ""
588 "#define _GNU_SOURCE\n"
589 "#include E<lt>pwd.hE<gt>\n"
590 "#include E<lt>stdint.hE<gt>\n"
591 "#include E<lt>stdio.hE<gt>\n"
592 "#include E<lt>stdlib.hE<gt>\n"
593 "\\&\n"
594 "#define BUFLEN 4096\n"
595 "\\&\n"
596 "int\n"
597 "main(void)\n"
598 "{\n"
599 " struct passwd pw;\n"
600 " struct passwd *pwp;\n"
601 " char buf[BUFLEN];\n"
602 " int i;\n"
603 "\\&\n"
604 " setpwent();\n"
605 " while (1) {\n"
606 " i = getpwent_r(&pw, buf, sizeof(buf), &pwp);\n"
607 " if (i)\n"
608 " break;\n"
609 " printf(\"%s (%jd)\\[rs]tHOME %s\\[rs]tSHELL %s\\[rs]n\", pwp-E<gt>pw_name,\n"
610 " (intmax_t) pwp-E<gt>pw_uid, pwp-E<gt>pw_dir, pwp-E<gt>pw_shell);\n"
611 " }\n"
612 " endpwent();\n"
613 " exit(EXIT_SUCCESS);\n"
614 "}\n"
615
616 #. perhaps add error checking - should use strerror_r
617 #. #include <errno.h>
618 #. #include <stdlib.h>
619 #. if (i) {
620 #. if (i == ENOENT)
621 #. break;
622 #. printf("getpwent_r: %s", strerror(i));
623 #. exit(EXIT_SUCCESS);
624 #. }
625 #. SRC END
626 #. type: SH
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 #, no-wrap
630 msgid "SEE ALSO"
631 msgstr "VOIR AUSSI"
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 "B<fgetpwent>(3), B<getpw>(3), B<getpwent>(3), B<getpwnam>(3), "
638 "B<getpwuid>(3), B<putpwent>(3), B<passwd>(5)"
639 msgstr ""
640 "B<fgetpwent>(3), B<getpw>(3), B<getpwent>(3), B<getpwnam>(3), "
641 "B<getpwuid>(3), B<putpwent>(3), B<passwd>(5)"
642
643 #. type: TH
644 #: debian-trixie
645 #, no-wrap
646 msgid "2024-06-15"
647 msgstr "15 juin 2024"
648
649 #. type: TH
650 #: debian-trixie
651 #, no-wrap
652 msgid "Linux man-pages 6.9.1"
653 msgstr "Pages du manuel de Linux 6.9.1"
654
655 #. type: Plain text
656 #: debian-trixie
657 msgid "Standard C library (I<libc>, I<-lc>)"
658 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
659
660 #. type: Plain text
661 #: debian-trixie
662 #, no-wrap
663 msgid ""
664 "B<int getpwent_r(struct passwd *restrict >I<pwbuf>B<,>\n"
665 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
666 "B< struct passwd **restrict >I<pwbufp>B<);>\n"
667 "B<int fgetpwent_r(FILE *restrict >I<stream>B<, struct passwd *restrict >I<pwbuf>B<,>\n"
668 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
669 "B< struct passwd **restrict >I<pwbufp>B<);>\n"
670 msgstr ""
671 "B<int getpwent_r(struct passwd *restrict >I<tampon_pw>B<,>\n"
672 "B< char >I<tampon>B<[restrict .>I<taille_tampon>B<], size_t >I<taille_tampon>B<,>\n"
673 "B< struct passwd **restrict >I<pointeur_tampon_pw>B<);>\n"
674 "B<int fgetpwent_r(FILE *restrict >I<flux>B<, struct passwd *restrict >I<tampon_pw>B<,>\n"
675 "B< char >I<buf>B<[restrict .>I<taille_tampon>B<], size_t >I<taille_tampon>B<,>\n"
676 "B< struct passwd **restrict >I<pointeur_tampon_pw>B<);>\n"
677
678 #. type: Plain text
679 #: debian-trixie
680 msgid ""
681 "The nonreentrant functions return a pointer to static storage, where this "
682 "static storage contains further pointers to user name, password, gecos "
683 "field, home directory and shell. The reentrant functions described here "
684 "return all of that in caller-provided buffers. First of all there is the "
685 "buffer I<pwbuf> that can hold a I<struct passwd>. And next the buffer "
686 "I<buf> of size I<buflen> that can hold additional strings. The result of "
687 "these functions, the I<struct passwd> read from the stream, is stored in the "
688 "provided buffer I<*pwbuf>, and a pointer to this I<struct passwd> is "
689 "returned in I<*pwbufp>."
690 msgstr ""
691 "Les fonctions non réentrantes renvoient un pointeur sur une zone statique, "
692 "zone qui contient d'autres pointeurs vers le nom, le mot de passe, le champ "
693 "gecos, le répertoire personnel et l'interpréteur de commandes de "
694 "l'utilisateur. Les fonctions réentrantes décrites ici renvoient tout cela "
695 "dans des tampons fournis par l'appelant. Il y a tout d'abord le tampon "
696 "I<tampon_pw> qui contient une structure I<passwd>, puis le tampon I<tampon> "
697 "de taille I<taille_tampon> qui peut contenir des chaînes supplémentaires. Le "
698 "résultat de ces fonctions, la structure I<passwd> lue dans le flux, est "
699 "enregistré dans le tampon I<*tampon_pw> fourni, et un pointeur vers cette "
700 "structure I<passwd> est renvoyé dans I<*pointeur_tampon_pw>."
701
702 #. type: Plain text
703 #: debian-trixie fedora-44 fedora-rawhide
704 msgid ""
705 "On success, these functions return 0 and I<*pwbufp> is a pointer to the "
706 "I<struct passwd>. On error, these functions return an error value and "
707 "I<*pwbufp> is NULL."
708 msgstr ""
709 "Si elles réussissent, ces fonctions renvoient B<0> et I<*pointeur_tampon_pw> "
710 "est un pointeur vers la structure I<passwd>. Si elles échouent, ces "
711 "fonctions renvoient une valeur d'erreur et I<*pointeur_tampon_pw> est NULL."
712
713 #. type: Plain text
714 #: debian-trixie
715 #, no-wrap
716 msgid ""
717 "struct passwd *\n"
718 "getpwent_r(struct passwd *pwd, char *buf, int buflen);\n"
719 msgstr ""
720 "struct passwd *\n"
721 "getpwent_r(struct passwd *pwd, char *tampon, int taille_tampon);\n"
722
723 #. type: Plain text
724 #: debian-trixie
725 #, no-wrap
726 msgid ""
727 "int\n"
728 "getpwent_r(struct passwd *pwd, char *buf, int buflen,\n"
729 " FILE **pw_fp);\n"
730 msgstr ""
731 "int\n"
732 "getpwent_r(struct passwd *pwd, char *tampon, int taille_tampon,\n"
733 " FILE **pw_fp);\n"
734
735 #. type: Plain text
736 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
737 #, no-wrap
738 msgid ""
739 "#define _GNU_SOURCE\n"
740 "#include E<lt>pwd.hE<gt>\n"
741 "#include E<lt>stdint.hE<gt>\n"
742 "#include E<lt>stdio.hE<gt>\n"
743 "#include E<lt>stdlib.hE<gt>\n"
744 "\\&\n"
745 "#define BUFLEN 4096\n"
746 "\\&\n"
747 "int\n"
748 "main(void)\n"
749 "{\n"
750 " struct passwd pw;\n"
751 " struct passwd *pwp;\n"
752 " char buf[BUFLEN];\n"
753 " int i;\n"
754 "\\&\n"
755 " setpwent();\n"
756 " while (1) {\n"
757 " i = getpwent_r(&pw, buf, sizeof(buf), &pwp);\n"
758 " if (i)\n"
759 " break;\n"
760 " printf(\"%s (%jd)\\[rs]tHOME %s\\[rs]tSHELL %s\\[rs]n\", pwp-E<gt>pw_name,\n"
761 " (intmax_t) pwp-E<gt>pw_uid, pwp-E<gt>pw_dir, pwp-E<gt>pw_shell);\n"
762 " }\n"
763 " endpwent();\n"
764 " exit(EXIT_SUCCESS);\n"
765 "}\n"
766 msgstr ""
767 "#define _GNU_SOURCE\n"
768 "#include E<lt>pwd.hE<gt>\n"
769 "#include E<lt>stdint.hE<gt>\n"
770 "#include E<lt>stdio.hE<gt>\n"
771 "#include E<lt>stdlib.hE<gt>\n"
772 "\\&\n"
773 "#define BUFLEN 4096\n"
774 "\\&\n"
775 "int\n"
776 "main(void)\n"
777 "{\n"
778 " struct passwd pw;\n"
779 " struct passwd *pwp;\n"
780 " char buf[BUFLEN];\n"
781 " int i;\n"
782 "\\&\n"
783 " setpwent();\n"
784 " while (1) {\n"
785 " i = getpwent_r(&pw, buf, sizeof(buf), &pwp);\n"
786 " if (i)\n"
787 " break;\n"
788 " printf(\"%s (%jd)\\[rs]tHOME %s\\[rs]tSHELL %s\\[rs]n\", pwp-E<gt>pw_name,\n"
789 " (intmax_t) pwp-E<gt>pw_uid, pwp-E<gt>pw_dir, pwp-E<gt>pw_shell);\n"
790 " }\n"
791 " endpwent();\n"
792 " exit(EXIT_SUCCESS);\n"
793 "}\n"
794
795 #. type: TH
796 #: fedora-44 fedora-rawhide
797 #, no-wrap
798 msgid "2024-12-24"
799 msgstr "24 décembre 2024"
800
801 #. type: TH
802 #: fedora-44 fedora-rawhide
803 #, no-wrap
804 msgid "Linux man-pages 6.13"
805 msgstr "Pages du manuel de Linux 6.13"
806
807 #. type: Plain text
808 #: fedora-44 fedora-rawhide
809 #, no-wrap
810 msgid ""
811 "B<int getpwent_r(struct passwd *restrict >I<pwbuf>B<,>\n"
812 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
813 "B< struct passwd **restrict >I<pwbufp>B<);>\n"
814 "B<int fgetpwent_r(FILE *restrict >I<stream>B<, struct passwd *restrict >I<pwbuf>B<,>\n"
815 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
816 "B< struct passwd **restrict >I<pwbufp>B<);>\n"
817 msgstr ""
818 "B<int getpwent_r(struct passwd *restrict >I<tampon_pw>B<,>\n"
819 "B< char >I<tampon>B<[restrict .>I<taille>B<], size_t >I<taille>B<,>\n"
820 "B< struct passwd **restrict >I<pointeur_tampon_pw>B<);>\n"
821 "B<int fgetpwent_r(FILE *restrict >I<flux>B<, struct passwd *restrict >I<tampon_pw>B<,>\n"
822 "B< char >I<buf>B<[restrict .>I<taille>B<], size_t >I<taille>B<,>\n"
823 "B< struct passwd **restrict >I<pointeur_tampon_pw>B<);>\n"
824
825 #. type: Plain text
826 #: fedora-44 fedora-rawhide
827 msgid ""
828 "The nonreentrant functions return a pointer to static storage, where this "
829 "static storage contains further pointers to user name, password, gecos "
830 "field, home directory and shell. The reentrant functions described here "
831 "return all of that in caller-provided buffers. First of all there is the "
832 "buffer I<pwbuf> that can hold a I<struct passwd>. And next the buffer "
833 "I<buf> of size I<size> that can hold additional strings. The result of "
834 "these functions, the I<struct passwd> read from the stream, is stored in the "
835 "provided buffer I<*pwbuf>, and a pointer to this I<struct passwd> is "
836 "returned in I<*pwbufp>."
837 msgstr ""
838 "Les fonctions non réentrantes renvoient un pointeur sur une zone statique, "
839 "zone qui contient d'autres pointeurs vers le nom, le mot de passe, le champ "
840 "gecos, le répertoire personnel et l'interpréteur de commandes de "
841 "l'utilisateur. Les fonctions réentrantes décrites ici renvoient tout cela "
842 "dans des tampons fournis par l'appelant. Il y a tout d'abord le tampon "
843 "I<tampon_pw> qui contient une structure I<passwd>, puis le tampon I<tampon> "
844 "de taille I<taille> qui peut contenir des chaînes supplémentaires. Le "
845 "résultat de ces fonctions, la structure I<passwd> lue dans le flux, est "
846 "enregistré dans le tampon I<*tampon_pw> fourni, et un pointeur vers cette "
847 "structure I<passwd> est renvoyé dans I<*pointeur_tampon_pw>."
848
849 #. type: TH
850 #: mageia-cauldron
851 #, no-wrap
852 msgid "2026-02-08"
853 msgstr "8 février 2026"
854
855 #. type: TH
856 #: mageia-cauldron
857 #, no-wrap
858 msgid "Linux man-pages 6.17"
859 msgstr "Pages du manuel de Linux 6.17"
860
861 #. type: TH
862 #: opensuse-leap-16-1 opensuse-tumbleweed
863 #, no-wrap
864 msgid "Linux man-pages (unreleased)"
865 msgstr "Pages du manuel de Linux (non publiées)"