Debian Codegraph @

po/es/man2/getgroups.2.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Miguel Angel Sepulveda <[email protected]>, 1996.
5 # Gerardo Aburruzaga García <[email protected]>, 1998.
6 # Juan Piernas <[email protected]>, 1998.
7 # Miguel Pérez Ibars <[email protected]>, 2004.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
12 "PO-Revision-Date: 2004-11-11 19:53+0200\n"
13 "Last-Translator: Miguel Pérez Ibars <[email protected]>\n"
14 "Language-Team: Spanish <[email protected]>\n"
15 "Language: es\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20 "X-Generator: Lokalize 20.04.1\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, fuzzy, no-wrap
26 #| msgid "setgroups(0, NULL);\n"
27 msgid "getgroups"
28 msgstr "setgroups(0, NULL);\n"
29
30 #. type: TH
31 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
32 #: opensuse-tumbleweed
33 #, no-wrap
34 msgid "2026-02-08"
35 msgstr "8 Febrero 2026"
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, fuzzy, no-wrap
40 #| msgid "Linux man-pages 6.17"
41 msgid "Linux man-pages 6.18"
42 msgstr "Páginas de Manual de Linux 6.17"
43
44 #. type: SH
45 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
46 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
47 #, no-wrap
48 msgid "NAME"
49 msgstr "NOMBRE"
50
51 #. type: Plain text
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 msgid "getgroups, setgroups - get/set list of supplementary group IDs"
55 msgstr ""
56 "getgroups, setgroups - obtiene/asigna la lista de IDs de grupo suplementarios"
57
58 #. type: SH
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, no-wrap
62 msgid "LIBRARY"
63 msgstr "BIBLIOTECA"
64
65 #. type: Plain text
66 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
67 #: opensuse-leap-16-1 opensuse-tumbleweed
68 msgid "Standard C library (I<libc>,\\ I<-lc>)"
69 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "SYNOPSIS"
76 msgstr "SINOPSIS"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "B<#include E<lt>unistd.hE<gt>>\n"
83 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
84
85 #. type: Plain text
86 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
87 #: opensuse-tumbleweed
88 #, fuzzy, no-wrap
89 #| msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>"
90 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable >I<size>B<]);>\n"
91 msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>"
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 #, no-wrap
97 msgid "B<#include E<lt>grp.hE<gt>>\n"
98 msgstr "B<#include E<lt>grp.hE<gt>>\n"
99
100 #. type: Plain text
101 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
102 #: opensuse-tumbleweed
103 #, fuzzy, no-wrap
104 #| msgid "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>"
105 msgid "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[>I<size>B<]);>\n"
106 msgstr "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>"
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid ""
112 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
113 msgstr ""
114 "Requisitos de Macros de Prueba de Características para glibc (véase "
115 "B<feature_test_macros>(7)):"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, fuzzy
121 #| msgid "setgroups(0, NULL);\n"
122 msgid "B<setgroups>():"
123 msgstr "setgroups(0, NULL);\n"
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid ""
130 " Since glibc 2.19:\n"
131 " _DEFAULT_SOURCE\n"
132 " glibc 2.19 and earlier:\n"
133 " _BSD_SOURCE\n"
134 msgstr ""
135 " A partir de glibc 2.19:\n"
136 " _DEFAULT_SOURCE\n"
137 " glibc 2.19 y anteriores:\n"
138 " _BSD_SOURCE\n"
139
140 #. type: SH
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid "DESCRIPTION"
145 msgstr "DESCRIPCIÓN"
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 ""
151 "B<getgroups>() returns the supplementary group IDs of the calling process "
152 "in I<list>. The argument I<size> should be set to the maximum number of "
153 "items that can be stored in the buffer pointed to by I<list>. If the "
154 "calling process is a member of more than I<size> supplementary groups, then "
155 "an error results."
156 msgstr ""
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 msgid ""
162 "It is unspecified whether the effective group ID of the calling process is "
163 "included in the returned list. (Thus, an application should also call "
164 "B<getegid>(2) and add or remove the resulting value.)"
165 msgstr ""
166 "Queda sin especificar si el identificador de grupo efectivo del proceso "
167 "invocador se incluye en la lista devuelta. (Así, una aplicación debería "
168 "llamar también a B<getegid>(2) y añadir o eliminar el valor resultante.)"
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "If I<size> is zero, I<list> is not modified, but the total number of "
175 "supplementary group IDs for the process is returned. This allows the caller "
176 "to determine the size of a dynamically allocated I<list> to be used in a "
177 "further call to B<getgroups>()."
178 msgstr ""
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 "B<setgroups>() sets the supplementary group IDs for the calling process. "
185 "Appropriate privileges are required (see the description of the B<EPERM> "
186 "error, below). The I<size> argument specifies the number of supplementary "
187 "group IDs in the buffer pointed to by I<list>. A process can drop all of "
188 "its supplementary groups with the call:"
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
193 #: opensuse-tumbleweed
194 #, fuzzy, no-wrap
195 #| msgid "setgroups(0, NULL);\n"
196 msgid "setgroups(0, (gid_t [0]){});\n"
197 msgstr "setgroups(0, NULL);\n"
198
199 #. type: SH
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "RETURN VALUE"
204 msgstr "VALOR DEVUELTO"
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, fuzzy
210 #| msgid ""
211 #| "On success, the number of supplementary group IDs is returned. On error, "
212 #| "-1 is returned, and I<errno> is set appropriately."
213 msgid ""
214 "On success, B<getgroups>() returns the number of supplementary group IDs. "
215 "On error, -1 is returned, and I<errno> is set to indicate the error."
216 msgstr ""
217 "En caso de éxito, se devuelve el número de grupos suplementarios. En caso "
218 "de error, se devuelve -1 y se pone en I<errno> un valor apropiado."
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 #, fuzzy
224 #| msgid ""
225 #| "On success, zero is returned. On error, -1 is returned, and I<errno> is "
226 #| "set appropriately."
227 msgid ""
228 "On success, B<setgroups>() returns 0. On error, -1 is returned, and "
229 "I<errno> is set to indicate the error."
230 msgstr ""
231 "En caso de éxito, se devuelve 0. Si hay un error, -1, y se pone en I<errno> "
232 "un valor apropiado."
233
234 #. type: SH
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "ERRORS"
239 msgstr "ERRORES"
240
241 #. type: TP
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "B<EFAULT>"
246 msgstr "B<EFAULT>"
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 msgid "I<list> has an invalid address."
252 msgstr "I<list> tiene una dirección inválida."
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid "B<getgroups>() can additionally fail with the following error:"
258 msgstr ""
259
260 #. type: TP
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "B<EINVAL>"
265 msgstr "B<EINVAL>"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "I<size> is less than the number of supplementary group IDs, but is not zero."
272 msgstr ""
273 "I<size> es menor que el número de IDs de grupos suplementarios, pero no es "
274 "cero."
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid "B<setgroups>() can additionally fail with the following errors:"
280 msgstr ""
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "I<size> is greater than B<NGROUPS_MAX> (32 before Linux 2.6.4; 65536 since "
287 "Linux 2.6.4)."
288 msgstr ""
289
290 #. type: TP
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "B<ENOMEM>"
295 msgstr "B<ENOMEM>"
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid "Out of memory."
301 msgstr "Sin memoria."
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<EPERM>"
308 msgstr "B<EPERM>"
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 ""
314 "The calling process has insufficient privilege (the caller does not have the "
315 "B<CAP_SETGID> capability in the user namespace in which it resides)."
316 msgstr ""
317
318 #. type: TP
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 #, no-wrap
322 msgid "B<EPERM> (since Linux 3.19)"
323 msgstr "B<EPERM> (desde Linux 3.19)"
324
325 #. type: Plain text
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 msgid ""
329 "The use of B<setgroups>() is denied in this user namespace. See the "
330 "description of I</proc/>pidI</setgroups> in B<user_namespaces>(7)."
331 msgstr ""
332
333 #. type: SH
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "VERSIONS"
338 msgstr "VERSIONES"
339
340 #. type: SS
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "C library/kernel differences"
345 msgstr "Diferencias núcleo / biblioteca C"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "At the kernel level, user IDs and group IDs are a per-thread attribute. "
352 "However, POSIX requires that all threads in a process share the same "
353 "credentials. The NPTL threading implementation handles the POSIX "
354 "requirements by providing wrapper functions for the various system calls "
355 "that change process UIDs and GIDs. These wrapper functions (including the "
356 "one for B<setgroups>()) employ a signal-based technique to ensure that when "
357 "one thread changes credentials, all of the other threads in the process also "
358 "change their credentials. For details, see B<nptl>(7)."
359 msgstr ""
360
361 #. type: SH
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "STANDARDS"
366 msgstr "ESTÁNDARES"
367
368 #. type: TP
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, fuzzy, no-wrap
372 #| msgid "setgroups(0, NULL);\n"
373 msgid "B<getgroups>()"
374 msgstr "setgroups(0, NULL);\n"
375
376 #. type: Plain text
377 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
378 #: opensuse-tumbleweed
379 msgid "POSIX.1-2024."
380 msgstr "POSIX.1-2024."
381
382 #. type: TP
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 #, fuzzy, no-wrap
386 #| msgid "setgroups(0, NULL);\n"
387 msgid "B<setgroups>()"
388 msgstr "setgroups(0, NULL);\n"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid "None."
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 "HISTORY"
401 msgstr "HISTORIAL"
402
403 #. type: Plain text
404 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
405 #: opensuse-tumbleweed
406 msgid "4.3BSD, SVr4, POSIX.1-1988."
407 msgstr "4.3BSD, SVr4, POSIX.1-1988."
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 #, fuzzy
413 #| msgid ""
414 #| "B<setgroups>(): SVr4, 4.3BSD. Since B<setgroups>() requires privilege, "
415 #| "it is not covered by POSIX.1."
416 msgid ""
417 "SVr4, 4.3BSD. Since B<setgroups>() requires privilege, it is not covered "
418 "by POSIX.1."
419 msgstr ""
420 "B<setgroups>(): SVr4, 4.3BSD. Puesto que B<setgroups>() requiere "
421 "privilegios, no está cubierta por POSIX.1."
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid ""
427 "The original Linux B<getgroups>() system call supported only 16-bit group "
428 "IDs. Subsequently, Linux 2.4 added B<getgroups32>(), supporting 32-bit "
429 "IDs. The glibc B<getgroups>() wrapper function transparently deals with "
430 "the variation across kernel versions."
431 msgstr ""
432
433 #. type: SH
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "NOTES"
438 msgstr "NOTAS"
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, fuzzy
444 #| msgid ""
445 #| "A process can have up to at least NGROUPS_MAX supplementary group IDs in "
446 #| "addition to the effective group ID. The set of supplementary group IDs is "
447 #| "inherited from the parent process and may be changed using B<setgroups>. "
448 #| "The maximum number of supplementary group IDs can be found using "
449 #| "B<sysconf>(3):"
450 msgid ""
451 "A process can have up to B<NGROUPS_MAX> supplementary group IDs in addition "
452 "to the effective group ID. The constant B<NGROUPS_MAX> is defined in "
453 "I<E<lt>limits.hE<gt>>. The set of supplementary group IDs is inherited from "
454 "the parent process, and preserved across an B<execve>(2)."
455 msgstr ""
456 "Un proceso puede tener como máximo al menos NGROUPS_MAX identificadores de "
457 "grupo suplementarios además del identificador de grupo efectivo (EGID). El "
458 "conjunto de identificadores de grupo suplementarios es heredado del proceso "
459 "padre y puede ser modificado usando B<setgroups>. El número máximo de "
460 "identificadores de grupo suplementarios puede averiguarse usando "
461 "B<sysconf>(3):"
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 msgid ""
467 "The maximum number of supplementary group IDs can be found at run time using "
468 "B<sysconf>(3):"
469 msgstr ""
470
471 #. type: Plain text
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid ""
476 "long ngroups_max;\n"
477 "ngroups_max = sysconf(_SC_NGROUPS_MAX);\n"
478 msgstr ""
479 "long ngroups_max;\n"
480 "ngroups_max = sysconf(_SC_NGROUPS_MAX);\n"
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 msgid ""
486 "The maximum return value of B<getgroups>() cannot be larger than one more "
487 "than this value. Since Linux 2.6.4, the maximum number of supplementary "
488 "group IDs is also exposed via the Linux-specific read-only file, I</proc/sys/"
489 "kernel/ngroups_max>."
490 msgstr ""
491
492 #. type: SH
493 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
494 #: opensuse-leap-16-1 opensuse-tumbleweed
495 #, no-wrap
496 msgid "EXAMPLES"
497 msgstr "EJEMPLOS"
498
499 #. type: Plain text
500 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
501 #: opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid ""
504 "#include E<lt>err.hE<gt>\n"
505 "#include E<lt>stddef.hE<gt>\n"
506 "#include E<lt>stdint.hE<gt>\n"
507 "#include E<lt>stdio.hE<gt>\n"
508 "#include E<lt>stdlib.hE<gt>\n"
509 "#include E<lt>sys/types.hE<gt>\n"
510 "#include E<lt>unistd.hE<gt>\n"
511 "\\&\n"
512 "#define MALLOC(n, T) ((T *) reallocarray(NULL, n, sizeof(T)))\n"
513 "\\&\n"
514 "static gid_t *agetgroups(size_t *ngids);\n"
515 "\\&\n"
516 "int\n"
517 "main(void)\n"
518 "{\n"
519 " gid_t *gids;\n"
520 " size_t n;\n"
521 "\\&\n"
522 " gids = agetgroups(&n);\n"
523 " if (gids == NULL)\n"
524 " err(EXIT_FAILURE, \"agetgroups\");\n"
525 "\\&\n"
526 " if (n != 0) {\n"
527 " printf(\"%jd\", (intmax_t) gids[0]);\n"
528 " for (size_t i = 1; i E<lt> n; i++)\n"
529 " printf(\" %jd\", (intmax_t) gids[i]);\n"
530 " }\n"
531 " puts(\"\");\n"
532 "\\&\n"
533 " free(gids);\n"
534 " exit(EXIT_SUCCESS);\n"
535 "}\n"
536 "\\&\n"
537 "static gid_t *\n"
538 "agetgroups(size_t *ngids)\n"
539 "{\n"
540 " int n;\n"
541 " gid_t *gids;\n"
542 "\\&\n"
543 " n = getgroups(0, NULL);\n"
544 " if (n == -1)\n"
545 " return NULL;\n"
546 "\\&\n"
547 " gids = MALLOC(n, gid_t);\n"
548 " if (gids == NULL)\n"
549 " return NULL;\n"
550 "\\&\n"
551 " n = getgroups(n, gids);\n"
552 " if (n == -1) {\n"
553 " free(gids);\n"
554 " return NULL;\n"
555 " }\n"
556 "\\&\n"
557 " *ngids = n;\n"
558 " return gids;\n"
559 "}\n"
560 msgstr ""
561
562 #. #-#-#-#-# archlinux: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
563 #. SRC END
564 #. type: SH
565 #. #-#-#-#-# debian-trixie: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
566 #. type: SH
567 #. #-#-#-#-# debian-unstable: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
568 #. SRC END
569 #. type: SH
570 #. #-#-#-#-# fedora-44: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
571 #. SRC END
572 #. type: SH
573 #. #-#-#-#-# fedora-rawhide: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
574 #. SRC END
575 #. type: SH
576 #. #-#-#-#-# mageia-cauldron: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
577 #. SRC END
578 #. type: SH
579 #. #-#-#-#-# opensuse-leap-16-1: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
580 #. SRC END
581 #. type: SH
582 #. #-#-#-#-# opensuse-tumbleweed: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
583 #. SRC END
584 #. type: SH
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 #, no-wrap
588 msgid "SEE ALSO"
589 msgstr "VÉASE TAMBIÉN"
590
591 #. type: Plain text
592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
594 msgid ""
595 "B<getgid>(2), B<setgid>(2), B<getgrouplist>(3), B<group_member>(3), "
596 "B<initgroups>(3), B<capabilities>(7), B<credentials>(7)"
597 msgstr ""
598 "B<getgid>(2), B<setgid>(2), B<getgrouplist>(3), B<group_member>(3), "
599 "B<initgroups>(3), B<capabilities>(7), B<credentials>(7)"
600
601 #. type: TH
602 #: debian-trixie
603 #, no-wrap
604 msgid "2024-05-02"
605 msgstr "2 Mayo 2024"
606
607 #. type: TH
608 #: debian-trixie
609 #, no-wrap
610 msgid "Linux man-pages 6.9.1"
611 msgstr "Páginas de Manual de Linux 6.9.1"
612
613 #. type: Plain text
614 #: debian-trixie
615 msgid "Standard C library (I<libc>, I<-lc>)"
616 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
617
618 #. type: Plain text
619 #: debian-trixie
620 #, fuzzy, no-wrap
621 #| msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>"
622 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n"
623 msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>"
624
625 #. type: Plain text
626 #: debian-trixie
627 #, fuzzy, no-wrap
628 #| msgid "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>"
629 msgid "B<int setgroups(size_t >I<size>B<, const gid_t *_Nullable >I<list>B<);>\n"
630 msgstr "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>"
631
632 #. type: Plain text
633 #: debian-trixie fedora-44 fedora-rawhide
634 #, no-wrap
635 msgid "setgroups(0, NULL);\n"
636 msgstr "setgroups(0, NULL);\n"
637
638 #. type: Plain text
639 #: debian-trixie fedora-44 fedora-rawhide
640 msgid "POSIX.1-2008."
641 msgstr "POSIX.1-2008."
642
643 #. type: Plain text
644 #: debian-trixie fedora-44 fedora-rawhide
645 msgid "SVr4, 4.3BSD, POSIX.1-2001."
646 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
647
648 #. type: TH
649 #: fedora-44 fedora-rawhide
650 #, no-wrap
651 msgid "2024-12-14"
652 msgstr "14 Diciembre 2024"
653
654 #. type: TH
655 #: fedora-44 fedora-rawhide
656 #, no-wrap
657 msgid "Linux man-pages 6.13"
658 msgstr "Páginas de Manual de Linux 6.13"
659
660 #. type: Plain text
661 #: fedora-44 fedora-rawhide
662 #, fuzzy, no-wrap
663 #| msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>"
664 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
665 msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>"
666
667 #. type: Plain text
668 #: fedora-44 fedora-rawhide
669 #, fuzzy, no-wrap
670 #| msgid "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>"
671 msgid "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
672 msgstr "B<int setgroups(size_t >I<size>B<, const gid_t *>I<list>B<);>"
673
674 #. type: TH
675 #: mageia-cauldron
676 #, no-wrap
677 msgid "Linux man-pages 6.17"
678 msgstr "Páginas de Manual de Linux 6.17"
679
680 #. type: TH
681 #: opensuse-leap-16-1 opensuse-tumbleweed
682 #, no-wrap
683 msgid "Linux man-pages (unreleased)"
684 msgstr "Páginas de Manual de Linux (no publicadas)"