Debian Codegraph @

po/ro/man2/getgroups.2.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2024, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.21.0\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2025-11-04 19:31+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.6\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "getgroups"
25 msgstr "getgroups"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 februarie 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NUME"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "getgroups, setgroups - get/set list of supplementary group IDs"
51 msgstr ""
52 "getgroups, setgroups - obține/stabilește o listă de ID-uri de grupuri "
53 "suplimentare"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTECA"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SINOPSIS"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
84 #: opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable >I<size>B<]);>\n"
87 msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable >I<size>B<]);>\n"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "B<#include E<lt>grp.hE<gt>>\n"
94 msgstr "B<#include E<lt>grp.hE<gt>>\n"
95
96 #. type: Plain text
97 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
98 #: opensuse-tumbleweed
99 #, no-wrap
100 msgid "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[>I<size>B<]);>\n"
101 msgstr "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[>I<size>B<]);>\n"
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
108 msgstr ""
109 "Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc "
110 "(consultați B<feature_test_macros>(7)):"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid "B<setgroups>():"
116 msgstr "B<setgroups>():"
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, no-wrap
122 msgid ""
123 " Since glibc 2.19:\n"
124 " _DEFAULT_SOURCE\n"
125 " glibc 2.19 and earlier:\n"
126 " _BSD_SOURCE\n"
127 msgstr ""
128 " Începând cu glibc 2.19:\n"
129 " _DEFAULT_SOURCE\n"
130 " glibc 2.19 și versiunile anterioare:\n"
131 " _BSD_SOURCE\n"
132
133 #. type: SH
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 #, no-wrap
137 msgid "DESCRIPTION"
138 msgstr "DESCRIERE"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "B<getgroups>() returns the supplementary group IDs of the calling process "
145 "in I<list>. The argument I<size> should be set to the maximum number of "
146 "items that can be stored in the buffer pointed to by I<list>. If the "
147 "calling process is a member of more than I<size> supplementary groups, then "
148 "an error results."
149 msgstr ""
150 "B<getgroups>() returnează în I<list> ID-urile de grup suplimentare ale "
151 "procesului apelant. Argumentul I<size> trebuie să fie definit la numărul "
152 "maxim de elemente care pot fi stocate în memoria tampon indicată de I<list>. "
153 "În cazul în care procesul de apelare este membru a mai mult de I<size> "
154 "grupuri suplimentare, apare o eroare."
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "It is unspecified whether the effective group ID of the calling process is "
161 "included in the returned list. (Thus, an application should also call "
162 "B<getegid>(2) and add or remove the resulting value.)"
163 msgstr ""
164 "Nu este specificat dacă ID-ul efectiv al grupului procesului apelant este "
165 "inclus în lista returnată; (astfel, o aplicație trebuie să apeleze și "
166 "B<getegid>(2) și să adauge sau să elimine valoarea rezultată)."
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "If I<size> is zero, I<list> is not modified, but the total number of "
173 "supplementary group IDs for the process is returned. This allows the caller "
174 "to determine the size of a dynamically allocated I<list> to be used in a "
175 "further call to B<getgroups>()."
176 msgstr ""
177 "Dacă I<size> este zero, I<list> nu este modificat, dar se returnează numărul "
178 "total de ID-uri de grup suplimentare pentru proces. Acest lucru permite "
179 "apelantului să determine dimensiunea unei liste I<list> alocate dinamic, "
180 "care va fi utilizată într-un apel ulterior la B<getgroups>()."
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "B<setgroups>() sets the supplementary group IDs for the calling process. "
187 "Appropriate privileges are required (see the description of the B<EPERM> "
188 "error, below). The I<size> argument specifies the number of supplementary "
189 "group IDs in the buffer pointed to by I<list>. A process can drop all of "
190 "its supplementary groups with the call:"
191 msgstr ""
192 "B<setgroups>() stabilește ID-urile de grup suplimentare pentru procesul "
193 "apelant. Sunt necesare privilegii corespunzătoare (a se vedea descrierea "
194 "erorii B<EPERM>, mai jos). Argumentul I<size> specifică numărul de ID-uri de "
195 "grup suplimentare din memoria tampon indicată de I<list>. Un proces poate "
196 "renunța la toate grupurile sale suplimentare odată cu apelul:"
197
198 #. type: Plain text
199 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
200 #: opensuse-tumbleweed
201 #, no-wrap
202 msgid "setgroups(0, (gid_t [0]){});\n"
203 msgstr "setgroups(0, (gid_t [0]){});\n"
204
205 #. type: SH
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "RETURN VALUE"
210 msgstr "VALOAREA RETURNATĂ"
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid ""
216 "On success, B<getgroups>() returns the number of supplementary group IDs. "
217 "On error, -1 is returned, and I<errno> is set to indicate the error."
218 msgstr ""
219 "În caz de succes, B<getgroups>() returnează numărul de ID-uri de grup "
220 "suplimentare. În caz de eroare, se returnează -1, iar I<errno> este "
221 "configurată pentru a indica eroarea."
222
223 #. type: Plain text
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 msgid ""
227 "On success, B<setgroups>() returns 0. On error, -1 is returned, and "
228 "I<errno> is set to indicate the error."
229 msgstr ""
230 "În caz de succes, B<setgroups>() returnează 0. În caz de eroare, se "
231 "returnează -1, iar I<errno> este configurată pentru a indica eroarea."
232
233 #. type: SH
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "ERRORS"
238 msgstr "ERORI-IEȘIRE"
239
240 #. type: TP
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "B<EFAULT>"
245 msgstr "B<EFAULT>"
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid "I<list> has an invalid address."
251 msgstr "I<list> are o adresă nevalidă."
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid "B<getgroups>() can additionally fail with the following error:"
257 msgstr "B<getgroups>() poate eșua în plus cu următoarea eroare:"
258
259 #. type: TP
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "B<EINVAL>"
264 msgstr "B<EINVAL>"
265
266 #. type: Plain text
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 msgid ""
270 "I<size> is less than the number of supplementary group IDs, but is not zero."
271 msgstr ""
272 "I<size> este mai mic decât numărul de ID-uri de grup suplimentare, dar nu "
273 "este zero."
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid "B<setgroups>() can additionally fail with the following errors:"
279 msgstr "B<setgroups>() poate eșua în plus cu următoarele erori:"
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid ""
285 "I<size> is greater than B<NGROUPS_MAX> (32 before Linux 2.6.4; 65536 since "
286 "Linux 2.6.4)."
287 msgstr ""
288 "I<size> este mai mare decât B<NGROUPS_MAX> (32 înainte de Linux 2.6.4; 65536 "
289 "începând cu Linux 2.6.4)."
290
291 #. type: TP
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "B<ENOMEM>"
296 msgstr "B<ENOMEM>"
297
298 #. type: Plain text
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 msgid "Out of memory."
302 msgstr "Memorie insuficientă."
303
304 #. type: TP
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "B<EPERM>"
309 msgstr "B<EPERM>"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "The calling process has insufficient privilege (the caller does not have the "
316 "B<CAP_SETGID> capability in the user namespace in which it resides)."
317 msgstr ""
318 "Procesul apelant are privilegii insuficiente (apelantul nu are capacitatea "
319 "B<CAP_SETGID> în spațiul de nume al utilizatorului în care se află)."
320
321 #. type: TP
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "B<EPERM> (since Linux 3.19)"
326 msgstr "B<EPERM> (începând cu Linux 3.19)"
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "The use of B<setgroups>() is denied in this user namespace. See the "
333 "description of I</proc/>pidI</setgroups> in B<user_namespaces>(7)."
334 msgstr ""
335 "Utilizarea B<setgroups>() este interzisă în acest spațiu de nume de "
336 "utilizator. A se vedea descrierea I</proc/>pidI</setgroups> în "
337 "B<user_namespaces>(7)."
338
339 #. type: SH
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "VERSIONS"
344 msgstr "VERSIUNI"
345
346 #. type: SS
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "C library/kernel differences"
351 msgstr "Diferențe între biblioteca C și nucleu"
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 ""
357 "At the kernel level, user IDs and group IDs are a per-thread attribute. "
358 "However, POSIX requires that all threads in a process share the same "
359 "credentials. The NPTL threading implementation handles the POSIX "
360 "requirements by providing wrapper functions for the various system calls "
361 "that change process UIDs and GIDs. These wrapper functions (including the "
362 "one for B<setgroups>()) employ a signal-based technique to ensure that when "
363 "one thread changes credentials, all of the other threads in the process also "
364 "change their credentials. For details, see B<nptl>(7)."
365 msgstr ""
366 "La nivelul nucleului, ID-urile de utilizator și ID-urile de grup sunt un "
367 "atribut pentru fiecare fir de execuție. Cu toate acestea, POSIX impune ca "
368 "toate firele dintr-un proces să aibă aceleași credențiale. Implementarea "
369 "„NPTL threading” se ocupă de cerințele POSIX prin furnizarea de funcții de "
370 "învăluire pentru diferitele apeluri de sistem care modifică UID și GID ale "
371 "proceselor. Aceste funcții învăluitoare (inclusiv cea pentru B<setgroups>()) "
372 "utilizează o tehnică bazată pe semnale pentru a se asigura că, atunci când "
373 "un fir de execuție își schimbă acreditările, toate celelalte fire de "
374 "execuție din proces își schimbă și ele acreditările. Pentru detalii, a se "
375 "vedea B<nptl>(7)."
376
377 #. type: SH
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "STANDARDS"
382 msgstr "STANDARDE"
383
384 #. type: TP
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 #, no-wrap
388 msgid "B<getgroups>()"
389 msgstr "B<getgroups>()"
390
391 #. type: Plain text
392 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
393 #: opensuse-tumbleweed
394 msgid "POSIX.1-2024."
395 msgstr "POSIX.1-2024."
396
397 #. type: TP
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "B<setgroups>()"
402 msgstr "B<setgroups>()"
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid "None."
408 msgstr "Niciunul."
409
410 #. type: SH
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "HISTORY"
415 msgstr "ISTORIC"
416
417 #. type: Plain text
418 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
419 #: opensuse-tumbleweed
420 msgid "4.3BSD, SVr4, POSIX.1-1988."
421 msgstr "4.3BSD, SVr4, POSIX.1-1988."
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 "SVr4, 4.3BSD. Since B<setgroups>() requires privilege, it is not covered "
428 "by POSIX.1."
429 msgstr ""
430 "SVr4, 4.3BSD. Deoarece B<setgroups>() necesită privilegii, nu este acoperit "
431 "de POSIX.1."
432
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid ""
437 "The original Linux B<getgroups>() system call supported only 16-bit group "
438 "IDs. Subsequently, Linux 2.4 added B<getgroups32>(), supporting 32-bit "
439 "IDs. The glibc B<getgroups>() wrapper function transparently deals with "
440 "the variation across kernel versions."
441 msgstr ""
442 "Apelul de sistem original Linux B<getgroups>() accepta numai ID-uri de grup "
443 "pe 16 biți. Ulterior, Linux 2.4 a adăugat B<getgroups32>(), care acceptă ID-"
444 "uri pe 32 de biți. Funcția învăluitoare glibc B<getgroups>() tratează în mod "
445 "transparent variația dintre versiunile de kernel."
446
447 #. type: SH
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid "NOTES"
452 msgstr "NOTE"
453
454 #. type: Plain text
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 msgid ""
458 "A process can have up to B<NGROUPS_MAX> supplementary group IDs in addition "
459 "to the effective group ID. The constant B<NGROUPS_MAX> is defined in "
460 "I<E<lt>limits.hE<gt>>. The set of supplementary group IDs is inherited from "
461 "the parent process, and preserved across an B<execve>(2)."
462 msgstr ""
463 "Un proces poate avea până la B<NGROUPS_MAX> ID-uri de grup suplimentare în "
464 "plus față de ID-ul de grup efectiv. Constanta B<NGROUPS_MAX> este definită "
465 "în I<E<lt>limits.hE<gt>>. Setul de ID-uri de grup suplimentare este "
466 "moștenit de la procesul părinte și este păstrat prin intermediul unui "
467 "B<execve>(2)."
468
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 msgid ""
473 "The maximum number of supplementary group IDs can be found at run time using "
474 "B<sysconf>(3):"
475 msgstr ""
476 "Numărul maxim de ID-uri de grup suplimentare poate fi aflat în timpul "
477 "execuției folosind B<sysconf>(3):"
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 #, no-wrap
483 msgid ""
484 "long ngroups_max;\n"
485 "ngroups_max = sysconf(_SC_NGROUPS_MAX);\n"
486 msgstr ""
487 "long ngroups_max;\n"
488 "ngroups_max = sysconf(_SC_NGROUPS_MAX);\n"
489
490 #. type: Plain text
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 msgid ""
494 "The maximum return value of B<getgroups>() cannot be larger than one more "
495 "than this value. Since Linux 2.6.4, the maximum number of supplementary "
496 "group IDs is also exposed via the Linux-specific read-only file, I</proc/sys/"
497 "kernel/ngroups_max>."
498 msgstr ""
499 "Valoarea maximă de returnare a lui B<getgroups>() nu poate fi mai mare decât "
500 "cu unu față de această valoare. Începând cu Linux 2.6.4, numărul maxim de ID-"
501 "uri de grup suplimentare este, de asemenea, expus prin intermediul "
502 "fișierului de numai citire specific Linux, I</proc/sys/kernel/ngroups_max>."
503
504 #. type: SH
505 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
506 #: opensuse-leap-16-1 opensuse-tumbleweed
507 #, no-wrap
508 msgid "EXAMPLES"
509 msgstr "EXEMPLE"
510
511 #. type: Plain text
512 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
513 #: opensuse-leap-16-1 opensuse-tumbleweed
514 #, no-wrap
515 msgid ""
516 "#include E<lt>err.hE<gt>\n"
517 "#include E<lt>stddef.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 "#include E<lt>sys/types.hE<gt>\n"
522 "#include E<lt>unistd.hE<gt>\n"
523 "\\&\n"
524 "#define MALLOC(n, T) ((T *) reallocarray(NULL, n, sizeof(T)))\n"
525 "\\&\n"
526 "static gid_t *agetgroups(size_t *ngids);\n"
527 "\\&\n"
528 "int\n"
529 "main(void)\n"
530 "{\n"
531 " gid_t *gids;\n"
532 " size_t n;\n"
533 "\\&\n"
534 " gids = agetgroups(&n);\n"
535 " if (gids == NULL)\n"
536 " err(EXIT_FAILURE, \"agetgroups\");\n"
537 "\\&\n"
538 " if (n != 0) {\n"
539 " printf(\"%jd\", (intmax_t) gids[0]);\n"
540 " for (size_t i = 1; i E<lt> n; i++)\n"
541 " printf(\" %jd\", (intmax_t) gids[i]);\n"
542 " }\n"
543 " puts(\"\");\n"
544 "\\&\n"
545 " free(gids);\n"
546 " exit(EXIT_SUCCESS);\n"
547 "}\n"
548 "\\&\n"
549 "static gid_t *\n"
550 "agetgroups(size_t *ngids)\n"
551 "{\n"
552 " int n;\n"
553 " gid_t *gids;\n"
554 "\\&\n"
555 " n = getgroups(0, NULL);\n"
556 " if (n == -1)\n"
557 " return NULL;\n"
558 "\\&\n"
559 " gids = MALLOC(n, gid_t);\n"
560 " if (gids == NULL)\n"
561 " return NULL;\n"
562 "\\&\n"
563 " n = getgroups(n, gids);\n"
564 " if (n == -1) {\n"
565 " free(gids);\n"
566 " return NULL;\n"
567 " }\n"
568 "\\&\n"
569 " *ngids = n;\n"
570 " return gids;\n"
571 "}\n"
572 msgstr ""
573 "#include E<lt>err.hE<gt>\n"
574 "#include E<lt>stddef.hE<gt>\n"
575 "#include E<lt>stdint.hE<gt>\n"
576 "#include E<lt>stdio.hE<gt>\n"
577 "#include E<lt>stdlib.hE<gt>\n"
578 "#include E<lt>sys/types.hE<gt>\n"
579 "#include E<lt>unistd.hE<gt>\n"
580 "\\&\n"
581 "#define MALLOC(n, T) ((T *) reallocarray(NULL, n, sizeof(T)))\n"
582 "\\&\n"
583 "static gid_t *agetgroups(size_t *ngids);\n"
584 "\\&\n"
585 "int\n"
586 "main(void)\n"
587 "{\n"
588 " gid_t *gids;\n"
589 " size_t n;\n"
590 "\\&\n"
591 " gids = agetgroups(&n);\n"
592 " if (gids == NULL)\n"
593 " err(EXIT_FAILURE, \"agetgroups\");\n"
594 "\\&\n"
595 " if (n != 0) {\n"
596 " printf(\"%jd\", (intmax_t) gids[0]);\n"
597 " for (size_t i = 1; i E<lt> n; i++)\n"
598 " printf(\" %jd\", (intmax_t) gids[i]);\n"
599 " }\n"
600 " puts(\"\");\n"
601 "\\&\n"
602 " free(gids);\n"
603 " exit(EXIT_SUCCESS);\n"
604 "}\n"
605 "\\&\n"
606 "static gid_t *\n"
607 "agetgroups(size_t *ngids)\n"
608 "{\n"
609 " int n;\n"
610 " gid_t *gids;\n"
611 "\\&\n"
612 " n = getgroups(0, NULL);\n"
613 " if (n == -1)\n"
614 " return NULL;\n"
615 "\\&\n"
616 " gids = MALLOC(n, gid_t);\n"
617 " if (gids == NULL)\n"
618 " return NULL;\n"
619 "\\&\n"
620 " n = getgroups(n, gids);\n"
621 " if (n == -1) {\n"
622 " free(gids);\n"
623 " return NULL;\n"
624 " }\n"
625 "\\&\n"
626 " *ngids = n;\n"
627 " return gids;\n"
628 "}\n"
629
630 #. #-#-#-#-# archlinux: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
631 #. SRC END
632 #. type: SH
633 #. #-#-#-#-# debian-trixie: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
634 #. type: SH
635 #. #-#-#-#-# debian-unstable: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
636 #. SRC END
637 #. type: SH
638 #. #-#-#-#-# fedora-44: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
639 #. SRC END
640 #. type: SH
641 #. #-#-#-#-# fedora-rawhide: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
642 #. SRC END
643 #. type: SH
644 #. #-#-#-#-# mageia-cauldron: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
645 #. SRC END
646 #. type: SH
647 #. #-#-#-#-# opensuse-leap-16-1: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
648 #. SRC END
649 #. type: SH
650 #. #-#-#-#-# opensuse-tumbleweed: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
651 #. SRC END
652 #. type: SH
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "SEE ALSO"
657 msgstr "CONSULTAȚI ȘI"
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 msgid ""
663 "B<getgid>(2), B<setgid>(2), B<getgrouplist>(3), B<group_member>(3), "
664 "B<initgroups>(3), B<capabilities>(7), B<credentials>(7)"
665 msgstr ""
666 "B<getgid>(2), B<setgid>(2), B<getgrouplist>(3), B<group_member>(3), "
667 "B<initgroups>(3), B<capabilities>(7), B<credentials>(7)"
668
669 #. type: TH
670 #: debian-trixie
671 #, no-wrap
672 msgid "2024-05-02"
673 msgstr "2 mai 2024"
674
675 #. type: TH
676 #: debian-trixie
677 #, no-wrap
678 msgid "Linux man-pages 6.9.1"
679 msgstr "Pagini de manual de Linux 6.9.1"
680
681 #. type: Plain text
682 #: debian-trixie
683 msgid "Standard C library (I<libc>, I<-lc>)"
684 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
685
686 #. type: Plain text
687 #: debian-trixie
688 #, no-wrap
689 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n"
690 msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n"
691
692 #. type: Plain text
693 #: debian-trixie
694 #, no-wrap
695 msgid "B<int setgroups(size_t >I<size>B<, const gid_t *_Nullable >I<list>B<);>\n"
696 msgstr "B<int setgroups(size_t >I<size>B<, const gid_t *_Nullable >I<list>B<);>\n"
697
698 #. type: Plain text
699 #: debian-trixie fedora-44 fedora-rawhide
700 #, no-wrap
701 msgid "setgroups(0, NULL);\n"
702 msgstr "setgroups(0, NULL);\n"
703
704 #. type: Plain text
705 #: debian-trixie fedora-44 fedora-rawhide
706 msgid "POSIX.1-2008."
707 msgstr "POSIX.1-2008."
708
709 #. type: Plain text
710 #: debian-trixie fedora-44 fedora-rawhide
711 msgid "SVr4, 4.3BSD, POSIX.1-2001."
712 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
713
714 #. type: TH
715 #: fedora-44 fedora-rawhide
716 #, no-wrap
717 msgid "2024-12-14"
718 msgstr "14 decembrie 2024"
719
720 #. type: TH
721 #: fedora-44 fedora-rawhide
722 #, no-wrap
723 msgid "Linux man-pages 6.13"
724 msgstr "Pagini de manual de Linux 6.13"
725
726 #. type: Plain text
727 #: fedora-44 fedora-rawhide
728 #, no-wrap
729 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
730 msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
731
732 #. type: Plain text
733 #: fedora-44 fedora-rawhide
734 #, no-wrap
735 msgid "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
736 msgstr "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
737
738 #. type: TH
739 #: mageia-cauldron
740 #, no-wrap
741 msgid "Linux man-pages 6.17"
742 msgstr "Pagini de manual de Linux 6.17"
743
744 #. type: TH
745 #: opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid "Linux man-pages (unreleased)"
748 msgstr "Pagini de manual Linux (nepublicate)"