Debian Codegraph @

templates/man3/getgrent_r.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "getgrent_r"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-14"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr ""
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr ""
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "getgrent_r, fgetgrent_r - get group file entry reentrantly"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr ""
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr ""
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr ""
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "B<#include E<lt>grp.hE<gt>>\n"
76 msgstr ""
77
78 #. type: Plain text
79 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
80 #: opensuse-tumbleweed
81 #, no-wrap
82 msgid ""
83 "B<int getgrent_r(>size_t size;\n"
84 "B< struct group *restrict >I<gbuf>B<,>\n"
85 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
86 "B< struct group **restrict >I<gbufp>B<);>\n"
87 "B<int fgetgrent_r(>size_t size;\n"
88 "B< FILE *restrict >I<stream>B<, struct group *restrict >I<gbuf>B<,>\n"
89 "B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
90 "B< struct group **restrict >I<gbufp>B<);>\n"
91 msgstr ""
92
93 #. type: Plain text
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 msgid ""
97 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
98 msgstr ""
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid "B<getgrent_r>():"
104 msgstr ""
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid " _GNU_SOURCE\n"
111 msgstr ""
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid "B<fgetgrent_r>():"
117 msgstr ""
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 #, no-wrap
123 msgid ""
124 " Since glibc 2.19:\n"
125 " _DEFAULT_SOURCE\n"
126 " glibc 2.19 and earlier:\n"
127 " _SVID_SOURCE\n"
128 msgstr ""
129
130 #. type: SH
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, no-wrap
134 msgid "DESCRIPTION"
135 msgstr ""
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 msgid ""
141 "The functions B<getgrent_r>() and B<fgetgrent_r>() are the reentrant "
142 "versions of B<getgrent>(3) and B<fgetgrent>(3). The former reads the next "
143 "group entry from the stream initialized by B<setgrent>(3). The latter reads "
144 "the next group entry from I<stream>."
145 msgstr ""
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid "The I<group> structure is defined in I<E<lt>grp.hE<gt>> as follows:"
151 msgstr ""
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, no-wrap
157 msgid ""
158 "struct group {\n"
159 " char *gr_name; /* group name */\n"
160 " char *gr_passwd; /* group password */\n"
161 " gid_t gr_gid; /* group ID */\n"
162 " char **gr_mem; /* NULL-terminated array of pointers\n"
163 " to names of group members */\n"
164 "};\n"
165 msgstr ""
166
167 #. type: Plain text
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 msgid ""
171 "For more information about the fields of this structure, see B<group>(5)."
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
176 #: opensuse-tumbleweed
177 msgid ""
178 "The nonreentrant functions return a pointer to static storage, where this "
179 "static storage contains further pointers to group name, password, and "
180 "members. The reentrant functions described here return all of that in "
181 "caller-provided buffers. First of all there is the buffer I<gbuf> that can "
182 "hold a I<struct\\ group>. And next the buffer I<buf> of size I<size> that "
183 "can hold additional strings. The result of these functions, the I<struct\\ "
184 "group> read from the stream, is stored in the provided buffer I<*gbuf>, and "
185 "a pointer to this I<struct\\ group> is returned in I<*gbufp>."
186 msgstr ""
187
188 #. type: SH
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 #, no-wrap
192 msgid "RETURN VALUE"
193 msgstr ""
194
195 #. type: Plain text
196 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
197 #: opensuse-tumbleweed
198 msgid ""
199 "On success, these functions return 0 and I<*gbufp> is a pointer to the "
200 "I<struct\\ group>. On error, these functions return an error value and "
201 "I<*gbufp> is NULL."
202 msgstr ""
203
204 #. type: SH
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "ERRORS"
209 msgstr ""
210
211 #. type: TP
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "B<ENOENT>"
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid "No more entries."
222 msgstr ""
223
224 #. type: TP
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "B<ERANGE>"
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid "Insufficient buffer space supplied. Try again with larger buffer."
235 msgstr ""
236
237 #. type: SH
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "ATTRIBUTES"
242 msgstr ""
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "For an explanation of the terms used in this section, see B<attributes>(7)."
249 msgstr ""
250
251 #. type: tbl table
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "Interface"
256 msgstr ""
257
258 #. type: tbl table
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "Attribute"
263 msgstr ""
264
265 #. type: tbl table
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "Value"
270 msgstr ""
271
272 #. type: tbl table
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid ".na\n"
277 msgstr ""
278
279 #. type: tbl table
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid ".nh\n"
284 msgstr ""
285
286 #. type: tbl table
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "B<getgrent_r>()"
291 msgstr ""
292
293 #. type: tbl table
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "Thread safety"
298 msgstr ""
299
300 #. type: tbl table
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "MT-Unsafe race:grent locale"
305 msgstr ""
306
307 #. type: tbl table
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "B<fgetgrent_r>()"
312 msgstr ""
313
314 #. type: tbl table
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "MT-Safe"
319 msgstr ""
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid ""
325 "In the above table, I<grent> in I<race:grent> signifies that if any of the "
326 "functions B<setgrent>(3), B<getgrent>(3), B<endgrent>(3), or "
327 "B<getgrent_r>() are used in parallel in different threads of a program, "
328 "then data races could occur."
329 msgstr ""
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 "VERSIONS"
336 msgstr ""
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 "Other systems use the prototype"
342 msgstr ""
343
344 #. type: Plain text
345 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
346 #: opensuse-leap-16-1 opensuse-tumbleweed
347 #, no-wrap
348 msgid ""
349 "struct group *getgrent_r(struct group *grp, char buf[.size],\n"
350 " int size);\n"
351 msgstr ""
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid "or, better,"
357 msgstr ""
358
359 #. type: Plain text
360 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
361 #: opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid ""
364 "int getgrent_r(struct group *grp, char buf[.size], int size,\n"
365 " FILE **gr_fp);\n"
366 msgstr ""
367
368 #. type: SH
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "STANDARDS"
373 msgstr ""
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid "GNU."
379 msgstr ""
380
381 #. type: SH
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, no-wrap
385 msgid "HISTORY"
386 msgstr ""
387
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 msgid ""
392 "These functions are done in a style resembling the POSIX version of "
393 "functions like B<getpwnam_r>(3)."
394 msgstr ""
395
396 #. type: SH
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "NOTES"
401 msgstr ""
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 "The function B<getgrent_r>() is not really reentrant since it shares the "
408 "reading position in the stream with all other threads."
409 msgstr ""
410
411 #. type: SH
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 #, no-wrap
415 msgid "EXAMPLES"
416 msgstr ""
417
418 #. type: Plain text
419 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
420 #, no-wrap
421 msgid ""
422 "#define _GNU_SOURCE\n"
423 "#include E<lt>grp.hE<gt>\n"
424 "#include E<lt>stdint.hE<gt>\n"
425 "#include E<lt>stdio.hE<gt>\n"
426 "#include E<lt>stdlib.hE<gt>\n"
427 "#define BUFLEN 4096\n"
428 "\\&\n"
429 "int\n"
430 "main(void)\n"
431 "{\n"
432 " struct group grp;\n"
433 " struct group *grpp;\n"
434 " char buf[BUFLEN];\n"
435 " int i;\n"
436 "\\&\n"
437 " setgrent();\n"
438 " for (;;) {\n"
439 " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n"
440 " if (i)\n"
441 " break;\n"
442 " printf(\"%s (%jd):\", grpp-E<gt>gr_name, (intmax_t) grpp-E<gt>gr_gid);\n"
443 " for (size_t j = 0; ; j++) {\n"
444 " if (grpp-E<gt>gr_mem[j] == NULL)\n"
445 " break;\n"
446 " printf(\" %s\", grpp-E<gt>gr_mem[j]);\n"
447 " }\n"
448 " printf(\"\\[rs]n\");\n"
449 " }\n"
450 " endgrent();\n"
451 " exit(EXIT_SUCCESS);\n"
452 "}\n"
453 msgstr ""
454
455 #. perhaps add error checking - should use strerror_r
456 #. #include <errno.h>
457 #. #include <stdlib.h>
458 #. if (i) {
459 #. if (i == ENOENT)
460 #. break;
461 #. printf("getgrent_r: %s", strerror(i));
462 #. exit(EXIT_FAILURE);
463 #. }
464 #. SRC END
465 #. type: SH
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid "SEE ALSO"
470 msgstr ""
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 msgid ""
476 "B<fgetgrent>(3), B<getgrent>(3), B<getgrgid>(3), B<getgrnam>(3), "
477 "B<putgrent>(3), B<group>(5)"
478 msgstr ""
479
480 #. type: TH
481 #: debian-trixie
482 #, no-wrap
483 msgid "2024-06-15"
484 msgstr ""
485
486 #. type: TH
487 #: debian-trixie
488 #, no-wrap
489 msgid "Linux man-pages 6.9.1"
490 msgstr ""
491
492 #. type: Plain text
493 #: debian-trixie
494 msgid "Standard C library (I<libc>, I<-lc>)"
495 msgstr ""
496
497 #. type: Plain text
498 #: debian-trixie
499 #, no-wrap
500 msgid ""
501 "B<int getgrent_r(struct group *restrict >I<gbuf>B<,>\n"
502 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
503 "B< struct group **restrict >I<gbufp>B<);>\n"
504 "B<int fgetgrent_r(FILE *restrict >I<stream>B<, struct group *restrict >I<gbuf>B<,>\n"
505 "B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n"
506 "B< struct group **restrict >I<gbufp>B<);>\n"
507 msgstr ""
508
509 #. type: Plain text
510 #: debian-trixie
511 msgid ""
512 "The nonreentrant functions return a pointer to static storage, where this "
513 "static storage contains further pointers to group name, password, and "
514 "members. The reentrant functions described here return all of that in "
515 "caller-provided buffers. First of all there is the buffer I<gbuf> that can "
516 "hold a I<struct group>. And next the buffer I<buf> of size I<buflen> that "
517 "can hold additional strings. The result of these functions, the I<struct "
518 "group> read from the stream, is stored in the provided buffer I<*gbuf>, and "
519 "a pointer to this I<struct group> is returned in I<*gbufp>."
520 msgstr ""
521
522 #. type: Plain text
523 #: debian-trixie fedora-44 fedora-rawhide
524 msgid ""
525 "On success, these functions return 0 and I<*gbufp> is a pointer to the "
526 "I<struct group>. On error, these functions return an error value and "
527 "I<*gbufp> is NULL."
528 msgstr ""
529
530 #. type: Plain text
531 #: debian-trixie
532 #, no-wrap
533 msgid ""
534 "struct group *getgrent_r(struct group *grp, char *buf,\n"
535 " int buflen);\n"
536 msgstr ""
537
538 #. type: Plain text
539 #: debian-trixie
540 #, no-wrap
541 msgid ""
542 "int getgrent_r(struct group *grp, char *buf, int buflen,\n"
543 " FILE **gr_fp);\n"
544 msgstr ""
545
546 #. type: Plain text
547 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
548 #, no-wrap
549 msgid ""
550 "#define _GNU_SOURCE\n"
551 "#include E<lt>grp.hE<gt>\n"
552 "#include E<lt>stdint.hE<gt>\n"
553 "#include E<lt>stdio.hE<gt>\n"
554 "#include E<lt>stdlib.hE<gt>\n"
555 "#define BUFLEN 4096\n"
556 "\\&\n"
557 "int\n"
558 "main(void)\n"
559 "{\n"
560 " struct group grp;\n"
561 " struct group *grpp;\n"
562 " char buf[BUFLEN];\n"
563 " int i;\n"
564 "\\&\n"
565 " setgrent();\n"
566 " while (1) {\n"
567 " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n"
568 " if (i)\n"
569 " break;\n"
570 " printf(\"%s (%jd):\", grpp-E<gt>gr_name, (intmax_t) grpp-E<gt>gr_gid);\n"
571 " for (size_t j = 0; ; j++) {\n"
572 " if (grpp-E<gt>gr_mem[j] == NULL)\n"
573 " break;\n"
574 " printf(\" %s\", grpp-E<gt>gr_mem[j]);\n"
575 " }\n"
576 " printf(\"\\[rs]n\");\n"
577 " }\n"
578 " endgrent();\n"
579 " exit(EXIT_SUCCESS);\n"
580 "}\n"
581 msgstr ""
582
583 #. type: TH
584 #: fedora-44 fedora-rawhide
585 #, no-wrap
586 msgid "2024-12-24"
587 msgstr ""
588
589 #. type: TH
590 #: fedora-44 fedora-rawhide
591 #, no-wrap
592 msgid "Linux man-pages 6.13"
593 msgstr ""
594
595 #. type: Plain text
596 #: fedora-44 fedora-rawhide
597 #, no-wrap
598 msgid ""
599 "B<int getgrent_r(struct group *restrict >I<gbuf>B<,>\n"
600 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
601 "B< struct group **restrict >I<gbufp>B<);>\n"
602 "B<int fgetgrent_r(FILE *restrict >I<stream>B<, struct group *restrict >I<gbuf>B<,>\n"
603 "B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
604 "B< struct group **restrict >I<gbufp>B<);>\n"
605 msgstr ""
606
607 #. type: Plain text
608 #: fedora-44 fedora-rawhide
609 msgid ""
610 "The nonreentrant functions return a pointer to static storage, where this "
611 "static storage contains further pointers to group name, password, and "
612 "members. The reentrant functions described here return all of that in "
613 "caller-provided buffers. First of all there is the buffer I<gbuf> that can "
614 "hold a I<struct group>. And next the buffer I<buf> of size I<size> that can "
615 "hold additional strings. The result of these functions, the I<struct group> "
616 "read from the stream, is stored in the provided buffer I<*gbuf>, and a "
617 "pointer to this I<struct group> is returned in I<*gbufp>."
618 msgstr ""
619
620 #. type: TH
621 #: mageia-cauldron
622 #, no-wrap
623 msgid "2026-02-08"
624 msgstr ""
625
626 #. type: TH
627 #: mageia-cauldron
628 #, no-wrap
629 msgid "Linux man-pages 6.17"
630 msgstr ""
631
632 #. type: TH
633 #: opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "Linux man-pages (unreleased)"
636 msgstr ""