Debian Codegraph @

po/pl/man2/getgroups.2.po

raw
1 # Polish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Przemek Borys <[email protected]>, 1998.
5 # Andrzej Krzysztofowicz <[email protected]>, 2002.
6 # Michał Kułach <[email protected]>, 2024, 2025.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
11 "PO-Revision-Date: 2025-11-23 21:12+0100\n"
12 "Last-Translator: Michał Kułach <[email protected]>\n"
13 "Language-Team: Polish <[email protected]>\n"
14 "Language: pl\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
19 "|| n%100>=20) ? 1 : 2);\n"
20 "X-Generator: Lokalize 25.04.0\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 #, no-wrap
26 msgid "getgroups"
27 msgstr "getgroups"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8 lutego 2026 r."
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.18"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NAZWA"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "getgroups, setgroups - get/set list of supplementary group IDs"
53 msgstr ""
54 "getgroups, setgroups - pobiera/ustawia listę identyfikatorów grup dodatkowych"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTEKA"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "SKŁADNIA"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>unistd.hE<gt>>\n"
81 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
85 #: opensuse-tumbleweed
86 #, no-wrap
87 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable >I<size>B<]);>\n"
88 msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable >I<size>B<]);>\n"
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid "B<#include E<lt>grp.hE<gt>>\n"
95 msgstr "B<#include E<lt>grp.hE<gt>>\n"
96
97 #. type: Plain text
98 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
99 #: opensuse-tumbleweed
100 #, no-wrap
101 msgid "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[>I<size>B<]);>\n"
102 msgstr "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[>I<size>B<]);>\n"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
109 msgstr ""
110 "Wymagane ustawienia makr biblioteki glibc (patrz 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 " Od glibc 2.19:\n"
129 " _DEFAULT_SOURCE\n"
130 " glibc 2.19 i wcześniejsze:\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 "OPIS"
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>() zwraca w I<list> identyfikatory grup dodatkowych dla "
151 "wywołującego procesu. Argument I<size> powinien być ustawiony na maksymalną "
152 "liczbę elementów, jakie mogą być przechowywane w buforze, na który wskazuje "
153 "I<list>. Jeśli wywołujący proces jest członkiem więcej niż I<size> grup "
154 "dodatkowych, wystąpi błąd."
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 "Nie jest określone, czy efektywny ID grupy procesu wywołującego będzie "
165 "znajdować się na zwróconej liście (zatem aplikacja powinna wywołać również "
166 "B<getegid>(2) i dodać lub usunąć otrzymaną wartość)."
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 "Jeśli I<size> jest równe zero, to I<list> nie jest modyfikowane, lecz "
178 "zwracana jest ogólna liczba dodatkowych grup procesu. Pozwala to "
179 "wywołującemu określić rozmiar dynamicznie przydzielanej I<list>, do użycia w "
180 "kolejnych wywołaniach do B<getgroups>(2)."
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>() ustawia identyfikatory grup dodatkowych procesu wywołującego. "
193 "Konieczne są odpowiednie przywileje (zob. opis błędu B<EPERM> poniżej). "
194 "Argument I<size> określa liczbę identyfikatorów grup dodatkowych w buforze, "
195 "na który wskazuje I<list>. Proces może porzucić wszystkie swoje grupy "
196 "dodatkowe poniższym wywołaniem:"
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 "WARTOŚĆ ZWRACANA"
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 "Po pomyślnym zakończeniu B<getgroups>() zwraca liczbę grup dodatkowych. Po "
220 "błędzie zwracane jest -1 i ustawiane I<errno> wskazując błąd."
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "On success, B<setgroups>() returns 0. On error, -1 is returned, and "
227 "I<errno> is set to indicate the error."
228 msgstr ""
229 "Po pomyślnym zakończeniu B<setgroups>() zwraca zero. Po błędzie zwracane "
230 "jest -1 i ustawiane I<errno> wskazując błąd."
231
232 #. type: SH
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "ERRORS"
237 msgstr "BŁĘDY"
238
239 #. type: TP
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "B<EFAULT>"
244 msgstr "B<EFAULT>"
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid "I<list> has an invalid address."
250 msgstr "I<list> ma nieprawidłowy adres."
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 msgid "B<getgroups>() can additionally fail with the following error:"
256 msgstr "B<getgroups>() może dodatkowo zawieść z następującym błędem:"
257
258 #. type: TP
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "B<EINVAL>"
263 msgstr "B<EINVAL>"
264
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid ""
269 "I<size> is less than the number of supplementary group IDs, but is not zero."
270 msgstr "I<size> jest mniejsze niż liczba grup dodatkowych, ale niezerowe."
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid "B<setgroups>() can additionally fail with the following errors:"
276 msgstr "B<setgroups>() może dodatkowo zawieść z następującymi błędami:"
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 msgid ""
282 "I<size> is greater than B<NGROUPS_MAX> (32 before Linux 2.6.4; 65536 since "
283 "Linux 2.6.4)."
284 msgstr ""
285 "I<size> jest większe niż B<NGROUPS_MAX> (32 przed Linuksem 2.6.4; 65536 od "
286 "Linuksa 2.6.4)."
287
288 #. type: TP
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, no-wrap
292 msgid "B<ENOMEM>"
293 msgstr "B<ENOMEM>"
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid "Out of memory."
299 msgstr "Brak pamięci."
300
301 #. type: TP
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "B<EPERM>"
306 msgstr "B<EPERM>"
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid ""
312 "The calling process has insufficient privilege (the caller does not have the "
313 "B<CAP_SETGID> capability in the user namespace in which it resides)."
314 msgstr ""
315 "Proces wywołujący ma niewystarczające przywileje (wywołujący nie posiada "
316 "przywileju (ang. capability) B<CAP_SETGID> w przestrzeni nazw użytkownika, w "
317 "której występuje)."
318
319 #. type: TP
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "B<EPERM> (since Linux 3.19)"
324 msgstr "B<EPERM> (od Linuksa 3.19)"
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "The use of B<setgroups>() is denied in this user namespace. See the "
331 "description of I</proc/>pidI</setgroups> in B<user_namespaces>(7)."
332 msgstr ""
333 "Odmówiono użycia B<setgroups>() w tej przestrzeni nazw użytkownika. Więcej "
334 "informacji w opisie I</proc/>pidI</setgroups> w B<user_namespaces>(7)."
335
336 #. type: SH
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid "VERSIONS"
341 msgstr "WERSJE"
342
343 #. type: SS
344 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
345 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
346 #, no-wrap
347 msgid "C library/kernel differences"
348 msgstr "Różnice biblioteki C/jądra"
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid ""
354 "At the kernel level, user IDs and group IDs are a per-thread attribute. "
355 "However, POSIX requires that all threads in a process share the same "
356 "credentials. The NPTL threading implementation handles the POSIX "
357 "requirements by providing wrapper functions for the various system calls "
358 "that change process UIDs and GIDs. These wrapper functions (including the "
359 "one for B<setgroups>()) employ a signal-based technique to ensure that when "
360 "one thread changes credentials, all of the other threads in the process also "
361 "change their credentials. For details, see B<nptl>(7)."
362 msgstr ""
363 "Na poziomie jądra, identyfikatory użytkownika i grupy są atrybutami "
364 "przynależnymi wątkowi. Jednak POSIX wymaga, aby wszystkie wątki procesu "
365 "dzieliły te same poświadczenia. Implementacja wątkowania NPTL obsługuje "
366 "wymagania POSIX za pomocą funkcji opakowujących dla różnych wywołań "
367 "systemowych zmieniających UID-y i GID-y procesów. Te funkcje opakowujące (w "
368 "tym te dla B<setgroups>()) wykorzystują technikę opartą na sygnałach aby "
369 "zapewnić, że gdy jeden wątek zmieni swe poświadczenia, wszystkie inne wątki "
370 "procesu również to uczynią. Więcej szczegółów w podręczniku B<nptl>(7)."
371
372 #. type: SH
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "STANDARDS"
377 msgstr "STANDARDY"
378
379 #. type: TP
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "B<getgroups>()"
384 msgstr "B<getgroups>()"
385
386 #. type: Plain text
387 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
388 #: opensuse-tumbleweed
389 msgid "POSIX.1-2024."
390 msgstr "POSIX.1-2024."
391
392 #. type: TP
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "B<setgroups>()"
397 msgstr "B<setgroups>()"
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid "None."
403 msgstr "Brak."
404
405 #. type: SH
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "HISTORY"
410 msgstr "HISTORIA"
411
412 #. type: Plain text
413 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
414 #: opensuse-tumbleweed
415 msgid "4.3BSD, SVr4, POSIX.1-1988."
416 msgstr "4.3BSD, SVr4, POSIX.1-1988."
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 msgid ""
422 "SVr4, 4.3BSD. Since B<setgroups>() requires privilege, it is not covered "
423 "by POSIX.1."
424 msgstr ""
425 "SVr4, 4.3BSD. Ponieważ B<setgroups>() wymaga przywileju, nie jest opisana w "
426 "POSIX.1."
427
428 #. type: Plain text
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 msgid ""
432 "The original Linux B<getgroups>() system call supported only 16-bit group "
433 "IDs. Subsequently, Linux 2.4 added B<getgroups32>(), supporting 32-bit "
434 "IDs. The glibc B<getgroups>() wrapper function transparently deals with "
435 "the variation across kernel versions."
436 msgstr ""
437 "Pierwotne linuksowe wywołania systemowe B<getgroups>() obsługiwały jedynie "
438 "16-bitowe identyfikatory grup. Następnie, w Linuksie 2.4 dodano "
439 "B<getgroups32>(), obsługujące identyfikatory 32-bitowe. Funkcja opakowująca "
440 "B<getgroups>() biblioteki glibc obsługuje te warianty pomiędzy wersjami "
441 "jądra w sposób przezroczysty."
442
443 #. type: SH
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid "NOTES"
448 msgstr "UWAGI"
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 msgid ""
454 "A process can have up to B<NGROUPS_MAX> supplementary group IDs in addition "
455 "to the effective group ID. The constant B<NGROUPS_MAX> is defined in "
456 "I<E<lt>limits.hE<gt>>. The set of supplementary group IDs is inherited from "
457 "the parent process, and preserved across an B<execve>(2)."
458 msgstr ""
459 "Proces może posiadać maksymalnie B<NGROUPS_MAX> grup dodatkowych oprócz "
460 "efektywnego ID grupy. Stała B<NGROUPS_MAX> jest definiowana w "
461 "I<E<lt>limits.hE<gt>>. Zbiór grup dodatkowych jest dziedziczony po procesie "
462 "rodzicielskim i jest zachowywany na przestrzeni B<execve>(2)."
463
464 #. type: Plain text
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 msgid ""
468 "The maximum number of supplementary group IDs can be found at run time using "
469 "B<sysconf>(3):"
470 msgstr ""
471 "Maksymalna liczba grup dodatkowych może być odnaleziona w czasie "
472 "uruchomienia za pomocą B<sysconf>(3):"
473
474 #. type: Plain text
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 #, no-wrap
478 msgid ""
479 "long ngroups_max;\n"
480 "ngroups_max = sysconf(_SC_NGROUPS_MAX);\n"
481 msgstr ""
482 "long ngroups_max;\n"
483 "ngroups_max = sysconf(_SC_NGROUPS_MAX);\n"
484
485 #. type: Plain text
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 msgid ""
489 "The maximum return value of B<getgroups>() cannot be larger than one more "
490 "than this value. Since Linux 2.6.4, the maximum number of supplementary "
491 "group IDs is also exposed via the Linux-specific read-only file, I</proc/sys/"
492 "kernel/ngroups_max>."
493 msgstr ""
494 "Maksymalna zwracana wartość B<getgroups>() nie może być większa od "
495 "powyższej. Od Linuksa 2.6.4, maksymalna liczba grup dodatkowych jest również "
496 "ujawniana w typowo linuksowym pliku tylko do odczytu: I</proc/sys/kernel/"
497 "ngroups_max>."
498
499 #. type: SH
500 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
501 #: opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid "EXAMPLES"
504 msgstr "PRZYKŁADY"
505
506 #. type: Plain text
507 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
508 #: opensuse-leap-16-1 opensuse-tumbleweed
509 #, no-wrap
510 msgid ""
511 "#include E<lt>err.hE<gt>\n"
512 "#include E<lt>stddef.hE<gt>\n"
513 "#include E<lt>stdint.hE<gt>\n"
514 "#include E<lt>stdio.hE<gt>\n"
515 "#include E<lt>stdlib.hE<gt>\n"
516 "#include E<lt>sys/types.hE<gt>\n"
517 "#include E<lt>unistd.hE<gt>\n"
518 "\\&\n"
519 "#define MALLOC(n, T) ((T *) reallocarray(NULL, n, sizeof(T)))\n"
520 "\\&\n"
521 "static gid_t *agetgroups(size_t *ngids);\n"
522 "\\&\n"
523 "int\n"
524 "main(void)\n"
525 "{\n"
526 " gid_t *gids;\n"
527 " size_t n;\n"
528 "\\&\n"
529 " gids = agetgroups(&n);\n"
530 " if (gids == NULL)\n"
531 " err(EXIT_FAILURE, \"agetgroups\");\n"
532 "\\&\n"
533 " if (n != 0) {\n"
534 " printf(\"%jd\", (intmax_t) gids[0]);\n"
535 " for (size_t i = 1; i E<lt> n; i++)\n"
536 " printf(\" %jd\", (intmax_t) gids[i]);\n"
537 " }\n"
538 " puts(\"\");\n"
539 "\\&\n"
540 " free(gids);\n"
541 " exit(EXIT_SUCCESS);\n"
542 "}\n"
543 "\\&\n"
544 "static gid_t *\n"
545 "agetgroups(size_t *ngids)\n"
546 "{\n"
547 " int n;\n"
548 " gid_t *gids;\n"
549 "\\&\n"
550 " n = getgroups(0, NULL);\n"
551 " if (n == -1)\n"
552 " return NULL;\n"
553 "\\&\n"
554 " gids = MALLOC(n, gid_t);\n"
555 " if (gids == NULL)\n"
556 " return NULL;\n"
557 "\\&\n"
558 " n = getgroups(n, gids);\n"
559 " if (n == -1) {\n"
560 " free(gids);\n"
561 " return NULL;\n"
562 " }\n"
563 "\\&\n"
564 " *ngids = n;\n"
565 " return gids;\n"
566 "}\n"
567 msgstr ""
568 "#include E<lt>err.hE<gt>\n"
569 "#include E<lt>stddef.hE<gt>\n"
570 "#include E<lt>stdint.hE<gt>\n"
571 "#include E<lt>stdio.hE<gt>\n"
572 "#include E<lt>stdlib.hE<gt>\n"
573 "#include E<lt>sys/types.hE<gt>\n"
574 "#include E<lt>unistd.hE<gt>\n"
575 "\\&\n"
576 "#define MALLOC(n, T) ((T *) reallocarray(NULL, n, sizeof(T)))\n"
577 "\\&\n"
578 "static gid_t *agetgroups(size_t *ngids);\n"
579 "\\&\n"
580 "int\n"
581 "main(void)\n"
582 "{\n"
583 " gid_t *gids;\n"
584 " size_t n;\n"
585 "\\&\n"
586 " gids = agetgroups(&n);\n"
587 " if (gids == NULL)\n"
588 " err(EXIT_FAILURE, \"agetgroups\");\n"
589 "\\&\n"
590 " if (n != 0) {\n"
591 " printf(\"%jd\", (intmax_t) gids[0]);\n"
592 " for (size_t i = 1; i E<lt> n; i++)\n"
593 " printf(\" %jd\", (intmax_t) gids[i]);\n"
594 " }\n"
595 " puts(\"\");\n"
596 "\\&\n"
597 " free(gids);\n"
598 " exit(EXIT_SUCCESS);\n"
599 "}\n"
600 "\\&\n"
601 "static gid_t *\n"
602 "agetgroups(size_t *ngids)\n"
603 "{\n"
604 " int n;\n"
605 " gid_t *gids;\n"
606 "\\&\n"
607 " n = getgroups(0, NULL);\n"
608 " if (n == -1)\n"
609 " return NULL;\n"
610 "\\&\n"
611 " gids = MALLOC(n, gid_t);\n"
612 " if (gids == NULL)\n"
613 " return NULL;\n"
614 "\\&\n"
615 " n = getgroups(n, gids);\n"
616 " if (n == -1) {\n"
617 " free(gids);\n"
618 " return NULL;\n"
619 " }\n"
620 "\\&\n"
621 " *ngids = n;\n"
622 " return gids;\n"
623 "}\n"
624
625 #. #-#-#-#-# archlinux: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
626 #. SRC END
627 #. type: SH
628 #. #-#-#-#-# debian-trixie: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
629 #. type: SH
630 #. #-#-#-#-# debian-unstable: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
631 #. SRC END
632 #. type: SH
633 #. #-#-#-#-# fedora-44: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
634 #. SRC END
635 #. type: SH
636 #. #-#-#-#-# fedora-rawhide: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
637 #. SRC END
638 #. type: SH
639 #. #-#-#-#-# mageia-cauldron: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
640 #. SRC END
641 #. type: SH
642 #. #-#-#-#-# opensuse-leap-16-1: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
643 #. SRC END
644 #. type: SH
645 #. #-#-#-#-# opensuse-tumbleweed: getgroups.2.pot (PACKAGE VERSION) #-#-#-#-#
646 #. SRC END
647 #. type: SH
648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
650 #, no-wrap
651 msgid "SEE ALSO"
652 msgstr "ZOBACZ TAKŻE"
653
654 #. type: Plain text
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 msgid ""
658 "B<getgid>(2), B<setgid>(2), B<getgrouplist>(3), B<group_member>(3), "
659 "B<initgroups>(3), B<capabilities>(7), B<credentials>(7)"
660 msgstr ""
661 "B<getgid>(2), B<setgid>(2), B<getgrouplist>(3), B<group_member>(3), "
662 "B<initgroups>(3), B<capabilities>(7), B<credentials>(7)"
663
664 #. type: TH
665 #: debian-trixie
666 #, no-wrap
667 msgid "2024-05-02"
668 msgstr "2 maja 2024 r."
669
670 #. type: TH
671 #: debian-trixie
672 #, no-wrap
673 msgid "Linux man-pages 6.9.1"
674 msgstr "Linux man-pages 6.9.1"
675
676 #. type: Plain text
677 #: debian-trixie
678 msgid "Standard C library (I<libc>, I<-lc>)"
679 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
680
681 #. type: Plain text
682 #: debian-trixie
683 #, no-wrap
684 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n"
685 msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[]);>\n"
686
687 #. type: Plain text
688 #: debian-trixie
689 #, no-wrap
690 msgid "B<int setgroups(size_t >I<size>B<, const gid_t *_Nullable >I<list>B<);>\n"
691 msgstr "B<int setgroups(size_t >I<size>B<, const gid_t *_Nullable >I<list>B<);>\n"
692
693 #. type: Plain text
694 #: debian-trixie fedora-44 fedora-rawhide
695 #, no-wrap
696 msgid "setgroups(0, NULL);\n"
697 msgstr "setgroups(0, NULL);\n"
698
699 #. type: Plain text
700 #: debian-trixie fedora-44 fedora-rawhide
701 msgid "POSIX.1-2008."
702 msgstr "POSIX.1-2008."
703
704 #. type: Plain text
705 #: debian-trixie fedora-44 fedora-rawhide
706 msgid "SVr4, 4.3BSD, POSIX.1-2001."
707 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
708
709 #. type: TH
710 #: fedora-44 fedora-rawhide
711 #, no-wrap
712 msgid "2024-12-14"
713 msgstr "14 grudnia 2024 r."
714
715 #. type: TH
716 #: fedora-44 fedora-rawhide
717 #, no-wrap
718 msgid "Linux man-pages 6.13"
719 msgstr "Linux man-pages 6.13"
720
721 #. type: Plain text
722 #: fedora-44 fedora-rawhide
723 #, no-wrap
724 msgid "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
725 msgstr "B<int getgroups(int >I<size>B<, gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
726
727 #. type: Plain text
728 #: fedora-44 fedora-rawhide
729 #, no-wrap
730 msgid "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
731 msgstr "B<int setgroups(size_t >I<size>B<, const gid_t >I<list>B<[_Nullable .>I<size>B<]);>\n"
732
733 #. type: TH
734 #: mageia-cauldron
735 #, no-wrap
736 msgid "Linux man-pages 6.17"
737 msgstr "Linux man-pages 6.17"
738
739 #. type: TH
740 #: opensuse-leap-16-1 opensuse-tumbleweed
741 #, no-wrap
742 msgid "Linux man-pages (unreleased)"
743 msgstr "Linux man-pages (niewydane)"