Debian Codegraph @

po/fr/man3/getgrent_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]>, 2023.
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-06 00:06+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-gtk3 8.2.2434\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 "getgrent_r"
38 msgstr "getgrent_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 "getgrent_r, fgetgrent_r - get group file entry reentrantly"
63 msgstr ""
64 "getgrent_r, fgetgrent_r - Obtenir un enregistrement du fichier de groupes 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>grp.hE<gt>>\n"
92 msgstr "B<#include E<lt>grp.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 getgrent_r(struct group *restrict >I<gbuf>B<,>\n"
100 #| "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
101 #| "B< struct group **restrict >I<gbufp>B<);>\n"
102 #| "B<int fgetgrent_r(FILE *restrict >I<stream>B<, struct group *restrict >I<gbuf>B<,>\n"
103 #| "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
104 #| "B< struct group **restrict >I<gbufp>B<);>\n"
105 msgid ""
106 "B<int getgrent_r(>size_t size;\n"
107 "B< struct group *restrict >I<gbuf>B<,>\n"
108 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
109 "B< struct group **restrict >I<gbufp>B<);>\n"
110 "B<int fgetgrent_r(>size_t size;\n"
111 "B< FILE *restrict >I<stream>B<, struct group *restrict >I<gbuf>B<,>\n"
112 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
113 "B< struct group **restrict >I<gbufp>B<);>\n"
114 msgstr ""
115 "B<int getgrent_r(struct group *restrict >I<tampon_groupe>B<,>\n"
116 "B< char >I<tampon>B<[restrict .>I<taille>B<], size_t >I<taille>B<,>\n"
117 "B< struct group **restrict >I<pointeur_tampon_groupe>B<);>\n"
118 "B<int fgetgrent_r(FILE *restrict >I<flux>B<, struct group *restrict >I<tampon_groupe>B<,>\n"
119 "B< char >I<tampon>B<[restrict .>I<taille>B<], size_t >I<taille>B<,>\n"
120 "B< struct group **restrict >I<pointeur_tampon_groupe>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<getgrent_r>():"
135 msgstr "B<getgrent_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 " _GNU_SOURCE\n"
142 msgstr " _GNU_SOURCE\n"
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid "B<fgetgrent_r>():"
148 msgstr "B<fgetgrent_r>() :"
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, no-wrap
154 msgid ""
155 " Since glibc 2.19:\n"
156 " _DEFAULT_SOURCE\n"
157 " glibc 2.19 and earlier:\n"
158 " _SVID_SOURCE\n"
159 msgstr ""
160 " Depuis la glibc 2.19 :\n"
161 " _POSIX_C_SOURCE E<gt>= 200809L\n"
162 " glibc 2.19 et antérieures :\n"
163 " _ATFILE_SOURCE\n"
164
165 #. type: SH
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "DESCRIPTION"
170 msgstr "DESCRIPTION"
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "The functions B<getgrent_r>() and B<fgetgrent_r>() are the reentrant "
177 "versions of B<getgrent>(3) and B<fgetgrent>(3). The former reads the next "
178 "group entry from the stream initialized by B<setgrent>(3). The latter reads "
179 "the next group entry from I<stream>."
180 msgstr ""
181 "Les fonctions B<getgrent_r>() et B<fgetgrent_r>() sont les versions "
182 "réentrantes des fonctions B<getgrent>(3) et B<fgetgrent>(3). La première lit "
183 "l'enregistrement de groupe suivant à partir du flux initialisé par "
184 "B<setgrent>(3). La seconde lit l'enregistrement de groupe suivant à partir "
185 "du I<flux>."
186
187 #. type: Plain text
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 msgid "The I<group> structure is defined in I<E<lt>grp.hE<gt>> as follows:"
191 msgstr ""
192 "La structure I<group> est définie dans I<E<lt>grp.hE<gt>> comme ceci\\ :"
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid ""
199 "struct group {\n"
200 " char *gr_name; /* group name */\n"
201 " char *gr_passwd; /* group password */\n"
202 " gid_t gr_gid; /* group ID */\n"
203 " char **gr_mem; /* NULL-terminated array of pointers\n"
204 " to names of group members */\n"
205 "};\n"
206 msgstr ""
207 "struct group {\n"
208 " char *gr_name; /* nom de groupe */\n"
209 " char *gr_passwd; /* mot de passe de groupe */\n"
210 " gid_t gr_gid; /* identifiant de groupe */\n"
211 " char **gr_mem; /* tableau de pointeurs de nom des membres de groupe\n"
212 " terminé par un pointeur NULL */\n"
213 "};\n"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "For more information about the fields of this structure, see B<group>(5)."
220 msgstr ""
221 "Pour plus d'informations à propos des champs de cette structure, consultez "
222 "B<group>(5)."
223
224 #. type: Plain text
225 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
226 #: opensuse-tumbleweed
227 #, fuzzy
228 #| msgid ""
229 #| "The nonreentrant functions return a pointer to static storage, where this "
230 #| "static storage contains further pointers to group name, password, and "
231 #| "members. The reentrant functions described here return all of that in "
232 #| "caller-provided buffers. First of all there is the buffer I<gbuf> that "
233 #| "can hold a I<struct group>. And next the buffer I<buf> of size I<size> "
234 #| "that can hold additional strings. The result of these functions, the "
235 #| "I<struct group> read from the stream, is stored in the provided buffer "
236 #| "I<*gbuf>, and a pointer to this I<struct group> is returned in I<*gbufp>."
237 msgid ""
238 "The nonreentrant functions return a pointer to static storage, where this "
239 "static storage contains further pointers to group name, password, and "
240 "members. The reentrant functions described here return all of that in "
241 "caller-provided buffers. First of all there is the buffer I<gbuf> that can "
242 "hold a I<struct\\ group>. And next the buffer I<buf> of size I<size> that "
243 "can hold additional strings. The result of these functions, the I<struct\\ "
244 "group> read from the stream, is stored in the provided buffer I<*gbuf>, and "
245 "a pointer to this I<struct\\ group> is returned in I<*gbufp>."
246 msgstr ""
247 "Les fonctions non réentrantes renvoient un pointeur sur une zone statique, "
248 "zone qui contient d'autres pointeurs vers le nom, le mot de passe et les "
249 "membres du groupe. Les fonctions réentrantes décrites ici renvoient tout "
250 "cela dans des tampons fournis par l'appelant. Il y a tout d'abord le tampon "
251 "I<tampon_groupe> qui peut contenir une structure I<group>, puis le tampon "
252 "I<tampon> de taille I<taille> qui peut contenir des chaînes supplémentaires. "
253 "Le résultat de ces fonctions, la structure I<group> lue dans le flux, est "
254 "enregistré dans le tampon I<*tampon_groupe> fourni, et un pointeur vers "
255 "cette structure I<group> est renvoyé dans I<*pointeur_tampon_groupe>."
256
257 #. type: SH
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "RETURN VALUE"
262 msgstr "VALEUR RENVOYÉE"
263
264 #. type: Plain text
265 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
266 #: opensuse-tumbleweed
267 #, fuzzy
268 #| msgid ""
269 #| "On success, these functions return 0 and I<*gbufp> is a pointer to the "
270 #| "I<struct group>. On error, these functions return an error value and "
271 #| "I<*gbufp> is NULL."
272 msgid ""
273 "On success, these functions return 0 and I<*gbufp> is a pointer to the "
274 "I<struct\\ group>. On error, these functions return an error value and "
275 "I<*gbufp> is NULL."
276 msgstr ""
277 "Si elles réussissent, ces fonctions renvoient B<0> et "
278 "I<*pointeur_tampon_groupe> est un pointeur vers la structure I<group>. Si "
279 "elles échouent, ces fonctions renvoient une valeur d'erreur et "
280 "I<*pointeur_tampon_groupe> est NULL."
281
282 #. type: SH
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "ERRORS"
287 msgstr "ERREURS"
288
289 #. type: TP
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "B<ENOENT>"
294 msgstr "B<ENOENT>"
295
296 #. type: Plain text
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 msgid "No more entries."
300 msgstr "Il n'y a plus d'entrées."
301
302 #. type: TP
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "B<ERANGE>"
307 msgstr "B<ERANGE>"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid "Insufficient buffer space supplied. Try again with larger buffer."
313 msgstr ""
314 "L'espace tampon fourni est insuffisant. Veuillez essayer à nouveau avec un "
315 "tampon plus grand."
316
317 #. type: SH
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid "ATTRIBUTES"
322 msgstr "ATTRIBUTS"
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid ""
328 "For an explanation of the terms used in this section, see B<attributes>(7)."
329 msgstr ""
330 "Pour une explication des termes utilisés dans cette section, consulter "
331 "B<attributes>(7)."
332
333 #. type: tbl table
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "Interface"
338 msgstr "Interface"
339
340 #. type: tbl table
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "Attribute"
345 msgstr "Attribut"
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 "Value"
352 msgstr "Valeur"
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 ".na\n"
359 msgstr ".na\n"
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 ".nh\n"
366 msgstr ".nh\n"
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 "B<getgrent_r>()"
373 msgstr "B<getgrent_r>()"
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 "Thread safety"
380 msgstr "Sécurité des threads"
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 "MT-Unsafe race:grent locale"
387 msgstr "MT-Unsafe race:grent locale"
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 "B<fgetgrent_r>()"
394 msgstr "B<fgetgrent_r>()"
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-Safe"
401 msgstr "MT-Safe"
402
403 #. type: Plain text
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 msgid ""
407 "In the above table, I<grent> in I<race:grent> signifies that if any of the "
408 "functions B<setgrent>(3), B<getgrent>(3), B<endgrent>(3), or "
409 "B<getgrent_r>() are used in parallel in different threads of a program, "
410 "then data races could occur."
411 msgstr ""
412 "Dans la table ci-dessus, I<grent> dans I<race:grent> signifie que si des "
413 "fonctions parmi B<setgrent>(3), B<getgrent>(3), B<endgrent>(3) ou "
414 "B<getgrent_r>() sont utilisées en parallèle dans différents threads d'un "
415 "programme, des situations de compétition de données pourraient se produire."
416
417 #. type: SH
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 #, no-wrap
421 msgid "VERSIONS"
422 msgstr "VERSIONS"
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid "Other systems use the prototype"
428 msgstr "D'autres systèmes utilisent le prototype"
429
430 #. type: Plain text
431 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
432 #: opensuse-leap-16-1 opensuse-tumbleweed
433 #, no-wrap
434 msgid ""
435 "struct group *getgrent_r(struct group *grp, char buf[.size],\n"
436 " int size);\n"
437 msgstr ""
438 "struct group *getgrent_r(struct group *grp, char tampon[.taille],\n"
439 " int taille);\n"
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid "or, better,"
445 msgstr "ou mieux,"
446
447 #. type: Plain text
448 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
449 #: opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid ""
452 "int getgrent_r(struct group *grp, char buf[.size], int size,\n"
453 " FILE **gr_fp);\n"
454 msgstr ""
455 "int getgrent_r(struct group *grp, char *tampon[.taille], int taille,\n"
456 " FILE **gr_fp);\n"
457
458 #. type: SH
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "STANDARDS"
463 msgstr "NORMES"
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid "GNU."
469 msgstr "GNU."
470
471 #. type: SH
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid "HISTORY"
476 msgstr "HISTORIQUE"
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid ""
482 "These functions are done in a style resembling the POSIX version of "
483 "functions like B<getpwnam_r>(3)."
484 msgstr ""
485 "Ces fonctions sont écrites dans un style ressemblant à la version POSIX de "
486 "fonctions comme B<getpwnam_r>(3)."
487
488 #. type: SH
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "NOTES"
493 msgstr "NOTES"
494
495 #. type: Plain text
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 msgid ""
499 "The function B<getgrent_r>() is not really reentrant since it shares the "
500 "reading position in the stream with all other threads."
501 msgstr ""
502 "La fonction B<getgrent_r>() n'est pas vraiment réentrante puisqu'elle "
503 "partage la position de lecture dans le flux avec tous les autres threads."
504
505 #. type: SH
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 #, no-wrap
509 msgid "EXAMPLES"
510 msgstr "EXEMPLES"
511
512 #. type: Plain text
513 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
514 #, fuzzy, no-wrap
515 #| msgid ""
516 #| "#define _GNU_SOURCE\n"
517 #| "#include E<lt>grp.hE<gt>\n"
518 #| "#include E<lt>stdint.hE<gt>\n"
519 #| "#include E<lt>stdio.hE<gt>\n"
520 #| "#include E<lt>stdlib.hE<gt>\n"
521 #| "#define BUFLEN 4096\n"
522 #| "\\&\n"
523 #| "int\n"
524 #| "main(void)\n"
525 #| "{\n"
526 #| " struct group grp;\n"
527 #| " struct group *grpp;\n"
528 #| " char buf[BUFLEN];\n"
529 #| " int i;\n"
530 #| "\\&\n"
531 #| " setgrent();\n"
532 #| " while (1) {\n"
533 #| " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n"
534 #| " if (i)\n"
535 #| " break;\n"
536 #| " printf(\"%s (%jd):\", grpp-E<gt>gr_name, (intmax_t) grpp-E<gt>gr_gid);\n"
537 #| " for (size_t j = 0; ; j++) {\n"
538 #| " if (grpp-E<gt>gr_mem[j] == NULL)\n"
539 #| " break;\n"
540 #| " printf(\" %s\", grpp-E<gt>gr_mem[j]);\n"
541 #| " }\n"
542 #| " printf(\"\\[rs]n\");\n"
543 #| " }\n"
544 #| " endgrent();\n"
545 #| " exit(EXIT_SUCCESS);\n"
546 #| "}\n"
547 msgid ""
548 "#define _GNU_SOURCE\n"
549 "#include E<lt>grp.hE<gt>\n"
550 "#include E<lt>stdint.hE<gt>\n"
551 "#include E<lt>stdio.hE<gt>\n"
552 "#include E<lt>stdlib.hE<gt>\n"
553 "#define BUFLEN 4096\n"
554 "\\&\n"
555 "int\n"
556 "main(void)\n"
557 "{\n"
558 " struct group grp;\n"
559 " struct group *grpp;\n"
560 " char buf[BUFLEN];\n"
561 " int i;\n"
562 "\\&\n"
563 " setgrent();\n"
564 " for (;;) {\n"
565 " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n"
566 " if (i)\n"
567 " break;\n"
568 " printf(\"%s (%jd):\", grpp-E<gt>gr_name, (intmax_t) grpp-E<gt>gr_gid);\n"
569 " for (size_t j = 0; ; j++) {\n"
570 " if (grpp-E<gt>gr_mem[j] == NULL)\n"
571 " break;\n"
572 " printf(\" %s\", grpp-E<gt>gr_mem[j]);\n"
573 " }\n"
574 " printf(\"\\[rs]n\");\n"
575 " }\n"
576 " endgrent();\n"
577 " exit(EXIT_SUCCESS);\n"
578 "}\n"
579 msgstr ""
580 "#define _GNU_SOURCE\n"
581 "#include E<lt>grp.hE<gt>\n"
582 "#include E<lt>stdint.hE<gt>\n"
583 "#include E<lt>stdio.hE<gt>\n"
584 "#include E<lt>stdlib.hE<gt>\n"
585 "#define BUFLEN 4096\n"
586 "\\&\n"
587 "int\n"
588 "main(void)\n"
589 "{\n"
590 " struct group grp;\n"
591 " struct group *grpp;\n"
592 " char buf[BUFLEN];\n"
593 " int i;\n"
594 "\\&\n"
595 " setgrent();\n"
596 " while (1) {\n"
597 " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n"
598 " if (i)\n"
599 " break;\n"
600 " printf(\"%s (%jd):\", grpp-E<gt>gr_name, (intmax_t) grpp-E<gt>gr_gid);\n"
601 " for (size_t j = 0; ; j++) {\n"
602 " if (grpp-E<gt>gr_mem[j] == NULL)\n"
603 " break;\n"
604 " printf(\" %s\", grpp-E<gt>gr_mem[j]);\n"
605 " }\n"
606 " printf(\"\\[rs]n\");\n"
607 " }\n"
608 " endgrent();\n"
609 " exit(EXIT_SUCCESS);\n"
610 "}\n"
611
612 #. perhaps add error checking - should use strerror_r
613 #. #include <errno.h>
614 #. #include <stdlib.h>
615 #. if (i) {
616 #. if (i == ENOENT)
617 #. break;
618 #. printf("getgrent_r: %s", strerror(i));
619 #. exit(EXIT_FAILURE);
620 #. }
621 #. SRC END
622 #. type: SH
623 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
624 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
625 #, no-wrap
626 msgid "SEE ALSO"
627 msgstr "VOIR AUSSI"
628
629 #. type: Plain text
630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
632 msgid ""
633 "B<fgetgrent>(3), B<getgrent>(3), B<getgrgid>(3), B<getgrnam>(3), "
634 "B<putgrent>(3), B<group>(5)"
635 msgstr ""
636 "B<fgetgrent>(3), B<getgrent>(3), B<getgrgid>(3), B<getgrnam>(3), "
637 "B<putgrent>(3), B<group>(5)"
638
639 #. type: TH
640 #: debian-trixie
641 #, no-wrap
642 msgid "2024-06-15"
643 msgstr "15 juin 2024"
644
645 #. type: TH
646 #: debian-trixie
647 #, no-wrap
648 msgid "Linux man-pages 6.9.1"
649 msgstr "Pages du manuel de Linux 6.9.1"
650
651 #. type: Plain text
652 #: debian-trixie
653 msgid "Standard C library (I<libc>, I<-lc>)"
654 msgstr "Bibliothèque C standard (I<libc>, I<-lc>)"
655
656 #. type: Plain text
657 #: debian-trixie
658 #, no-wrap
659 msgid ""
660 "B<int getgrent_r(struct group *restrict >I<gbuf>B<,>\n"
661 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
662 "B< struct group **restrict >I<gbufp>B<);>\n"
663 "B<int fgetgrent_r(FILE *restrict >I<stream>B<, struct group *restrict >I<gbuf>B<,>\n"
664 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
665 "B< struct group **restrict >I<gbufp>B<);>\n"
666 msgstr ""
667 "B<int getgrent_r(struct group *restrict >I<tampon_groupe>B<,>\n"
668 "B< char >I<tampon>B<[restrict .>I<taille_tampon>B<], size_t >I<taille_tampon>B<,>\n"
669 "B< struct group **restrict >I<pointeur_tampon_groupe>B<);>\n"
670 "B<int fgetgrent_r(FILE *restrict >I<flux>B<, struct group *restrict >I<tampon_groupe>B<,>\n"
671 "B< char >I<tampon>B<[restrict .>I<taille_tampon>B<], size_t >I<taille_tampon>B<,>\n"
672 "B< struct group **restrict >I<pointeur_tampon_groupe>B<);>\n"
673
674 #. type: Plain text
675 #: debian-trixie
676 msgid ""
677 "The nonreentrant functions return a pointer to static storage, where this "
678 "static storage contains further pointers to group name, password, and "
679 "members. The reentrant functions described here return all of that in "
680 "caller-provided buffers. First of all there is the buffer I<gbuf> that can "
681 "hold a I<struct group>. And next the buffer I<buf> of size I<buflen> that "
682 "can hold additional strings. The result of these functions, the I<struct "
683 "group> read from the stream, is stored in the provided buffer I<*gbuf>, and "
684 "a pointer to this I<struct group> is returned in I<*gbufp>."
685 msgstr ""
686 "Les fonctions non réentrantes renvoient un pointeur sur une zone statique, "
687 "zone qui contient d'autres pointeurs vers le nom, le mot de passe et les "
688 "membres du groupe. Les fonctions réentrantes décrites ici renvoient tout "
689 "cela dans des tampons fournis par l'appelant. Il y a tout d'abord le tampon "
690 "I<tampon_groupe> qui peut contenir une structure I<group>, puis le tampon "
691 "I<tampon> de taille I<taille_tampon> qui peut contenir des chaînes "
692 "supplémentaires. Le résultat de ces fonctions, la structure I<group> lue "
693 "dans le flux, est enregistré dans le tampon I<*tampon_groupe> fourni, et un "
694 "pointeur vers cette structure I<group> est renvoyé dans "
695 "I<*pointeur_tampon_groupe>."
696
697 #. type: Plain text
698 #: debian-trixie fedora-44 fedora-rawhide
699 msgid ""
700 "On success, these functions return 0 and I<*gbufp> is a pointer to the "
701 "I<struct group>. On error, these functions return an error value and "
702 "I<*gbufp> is NULL."
703 msgstr ""
704 "Si elles réussissent, ces fonctions renvoient B<0> et "
705 "I<*pointeur_tampon_groupe> est un pointeur vers la structure I<group>. Si "
706 "elles échouent, ces fonctions renvoient une valeur d'erreur et "
707 "I<*pointeur_tampon_groupe> est NULL."
708
709 #. type: Plain text
710 #: debian-trixie
711 #, no-wrap
712 msgid ""
713 "struct group *getgrent_r(struct group *grp, char *buf,\n"
714 " int buflen);\n"
715 msgstr ""
716 "struct group *getgrent_r(struct group *grp, char *tampon,\n"
717 " int taille_tampon);\n"
718
719 #. type: Plain text
720 #: debian-trixie
721 #, no-wrap
722 msgid ""
723 "int getgrent_r(struct group *grp, char *buf, int buflen,\n"
724 " FILE **gr_fp);\n"
725 msgstr ""
726 "int getgrent_r(struct group *grp, char *tampon, int taille_tampon,\n"
727 " FILE **gr_fp);\n"
728
729 #. type: Plain text
730 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
731 #, no-wrap
732 msgid ""
733 "#define _GNU_SOURCE\n"
734 "#include E<lt>grp.hE<gt>\n"
735 "#include E<lt>stdint.hE<gt>\n"
736 "#include E<lt>stdio.hE<gt>\n"
737 "#include E<lt>stdlib.hE<gt>\n"
738 "#define BUFLEN 4096\n"
739 "\\&\n"
740 "int\n"
741 "main(void)\n"
742 "{\n"
743 " struct group grp;\n"
744 " struct group *grpp;\n"
745 " char buf[BUFLEN];\n"
746 " int i;\n"
747 "\\&\n"
748 " setgrent();\n"
749 " while (1) {\n"
750 " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n"
751 " if (i)\n"
752 " break;\n"
753 " printf(\"%s (%jd):\", grpp-E<gt>gr_name, (intmax_t) grpp-E<gt>gr_gid);\n"
754 " for (size_t j = 0; ; j++) {\n"
755 " if (grpp-E<gt>gr_mem[j] == NULL)\n"
756 " break;\n"
757 " printf(\" %s\", grpp-E<gt>gr_mem[j]);\n"
758 " }\n"
759 " printf(\"\\[rs]n\");\n"
760 " }\n"
761 " endgrent();\n"
762 " exit(EXIT_SUCCESS);\n"
763 "}\n"
764 msgstr ""
765 "#define _GNU_SOURCE\n"
766 "#include E<lt>grp.hE<gt>\n"
767 "#include E<lt>stdint.hE<gt>\n"
768 "#include E<lt>stdio.hE<gt>\n"
769 "#include E<lt>stdlib.hE<gt>\n"
770 "#define BUFLEN 4096\n"
771 "\\&\n"
772 "int\n"
773 "main(void)\n"
774 "{\n"
775 " struct group grp;\n"
776 " struct group *grpp;\n"
777 " char buf[BUFLEN];\n"
778 " int i;\n"
779 "\\&\n"
780 " setgrent();\n"
781 " while (1) {\n"
782 " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n"
783 " if (i)\n"
784 " break;\n"
785 " printf(\"%s (%jd):\", grpp-E<gt>gr_name, (intmax_t) grpp-E<gt>gr_gid);\n"
786 " for (size_t j = 0; ; j++) {\n"
787 " if (grpp-E<gt>gr_mem[j] == NULL)\n"
788 " break;\n"
789 " printf(\" %s\", grpp-E<gt>gr_mem[j]);\n"
790 " }\n"
791 " printf(\"\\[rs]n\");\n"
792 " }\n"
793 " endgrent();\n"
794 " exit(EXIT_SUCCESS);\n"
795 "}\n"
796
797 #. type: TH
798 #: fedora-44 fedora-rawhide
799 #, no-wrap
800 msgid "2024-12-24"
801 msgstr "24 décembre 2024"
802
803 #. type: TH
804 #: fedora-44 fedora-rawhide
805 #, no-wrap
806 msgid "Linux man-pages 6.13"
807 msgstr "Pages du manuel de Linux 6.13"
808
809 #. type: Plain text
810 #: fedora-44 fedora-rawhide
811 #, no-wrap
812 msgid ""
813 "B<int getgrent_r(struct group *restrict >I<gbuf>B<,>\n"
814 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
815 "B< struct group **restrict >I<gbufp>B<);>\n"
816 "B<int fgetgrent_r(FILE *restrict >I<stream>B<, struct group *restrict >I<gbuf>B<,>\n"
817 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
818 "B< struct group **restrict >I<gbufp>B<);>\n"
819 msgstr ""
820 "B<int getgrent_r(struct group *restrict >I<tampon_groupe>B<,>\n"
821 "B< char >I<tampon>B<[restrict .>I<taille>B<], size_t >I<taille>B<,>\n"
822 "B< struct group **restrict >I<pointeur_tampon_groupe>B<);>\n"
823 "B<int fgetgrent_r(FILE *restrict >I<flux>B<, struct group *restrict >I<tampon_groupe>B<,>\n"
824 "B< char >I<tampon>B<[restrict .>I<taille>B<], size_t >I<taille>B<,>\n"
825 "B< struct group **restrict >I<pointeur_tampon_groupe>B<);>\n"
826
827 #. type: Plain text
828 #: fedora-44 fedora-rawhide
829 msgid ""
830 "The nonreentrant functions return a pointer to static storage, where this "
831 "static storage contains further pointers to group name, password, and "
832 "members. The reentrant functions described here return all of that in "
833 "caller-provided buffers. First of all there is the buffer I<gbuf> that can "
834 "hold a I<struct group>. And next the buffer I<buf> of size I<size> that can "
835 "hold additional strings. The result of these functions, the I<struct group> "
836 "read from the stream, is stored in the provided buffer I<*gbuf>, and a "
837 "pointer to this I<struct group> is returned in I<*gbufp>."
838 msgstr ""
839 "Les fonctions non réentrantes renvoient un pointeur sur une zone statique, "
840 "zone qui contient d'autres pointeurs vers le nom, le mot de passe et les "
841 "membres du groupe. Les fonctions réentrantes décrites ici renvoient tout "
842 "cela dans des tampons fournis par l'appelant. Il y a tout d'abord le tampon "
843 "I<tampon_groupe> qui peut contenir une structure I<group>, puis le tampon "
844 "I<tampon> de taille I<taille> qui peut contenir des chaînes supplémentaires. "
845 "Le résultat de ces fonctions, la structure I<group> lue dans le flux, est "
846 "enregistré dans le tampon I<*tampon_groupe> fourni, et un pointeur vers "
847 "cette structure I<group> est renvoyé dans I<*pointeur_tampon_groupe>."
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)"