Debian Codegraph @

po/pl/man2/semctl.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 # Rafał Lewczuk <[email protected]>, 1999.
5 # Andrzej Krzysztofowicz <[email protected]>, 2002.
6 # Robert Luberda <[email protected]>, 2013.
7 # Michał Kułach <[email protected]>, 2013, 2014, 2016, 2021, 2024, 2025.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-pl\n"
11 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
12 "PO-Revision-Date: 2025-11-26 20:55+0100\n"
13 "Last-Translator: Michał Kułach <[email protected]>\n"
14 "Language-Team: Polish <[email protected]>\n"
15 "Language: pl\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=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
20 "|| n%100>=20) ? 1 : 2);\n"
21 "X-Generator: Lokalize 25.04.0\n"
22
23 #. type: TH
24 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
25 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
26 #, no-wrap
27 msgid "semctl"
28 msgstr "semctl"
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 lutego 2026 r."
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, no-wrap
40 msgid "Linux man-pages 6.18"
41 msgstr "Linux man-pages 6.18"
42
43 #. type: SH
44 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
45 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
46 #, no-wrap
47 msgid "NAME"
48 msgstr "NAZWA"
49
50 #. type: Plain text
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 msgid "semctl - System V semaphore control operations"
54 msgstr "semctl - steruje semaforami Systemu V"
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 #
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>sys/sem.hE<gt>>\n"
82 msgstr "B<#include E<lt>sys/sem.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "B<int semctl(int >I<semid>B<, int >I<semnum>B<, int >I<op>B<, ...);>\n"
89 msgstr "B<int semctl(int >I<semid>B<, int >I<semnum>B<, int >I<op>B<, ...);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "OPIS"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "B<semctl>() performs the control operation specified by I<op> on the "
103 "System\\ V semaphore set identified by I<semid>, or on the I<semnum>-th "
104 "semaphore of that set. (The semaphores in a set are numbered starting at 0.)"
105 msgstr ""
106 "B<semctl>() wykonuje operację sterującą, określoną przez I<op>, na zestawie "
107 "semaforów Systemu\\ V określonym przez I<semid> lub na semaforze o numerze "
108 "I<semnum> z tego zestawu (numeracja semaforów w zestawie semaforów zaczyna "
109 "się od 0)."
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "This function has three or four arguments, depending on I<op>. When there "
116 "are four, the fourth has the type I<union semun>. The I<calling program> "
117 "must define this union as follows:"
118 msgstr ""
119 "W zależności od I<op> funkcja przyjmuje trzy lub cztery argumenty. Jeśli są "
120 "cztery, to czwarty jest typu I<union semun>. I<Program wywołujący> musi "
121 "zdefiniować tę unię jako:"
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid ""
128 "union semun {\n"
129 " int val; /* Value for SETVAL */\n"
130 " struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */\n"
131 " unsigned short *array; /* Array for GETALL, SETALL */\n"
132 " struct seminfo *__buf; /* Buffer for IPC_INFO\n"
133 " (Linux-specific) */\n"
134 "};\n"
135 msgstr ""
136 "union semun {\n"
137 " int val; /* Wartość dla SETVAL */\n"
138 " struct semid_ds *buf; /* Bufor dla IPC_STAT, IPC_SET */\n"
139 " unsigned short *array; /* Tablica dla GETALL, SETALL */\n"
140 " struct seminfo *__buf; /* Bufor dla IPC_INFO\n"
141 " (specyficzne dla Linuksa) */\n"
142 "};\n"
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "The I<semid_ds> data structure is defined in I<E<lt>sys/sem.hE<gt>> as "
149 "follows:"
150 msgstr ""
151 "Struktura danych I<semid_ds> jest zdefiniowana w I<E<lt>sys/sem.hE<gt>> "
152 "następująco:"
153
154 #. type: Plain text
155 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
156 #: opensuse-tumbleweed
157 #, no-wrap
158 msgid ""
159 "struct semid_ds {\n"
160 " struct ipc_perm sem_perm; /* Ownership and permissions */\n"
161 " time_t sem_otime; /* Last semop time */\n"
162 " time_t sem_ctime; /* Creation time/time of last\n"
163 " modification via semctl() */\n"
164 " unsigned long sem_nsems; /* # of semaphores in set */\n"
165 "};\n"
166 msgstr ""
167 "struct semid_ds {\n"
168 " struct ipc_perm sem_perm; /* Prawa dostępu */\n"
169 " time_t sem_otime; /* Czas ostatniej operacji semop */\n"
170 " time_t sem_ctime; /* Czas utworzenia/ostatniej zmiany\n"
171 " za pomocą semctl() */\n"
172 " unsigned long sem_nsems; /* # semaforów w zestawie */\n"
173 "};\n"
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid "The fields of the I<semid_ds> structure are as follows:"
179 msgstr "Pola struktury I<semid_ds> są następujące:"
180
181 #. type: TP
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "I<sem_perm>"
186 msgstr "I<sem_perm>"
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "This is an I<ipc_perm> structure (see below) that specifies the access "
193 "permissions on the semaphore set."
194 msgstr ""
195 "Jest to struktura I<ipc_perm> (zob. niżej), która określa prawa dostępu do "
196 "zestawu semaforów."
197
198 #. type: TP
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "I<sem_otime>"
203 msgstr "I<sem_otime>"
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 msgid "Time of last B<semop>(2) system call."
209 msgstr "Czas ostatniego wywołania funkcji systemowej B<semop>(2)."
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 "I<sem_ctime>"
216 msgstr "I<sem_ctime>"
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 ""
222 "Time of creation of semaphore set or time of last B<semctl>() B<IPCSET>, "
223 "B<SETVAL>, or B<SETALL> operation."
224 msgstr ""
225 "Czas utworzenia zestawu semaforów albo czas ostatniej operacji B<IPCSET>, "
226 "B<SETVAL> lub B<SETALL> z B<SETVAL>()."
227
228 #. type: TP
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "I<sem_nsems>"
233 msgstr "I<sem_nsems>"
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 msgid ""
239 "Number of semaphores in the set. Each semaphore of the set is referenced by "
240 "a nonnegative integer ranging from B<0> to I<sem_nsems-1>."
241 msgstr ""
242 "Liczba semaforów w zestawie. Każdy semafor zestawu jest identyfikowany przez "
243 "nieujemną liczbę całkowitą z zakresu od B<0> do I<sem_nsems-1>."
244
245 #. type: Plain text
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 msgid ""
249 "The I<ipc_perm> structure is defined as follows (the highlighted fields are "
250 "settable using B<IPC_SET>):"
251 msgstr ""
252 "Struktura I<ipc_perm> jest zdefiniowana następująco (wyróżnione pola można "
253 "ustawić za pomocą B<IPC_SET>):"
254
255 #. type: Plain text
256 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
257 #: opensuse-tumbleweed
258 #, no-wrap
259 msgid ""
260 "struct ipc_perm {\n"
261 " key_t __key; /* Key supplied to semget(2) */\n"
262 " uid_t \\f[B]uid\\fR; /* Effective UID of owner */\n"
263 " gid_t \\f[B]gid\\fR; /* Effective GID of owner */\n"
264 " uid_t cuid; /* Effective UID of creator */\n"
265 " gid_t cgid; /* Effective GID of creator */\n"
266 " unsigned short \\f[B]mode\\fR; /* Permissions */\n"
267 " unsigned short __seq; /* Sequence number */\n"
268 "};\n"
269 msgstr ""
270 "struct ipc_perm {\n"
271 " key_t __key; /* Klucz podany w semget(2) */\n"
272 " uid_t \\f[B]uid\\fR; /* Efektywny UID właściciela */\n"
273 " gid_t \\f[B]gid\\fR; /* Efektywny GID właściciela */\n"
274 " uid_t cuid; /* Efektywny UID twórcy */\n"
275 " gid_t cgid; /* Efektywny GID twórcy */\n"
276 " unsigned short \\f[B]mode\\fR; /* Uprawnienia */\n"
277 " unsigned short __seq; /* Numer sekwencji */\n"
278 "};\n"
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "The least significant 9 bits of the I<mode> field of the I<ipc_perm> "
285 "structure define the access permissions for the shared memory segment. The "
286 "permission bits are as follows:"
287 msgstr ""
288 "Najmniej znaczące 9 bitów pola I<mode> struktury I<ipc_perm> definiuje "
289 "uprawnienia dostępu do segmentu pamięci dzielonej. Istnieją następujące bity "
290 "uprawnień:"
291
292 #. type: tbl table
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "0400"
297 msgstr "0400"
298
299 #. type: tbl table
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "Read by user"
304 msgstr "Odczyt przez użytkownika"
305
306 #. type: tbl table
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 #, no-wrap
310 msgid "0200"
311 msgstr "0200"
312
313 #. type: tbl table
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "Write by user"
318 msgstr "Zapis przez użytkownika"
319
320 #. type: tbl table
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "0040"
325 msgstr "0040"
326
327 #. type: tbl table
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "Read by group"
332 msgstr "Odczyt przez grupę"
333
334 #. type: tbl table
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 #, no-wrap
338 msgid "0020"
339 msgstr "0020"
340
341 #. type: tbl table
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "Write by group"
346 msgstr "Zapis przez grupę"
347
348 #. type: tbl table
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, no-wrap
352 msgid "0004"
353 msgstr "0004"
354
355 #. type: tbl table
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 #, no-wrap
359 msgid "Read by others"
360 msgstr "Odczyt przez pozostałych"
361
362 #. type: tbl table
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 #, no-wrap
366 msgid "0002"
367 msgstr "0002"
368
369 #. type: tbl table
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "Write by others"
374 msgstr "Zapis przez pozostałych"
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid ""
380 "In effect, \"write\" means \"alter\" for a semaphore set. Bits 0100, 0010, "
381 "and 0001 (the execute bits) are unused by the system."
382 msgstr ""
383 "Dla zestawu semaforów \\[Bq]zapis\\[rq] znaczy w praktyce \\[Bq]modyfikację\\"
384 "[rq]. Bity 0100, 0010 i 0001 (bity praw do uruchamiania) nie są przez system "
385 "wykorzystywane."
386
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid "Valid values for I<op> are:"
391 msgstr "Poprawne wartości parametru I<op> to:"
392
393 #. type: TP
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 #, no-wrap
397 msgid "B<IPC_STAT>"
398 msgstr "B<IPC_STAT>"
399
400 #. type: Plain text
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 msgid ""
404 "Copy information from the kernel data structure associated with I<semid> "
405 "into the I<semid_ds> structure pointed to by I<arg.buf>. The argument "
406 "I<semnum> is ignored. The calling process must have read permission on the "
407 "semaphore set."
408 msgstr ""
409 "Kopiuje informacje ze struktury kontrolnej jądra skojarzonej z I<semid> do "
410 "struktury I<semid_ds> wskazywanej przez I<arg.__buf>. Argument I<semnum> "
411 "jest ignorowany. Wywołujący musi mieć uprawnienie odczytu zestawu semaforów."
412
413 #. type: TP
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "B<IPC_SET>"
418 msgstr "B<IPC_SET>"
419
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 msgid ""
424 "Write the values of some members of the I<semid_ds> structure pointed to by "
425 "I<arg.buf> to the kernel data structure associated with this semaphore set, "
426 "updating also its I<sem_ctime> member."
427 msgstr ""
428 "Zapis wartości niektórych pól struktury B<semid_ds> wskazywanej przez "
429 "parametr I<arg.buf> do struktury kontrolnej zestawu semaforów. Pole "
430 "B<sem_ctime> zostanie automatycznie uaktualnione."
431
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 msgid ""
436 "The following members of the structure are updated: I<sem_perm.uid>, "
437 "I<sem_perm.gid>, and (the least significant 9 bits of) I<sem_perm.mode>."
438 msgstr ""
439 "Zaktualizowane mogą również zostać następujące pola tej struktury: "
440 "I<sem_perm.uid>, I<sem_perm.gid> i (9 najmniej znaczących bitów z) "
441 "I<sem_perm.mode>."
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid ""
447 "The effective UID of the calling process must match the owner "
448 "(I<sem_perm.uid>) or creator (I<sem_perm.cuid>) of the semaphore set, or "
449 "the caller must be privileged. The argument I<semnum> is ignored."
450 msgstr ""
451 "Efektywny identyfikator użytkownika procesu wywołującego musi odpowiadać "
452 "właścicielowi (I<sem_perm.uid>) lub twórcy (I<sem_perm.cuid>) zestawu "
453 "semaforów albo wywołujący musi być uprzywilejowany. Argument I<semnum> jest "
454 "pomijany."
455
456 #. type: TP
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "B<IPC_RMID>"
461 msgstr "B<IPC_RMID>"
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 "Immediately remove the semaphore set, awakening all processes blocked in "
468 "B<semop>(2) calls on the set (with an error return and I<errno> set to "
469 "B<EIDRM>). The effective user ID of the calling process must match the "
470 "creator or owner of the semaphore set, or the caller must be privileged. "
471 "The argument I<semnum> is ignored."
472 msgstr ""
473 "Usuwa natychmiast zestaw semaforów. Wznawia wszystkie procesy zablokowane w "
474 "wywołaniu B<semop>(2) (wywołanie to zasygnalizuje błąd i ustawi zmienną "
475 "I<errno> na B<EIDRM>). Efektywny identyfikator użytkownika procesu "
476 "wywołującego musi odpowiadać twórcy lub właścicielowi zestawu semaforów albo "
477 "proces wywołujący musi być uprzywilejowany. Argument I<semnum> jest pomijany."
478
479 #. type: TP
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 #, no-wrap
483 msgid "B<IPC_INFO> (Linux-specific)"
484 msgstr "B<IPC_INFO> (specyficzne dla Linuksa)"
485
486 #. type: Plain text
487 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
488 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
489 msgid ""
490 "Return information about system-wide semaphore limits and parameters in the "
491 "structure pointed to by I<arg.__buf>. This structure is of type I<seminfo>, "
492 "defined in I<E<lt>sys/sem.hE<gt>> if the B<_GNU_SOURCE> feature test macro "
493 "is defined:"
494 msgstr ""
495 "Zwraca w strukturze, na którą wskazuje I<arg.__buf>, informacje o "
496 "systemowych ograniczeniach i parametrach semaforów. Struktura jest typu "
497 "I<seminfo> i jest zdefiniowana w I<E<lt>sys/shm.hE<gt>>, pod warunkiem, że "
498 "zdefiniowano również makro B<_GNU_SOURCE>:"
499
500 #. type: Plain text
501 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
502 #: opensuse-tumbleweed
503 #, no-wrap
504 msgid ""
505 "struct seminfo {\n"
506 " int semmap; /* Number of entries in semaphore\n"
507 " map; unused within kernel */\n"
508 " int semmni; /* Maximum number of semaphore sets */\n"
509 " int semmns; /* Maximum number of semaphores in all\n"
510 " semaphore sets */\n"
511 " int semmnu; /* System-wide maximum number of undo\n"
512 " structures; unused within kernel */\n"
513 " int semmsl; /* Maximum number of semaphores in a\n"
514 " set */\n"
515 " int semopm; /* Maximum number of operations for\n"
516 " semop(2) */\n"
517 " int semume; /* Maximum number of undo entries per\n"
518 " process; unused within kernel */\n"
519 " int semusz; /* Size of struct sem_undo */\n"
520 " int semvmx; /* Maximum semaphore value */\n"
521 " int semaem; /* Max.\\& value that can be recorded for\n"
522 " semaphore adjustment (SEM_UNDO) */\n"
523 "};\n"
524 msgstr ""
525 "struct seminfo {\n"
526 " int semmap; /* Liczba wpisów w mapie semaforów\n"
527 " nieużywane przez jądro */\n"
528 " int semmni; /* Maksymalna liczba zestawów semaforów */\n"
529 " int semmns; /* Maksymalna liczba semaforów we wszystkich\n"
530 " zestawach semaforów */\n"
531 " int semmnu; /* Maksymalna liczba struktur wycofania (undo)\n"
532 " w systemie; nieużywane przez jądro*/\n"
533 " int semmsl; /* Maksymalna liczba semaforów \n"
534 " w zestawie */\n"
535 " int semopm; /* Maksymalna liczba operacji dla\n"
536 " semop(2) */\n"
537 " int semume; /* Maksymalna liczba wpisów wycofania (undo)\n"
538 " procesu; nieużywane przez jądro */\n"
539 " int semusz; /* Rozmiar struktury sem_undo */\n"
540 " int semvmx; /* Maksymalna wartość semafora */\n"
541 " int semaem; /* Maksymalna wartość możliwa do zapamiętania\n"
542 " dla regulacji semafora (SEM_UNDO) */\n"
543 "};\n"
544
545 #. type: Plain text
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 msgid ""
549 "The I<semmsl>, I<semmns>, I<semopm>, and I<semmni> settings can be changed "
550 "via I</proc/sys/kernel/sem>; see B<proc>(5) for details."
551 msgstr ""
552 "Ustawienia I<semmsl>, I<semmns>, I<semopm> oraz I<semmni> można zmienić za "
553 "pomocą plików w I</proc/sys/kernel/sem>; szczegóły można znaleźć w "
554 "podręczniku B<proc>(5)."
555
556 #. type: TP
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 #, no-wrap
560 msgid "B<SEM_INFO> (Linux-specific)"
561 msgstr "B<SEM_INFO> (specyficzne dla Linuksa)"
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid ""
567 "Return a I<seminfo> structure containing the same information as for "
568 "B<IPC_INFO>, except that the following fields are returned with information "
569 "about system resources consumed by semaphores: the I<semusz> field returns "
570 "the number of semaphore sets that currently exist on the system; and the "
571 "I<semaem> field returns the total number of semaphores in all semaphore sets "
572 "on the system."
573 msgstr ""
574 "Zwraca strukturę I<seminfo> zawierającą te same informacje co w przypadku "
575 "B<IPC_INFO>, z tym wyjątkiem, że w następujących polach zwracane są "
576 "informacje o zasobach systemowych wykorzystywanych przez semafory: pole "
577 "I<semusz> zwraca liczbę zestawów semaforów istniejących obecnie w systemie; "
578 "pole I<semaem> zwraca całkowitą liczbę semaforów we wszystkich zestawach "
579 "semaforów w systemie."
580
581 #. type: TP
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "B<SEM_STAT> (Linux-specific)"
586 msgstr "B<SEM_STAT> (specyficzne dla Linuksa)"
587
588 #. type: Plain text
589 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
590 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
591 msgid ""
592 "Return a I<semid_ds> structure as for B<IPC_STAT>. However, the I<semid> "
593 "argument is not a semaphore identifier, but instead an index into the "
594 "kernel's internal array that maintains information about all semaphore sets "
595 "on the system."
596 msgstr ""
597 "Zwraca strukturę I<semid_ds>, taką jak dla B<IPC_STAT>. Jednakże parametr "
598 "I<semid> nie jest identyfikatorem segmentu, ale indeksem wewnętrznej tablicy "
599 "jądra przechowującej informacje o wszystkich segmentach zestawach semaforów "
600 "w systemie."
601
602 #. type: TP
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 #, no-wrap
606 msgid "B<SEM_STAT_ANY> (Linux-specific, since Linux 4.17)"
607 msgstr "B<SEM_STAT_ANY> (specyficzne dla Linuksa, od Linuksa 4.17)"
608
609 #. type: Plain text
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
612 msgid ""
613 "Return a I<semid_ds> structure as for B<SEM_STAT>. However, "
614 "I<sem_perm.mode> is not checked for read access for I<semid> meaning that "
615 "any user can employ this operation (just as any user may read I</proc/"
616 "sysvipc/sem> to obtain the same information)."
617 msgstr ""
618 "Zwraca strukturę I<semid_ds>, jak dla B<SEM_STAT>. Jednak I<sem_perm.mode> "
619 "nie jest sprawdzany pod kątem uprawnień odczytu do I<semid> co oznacza, że "
620 "każdy użytkownik może wykonać tę operację (podobnie jak każdy użytkownik "
621 "może odczytać I</proc/sysvipc/sem>, pozyskując te same informacje)."
622
623 #. type: TP
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 #, no-wrap
627 msgid "B<GETALL>"
628 msgstr "B<GETALL>"
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid ""
634 "Return B<semval> (i.e., the current value) for all semaphores of the set "
635 "into I<arg.array>. The argument I<semnum> is ignored. The calling process "
636 "must have read permission on the semaphore set."
637 msgstr ""
638 "Zwraca (bieżącą) wartość B<semval> dla wszystkich semaforów z zestawu, "
639 "umieszczając je w tablicy I<arg.array>. Argument I<semnum> jest pomijany. "
640 "Proces wywołujący musi mieć prawa do odczytu zestawu semaforów."
641
642 #. type: TP
643 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
644 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
645 #, no-wrap
646 msgid "B<GETNCNT>"
647 msgstr "B<GETNCNT>"
648
649 #. type: Plain text
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 msgid ""
653 "Return the B<semncnt> value for the I<semnum>-th semaphore of the set (i.e., "
654 "the number of processes waiting for the semaphore's value to increase). The "
655 "calling process must have read permission on the semaphore set."
656 msgstr ""
657 "Zwraca wartość B<semncnt> skojarzoną z semaforem o numerze I<semnum> w "
658 "zestawie (tzn. liczbę procesów oczekujących na zwiększenie wartości przez "
659 "semafor). Proces wywołujący musi mieć prawa do odczytu zestawu semaforów."
660
661 #. type: TP
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 #, no-wrap
665 msgid "B<GETPID>"
666 msgstr "B<GETPID>"
667
668 #. type: Plain text
669 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
670 #: opensuse-leap-16-1 opensuse-tumbleweed
671 msgid ""
672 "Return the B<sempid> value for the I<semnum>-th semaphore of the set. This "
673 "is the PID of the process that last performed an operation on that semaphore "
674 "(but see VERSIONS). The calling process must have read permission on the "
675 "semaphore set."
676 msgstr ""
677 "Zwraca wartość B<sempid> skojarzoną z semaforem o numerze I<semnum> w "
678 "zestawie. Jest to identyfikator procesu, który wykonał ostatnią operację na "
679 "tym semaforze (ale zob. WERSJE). Proces wywołujący musi mieć prawa do "
680 "odczytu zestawu semaforów."
681
682 #. type: TP
683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
685 #, no-wrap
686 msgid "B<GETVAL>"
687 msgstr "B<GETVAL>"
688
689 #. type: Plain text
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
692 msgid ""
693 "Return B<semval> (i.e., the semaphore value) for the I<semnum>-th semaphore "
694 "of the set. The calling process must have read permission on the semaphore "
695 "set."
696 msgstr ""
697 "Zwraca B<semval> (tj. wartość semafora) semafora o numerze I<semnum> w "
698 "zestawie semaforów. Proces wywołujący musi mieć prawa do odczytu zestawu "
699 "semaforów."
700
701 #. type: TP
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 #, no-wrap
705 msgid "B<GETZCNT>"
706 msgstr "B<GETZCNT>"
707
708 #. type: Plain text
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
711 msgid ""
712 "Return the B<semzcnt> value for the I<semnum>-th semaphore of the set (i.e., "
713 "the number of processes waiting for the semaphore value to become 0). The "
714 "calling process must have read permission on the semaphore set."
715 msgstr ""
716 "Zwraca wartość B<semzcnt> skojarzoną z semaforem o numerze I<semnum> w "
717 "zestawie (tzn. liczbę procesów oczekujących na osiągnięcie przez semafor "
718 "wartości 0). Proces wywołujący musi mieć prawa do odczytu zestawu semaforów."
719
720 #. type: TP
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 #, no-wrap
724 msgid "B<SETALL>"
725 msgstr "B<SETALL>"
726
727 #. type: Plain text
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 msgid ""
731 "Set the B<semval> values for all semaphores of the set using I<arg.array>, "
732 "updating also the I<sem_ctime> member of the I<semid_ds> structure "
733 "associated with the set. Undo entries (see B<semop>(2)) are cleared for "
734 "altered semaphores in all processes. If the changes to semaphore values "
735 "would permit blocked B<semop>(2) calls in other processes to proceed, then "
736 "those processes are woken up. The argument I<semnum> is ignored. The "
737 "calling process must have alter (write) permission on the semaphore set."
738 msgstr ""
739 "Przypisuje wartości B<semval> wszystkim semaforom zestawu, korzystając z "
740 "tablicy I<arg.array>, jednocześnie aktualizuje pole I<sem_ctime> struktury "
741 "I<semid_ds> skojarzonej z zestawem. Wpisy wycofania (undo; patrz "
742 "B<semop>(2)) są czyszczone dla wszystkich zmienianych semaforów we "
743 "wszystkich procesach. Jeżeli zmiany wartości semaforów pozwoliłyby na "
744 "odblokowanie procesów oczekujących w wywołaniach B<semop>(2), to te procesy "
745 "są wznawiane. Argument I<semnum> jest pomijany. Proces wywołujący musi mieć "
746 "prawa do modyfikacji (zapisu) zestawu semaforów."
747
748 #. type: TP
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 #, no-wrap
752 msgid "B<SETVAL>"
753 msgstr "B<SETVAL>"
754
755 #. type: Plain text
756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
758 msgid ""
759 "Set the semaphore value (B<semval>) to I<arg.val> for the I<semnum>-th "
760 "semaphore of the set, updating also the I<sem_ctime> member of the "
761 "I<semid_ds> structure associated with the set. Undo entries are cleared for "
762 "altered semaphores in all processes. If the changes to semaphore values "
763 "would permit blocked B<semop>(2) calls in other processes to proceed, then "
764 "those processes are woken up. The calling process must have alter "
765 "permission on the semaphore set."
766 msgstr ""
767 "Przypisuje wartość B<semval> do I<arg.val> semafora o numerze I<semnum> w "
768 "zestawie, aktualizując jednocześnie pole I<sem_ctime> struktury I<semid_ds> "
769 "skojarzonej z zestawem semaforów. Wpisy wycofania (undo) są czyszczone dla "
770 "zmienianych semaforów we wszystkich procesach. Jeżeli zmiany wartości "
771 "semaforów pozwoliłyby na odblokowanie procesów oczekujących w wywołaniach "
772 "B<semop>(2), to te procesy są wznawiane. Proces wywołujący funkcję musi mieć "
773 "prawa do modyfikacji zestawu semaforów."
774
775 #. type: SH
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 #, no-wrap
779 msgid "RETURN VALUE"
780 msgstr "WARTOŚĆ ZWRACANA"
781
782 #. type: Plain text
783 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
784 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
785 msgid ""
786 "On success, B<semctl>() returns a nonnegative value depending on I<op> as "
787 "follows:"
788 msgstr ""
789 "Po pomyślnym zakończeniu, B<semctl>() zwraca nieujemną wartość zależną od "
790 "parametru I<op>:"
791
792 #
793 #. type: Plain text
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 msgid "the value of B<semncnt>."
797 msgstr "wartość B<semncnt>."
798
799 #
800 #. type: Plain text
801 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
802 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
803 msgid "the value of B<sempid>."
804 msgstr "wartość B<sempid>."
805
806 #
807 #. type: Plain text
808 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
809 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
810 msgid "the value of B<semval>."
811 msgstr "wartość B<semval>."
812
813 #
814 #. type: Plain text
815 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
816 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
817 msgid "the value of B<semzcnt>."
818 msgstr "wartość B<semzcnt>."
819
820 #. type: TP
821 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
822 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
823 #, no-wrap
824 msgid "B<IPC_INFO>"
825 msgstr "B<IPC_INFO>"
826
827 #. type: Plain text
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 msgid ""
831 "the index of the highest used entry in the kernel's internal array recording "
832 "information about all semaphore sets. (This information can be used with "
833 "repeated B<SEM_STAT> or B<SEM_STAT_ANY> operations to obtain information "
834 "about all semaphore sets on the system.)"
835 msgstr ""
836 "indeks najwyższego używanego wpisu w wewnętrznej tablicy jądra "
837 "przechowującej informacje o wszystkich zestawach semaforów (informacji tej "
838 "można użyć w operacjach B<SEM_STAT> lub B<SEM_STAT_ANY>, aby otrzymać "
839 "informacje o wszystkich zestawach semaforów w systemie)."
840
841 #. type: TP
842 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
843 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
844 #, no-wrap
845 msgid "B<SEM_INFO>"
846 msgstr "B<SEM_INFO>"
847
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 msgid "as for B<IPC_INFO>."
852 msgstr "tak jak B<IPC_INFO>."
853
854 #. type: TP
855 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
856 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
857 #, no-wrap
858 msgid "B<SEM_STAT>"
859 msgstr "B<SEM_STAT>"
860
861 #. type: Plain text
862 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
863 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
864 msgid "the identifier of the semaphore set whose index was given in I<semid>."
865 msgstr ""
866 "identyfikator zestawu semaforów, którego indeks został podany w I<semid>."
867
868 #. type: TP
869 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
870 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
871 #, no-wrap
872 msgid "B<SEM_STAT_ANY>"
873 msgstr "B<SEM_STAT_ANY>"
874
875 #. type: Plain text
876 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
877 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
878 msgid "as for B<SEM_STAT>."
879 msgstr "tak jak B<SEM_STAT>."
880
881 #. type: Plain text
882 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
883 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
884 msgid "All other I<op> values return 0 on success."
885 msgstr ""
886 "Dla wszystkich pozostałych wartości I<op> w razie pomyślnego zakończenia "
887 "zwracane jest 0."
888
889 #. type: Plain text
890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
891 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
892 msgid ""
893 "On failure, B<semctl>() returns -1 and sets I<errno> to indicate the error."
894 msgstr ""
895 "W razie błędu B<semctl>() zwraca -1, a zmiennej I<errno> zostanie nadana "
896 "wartość określająca rodzaj błędu."
897
898 #. type: SH
899 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
900 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
901 #, no-wrap
902 msgid "ERRORS"
903 msgstr "BŁĘDY"
904
905 #. type: TP
906 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
907 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
908 #, no-wrap
909 msgid "B<EACCES>"
910 msgstr "B<EACCES>"
911
912 #. type: Plain text
913 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
914 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
915 msgid ""
916 "The argument I<op> has one of the values B<GETALL>, B<GETPID>, B<GETVAL>, "
917 "B<GETNCNT>, B<GETZCNT>, B<IPC_STAT>, B<SEM_STAT>, B<SEM_STAT_ANY>, "
918 "B<SETALL>, or B<SETVAL> and the calling process does not have the required "
919 "permissions on the semaphore set and does not have the B<CAP_IPC_OWNER> "
920 "capability in the user namespace that governs its IPC namespace."
921 msgstr ""
922 "Argument I<op> ma jedną z wartości: B<GETALL>, B<GETPID>, B<GETVAL>, "
923 "B<GETNCNT>, B<GETZCNT>, B<IPC_STAT>, B<SEM_STAT>, B<SEM_STAT_ANY>, "
924 "B<SETALL>, lub B<SETVAL>, a proces wywołujący nie ma wystarczających "
925 "uprawnień do działania na zbiorze semaforów oraz nie ma ustawionego "
926 "przywileju B<CAP_IPC_OWNER> (ang. capability) w przestrzeni nazw "
927 "użytkownika, która zarządza jego przestrzenią nazw IPC."
928
929 #. type: TP
930 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
931 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
932 #, no-wrap
933 msgid "B<EFAULT>"
934 msgstr "B<EFAULT>"
935
936 #. type: Plain text
937 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
938 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
939 msgid "The address pointed to by I<arg.buf> or I<arg.array> isn't accessible."
940 msgstr "Adres wskazywany przez I<arg.buf> lub I<arg.array> jest niedostępny."
941
942 #. type: TP
943 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
944 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
945 #, no-wrap
946 msgid "B<EIDRM>"
947 msgstr "B<EIDRM>"
948
949 #
950 #. type: Plain text
951 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
952 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
953 msgid "The semaphore set was removed."
954 msgstr "Zestaw semaforów został usunięty."
955
956 #. type: TP
957 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
958 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
959 #, no-wrap
960 msgid "B<EINVAL>"
961 msgstr "B<EINVAL>"
962
963 #. type: Plain text
964 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
965 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
966 msgid ""
967 "Invalid value for I<op> or I<semid>. Or: for a B<SEM_STAT> operation, the "
968 "index value specified in I<semid> referred to an array slot that is "
969 "currently unused."
970 msgstr ""
971 "Niepoprawna wartość parametru I<op> lub I<semid>. Albo: w przypadku operacji "
972 "B<SEM_STAT> wartość indeksu podana w parametrze I<semid> odwoływała się do "
973 "obecnie nieużywanego elementu tablicy."
974
975 #. type: TP
976 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
977 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
978 #, no-wrap
979 msgid "B<EPERM>"
980 msgstr "B<EPERM>"
981
982 #. type: Plain text
983 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
984 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
985 msgid ""
986 "The argument I<op> has the value B<IPC_SET> or B<IPC_RMID> but the effective "
987 "user ID of the calling process is not the creator (as found in "
988 "I<sem_perm.cuid>) or the owner (as found in I<sem_perm.uid>) of the "
989 "semaphore set, and the process does not have the B<CAP_SYS_ADMIN> capability."
990 msgstr ""
991 "Parametr I<op> jest równy B<IPC_SET> lub B<IPC_RMID>, ale identyfikator "
992 "efektywnego użytkownika procesu wywołującego nie jest twórcą (określonym w "
993 "I<sem_perm.cuid>) ani właścicielem (określonym w I<sem_perm.uid>) zestawu "
994 "semaforów, a proces nie ma przywileju B<CAP_SYS_ADMIN>."
995
996 #. type: TP
997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
999 #, no-wrap
1000 msgid "B<ERANGE>"
1001 msgstr "B<ERANGE>"
1002
1003 #. type: Plain text
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1006 msgid ""
1007 "The argument I<op> has the value B<SETALL> or B<SETVAL> and the value to "
1008 "which B<semval> is to be set (for some semaphore of the set) is less than 0 "
1009 "or greater than the implementation limit B<SEMVMX>."
1010 msgstr ""
1011 "Argument I<op> ma wartość B<SETALL> lub B<SETVAL>, ale przekazywana wartość "
1012 "semafora B<semval> (dla któregoś z semaforów zestawu) jest mniejsza od 0 lub "
1013 "większa od wartości ograniczenia systemowego B<SEMVMX>."
1014
1015 #. type: SH
1016 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1017 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1018 #, no-wrap
1019 msgid "VERSIONS"
1020 msgstr "WERSJE"
1021
1022 #. POSIX.1-2001, POSIX.1-2008
1023 #. type: Plain text
1024 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1025 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1026 msgid ""
1027 "POSIX.1 specifies the I<sem_nsems> field of the I<semid_ds> structure as "
1028 "having the type I<unsigned\\ short>, and the field is so defined on most "
1029 "other systems. It was also so defined on Linux 2.2 and earlier, but, since "
1030 "Linux 2.4, the field has the type I<unsigned\\ long>."
1031 msgstr ""
1032 "POSIX.1 określa pole I<sem_nsems> struktury I<semid_ds> jako będące typu "
1033 "I<unsigned\\ short> i tak też jest ono zdefiniowane w większości systemów. "
1034 "Tak było również w Linuksie 2.2 i wcześniejszych, lecz od Linuksa 2.4 pole "
1035 "to jest typu I<unsigned\\ long>."
1036
1037 #. type: SS
1038 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1039 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1040 #, no-wrap
1041 msgid "The sempid value"
1042 msgstr "Wartość sempid"
1043
1044 #. type: Plain text
1045 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1046 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1047 msgid ""
1048 "POSIX.1 defines I<sempid> as the \"process ID of [the] last operation\" on a "
1049 "semaphore, and explicitly notes that this value is set by a successful "
1050 "B<semop>(2) call, with the implication that no other interface affects the "
1051 "I<sempid> value."
1052 msgstr ""
1053 "POSIX.1 definiuje I<sempid> jako \"identyfikator procesu ostatniej "
1054 "operacji\" na semaforze i wprost zauważa, że wartość tak jest ustawiana "
1055 "przez pomyślne wywołanie B<semop>(2), z implikacją, że żaden inny interfejs "
1056 "nie wpływa na wartość I<sempid>."
1057
1058 #. At least OpenSolaris (and, one supposes, older Solaris) and Darwin
1059 #. type: Plain text
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 msgid ""
1063 "While some implementations conform to the behavior specified in POSIX.1, "
1064 "others do not. (The fault here probably lies with POSIX.1 inasmuch as it "
1065 "likely failed to capture the full range of existing implementation "
1066 "behaviors.) Various other implementations also update I<sempid> for the "
1067 "other operations that update the value of a semaphore: the B<SETVAL> and "
1068 "B<SETALL> operations, as well as the semaphore adjustments performed on "
1069 "process termination as a consequence of the use of the B<SEM_UNDO> flag (see "
1070 "B<semop>(2))."
1071 msgstr ""
1072 "Choć niektóre implementacje są zgodne z zachowaniem opisanym w POSIX.1, to "
1073 "inne nie są (błąd prawdopodobnie leży tu w specyfikacji POSIX.1, jako że nie "
1074 "zauważyła ona tylu przykładów istniejących implementacji). Różne inne "
1075 "implementacje aktualizują I<sempid> również przy innych operacjach "
1076 "aktualizujących wartość semafora: operacjach B<SETVAL> i B<SETALL>, jak "
1077 "również dostosowaniach semafora wykonywanych przy zakończeniu procesu jako "
1078 "konsekwencji użycia flagi B<SEM_UNDO> (zob. B<semop>(2))."
1079
1080 #. commit a5f4db877177d2a3d7ae62a7bac3a5a27e083d7f
1081 #. type: Plain text
1082 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1083 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1084 msgid ""
1085 "Linux also updates I<sempid> for B<SETVAL> operations and semaphore "
1086 "adjustments. However, somewhat inconsistently, up to and including Linux "
1087 "4.5, the kernel did not update I<sempid> for B<SETALL> operations. This was "
1088 "rectified in Linux 4.6."
1089 msgstr ""
1090 "Linux aktualizuje I<sempid> również przy operacjach B<SETVAL> i "
1091 "dostosowaniach semafora. Jednak, nieco niekonsekwentnie, do wersji Linuksa "
1092 "4.5 włącznie, jądro nie aktualizowało I<sempid> przy operacjach B<SETALL>. "
1093 "Skorygowano to w Linuksie 4.6."
1094
1095 #. type: SH
1096 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1097 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1098 #, no-wrap
1099 msgid "STANDARDS"
1100 msgstr "STANDARDY"
1101
1102 #. type: Plain text
1103 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1104 #: opensuse-tumbleweed
1105 msgid "POSIX.1-2024."
1106 msgstr "POSIX.1-2024."
1107
1108 #. type: SH
1109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1111 #, no-wrap
1112 msgid "HISTORY"
1113 msgstr "HISTORIA"
1114
1115 #. SVr4 documents more error conditions EINVAL and EOVERFLOW.
1116 #. type: Plain text
1117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1119 msgid "POSIX.1-2001, SVr4."
1120 msgstr "POSIX.1-2001, SVr4."
1121
1122 #. type: Plain text
1123 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1124 #: opensuse-tumbleweed
1125 msgid ""
1126 "Various fields in a I<struct\\ semid_ds> were typed as I<short> under Linux "
1127 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
1128 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1129 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
1130 msgstr ""
1131 "Niektóre pola struktury I<struct\\ semid_ds> były w Linuksie 2.2 typu "
1132 "I<short>, ale stały się typu I<long> w Linuksie 2.4. Aby to wykorzystać, "
1133 "powinna wystarczyć rekompilacja pod glibc-2.1.91 lub nowszą. (Jądro "
1134 "rozróżnia stare wywołania od nowych za pomocą znacznika B<IPC_64> w I<op>)."
1135
1136 #. POSIX.1-2001, POSIX.1-2008
1137 #. type: Plain text
1138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1140 msgid ""
1141 "In some earlier versions of glibc, the I<semun> union was defined in "
1142 "I<E<lt>sys/sem.hE<gt>>, but POSIX.1 requires that the caller define this "
1143 "union. On versions of glibc where this union is I<not> defined, the macro "
1144 "B<_SEM_SEMUN_UNDEFINED> is defined in I<E<lt>sys/sem.hE<gt>>."
1145 msgstr ""
1146 "We wcześniejszych wersjach biblioteki glibc unia I<semun> była zdefiniowana "
1147 "w I<E<lt>sys/sem.hE<gt>>, jednakże POSIX.1 wymaga, żeby to program "
1148 "wywołujący definiował tę unię. Wersje glibc, które I<nie> definiują tej "
1149 "unii, definiują makro B<_SEM_SEMUN_UNDEFINED> w I<E<lt>sys/sem.hE<gt>>."
1150
1151 #. type: SH
1152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1154 #, no-wrap
1155 msgid "NOTES"
1156 msgstr "UWAGI"
1157
1158 #. type: Plain text
1159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1161 msgid ""
1162 "The B<IPC_INFO>, B<SEM_STAT>, and B<SEM_INFO> operations are used by the "
1163 "B<ipcs>(1) program to provide information on allocated resources. In the "
1164 "future these may modified or moved to a I</proc> filesystem interface."
1165 msgstr ""
1166 "Operacje B<IPC_INFO>, B<SEM_STAT> oraz B<SEM_INFO> są używane przez program "
1167 "B<ipcs>(1) w celu dostarczenia informacji o zajmowanych zasobach. W "
1168 "przyszłości operacje te mogą zostać zmodyfikowane lub przeniesione do "
1169 "interfejsu systemu plików I</proc>."
1170
1171 #. type: Plain text
1172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1174 msgid ""
1175 "The following system limit on semaphore sets affects a B<semctl>() call:"
1176 msgstr ""
1177 "Na wywołanie B<semctl>() wpływa następujące ograniczenie systemowe dotyczące "
1178 "zbioru semaforów:"
1179
1180 #. type: TP
1181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1183 #, no-wrap
1184 msgid "B<SEMVMX>"
1185 msgstr "B<SEMVMX>"
1186
1187 #
1188 #. type: Plain text
1189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1191 msgid "Maximum value for B<semval>: implementation dependent (32767)."
1192 msgstr "Maksymalna wartość B<semval>: zależna od implementacji (32767)."
1193
1194 #. type: Plain text
1195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1197 msgid ""
1198 "For greater portability, it is best to always call B<semctl>() with four "
1199 "arguments."
1200 msgstr ""
1201 "W celu uzyskania lepszej przenośności, najlepiej zawsze wywoływać "
1202 "B<semctl>() z czterema argumentami."
1203
1204 #. type: SH
1205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1207 #, no-wrap
1208 msgid "EXAMPLES"
1209 msgstr "PRZYKŁADY"
1210
1211 #. type: Plain text
1212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1214 msgid "See B<shmop>(2)."
1215 msgstr "Zobacz B<shmop>(2)."
1216
1217 #. type: SH
1218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1220 #, no-wrap
1221 msgid "SEE ALSO"
1222 msgstr "ZOBACZ TAKŻE"
1223
1224 #. type: Plain text
1225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1227 msgid ""
1228 "B<ipc>(2), B<semget>(2), B<semop>(2), B<capabilities>(7), "
1229 "B<sem_overview>(7), B<sysvipc>(7)"
1230 msgstr ""
1231 "B<ipc>(2), B<semget>(2), B<semop>(2), B<capabilities>(7), "
1232 "B<sem_overview>(7), B<sysvipc>(7)"
1233
1234 #. type: TH
1235 #: debian-trixie
1236 #, no-wrap
1237 msgid "2024-05-02"
1238 msgstr "2 maja 2024 r."
1239
1240 #. type: TH
1241 #: debian-trixie
1242 #, no-wrap
1243 msgid "Linux man-pages 6.9.1"
1244 msgstr "Linux man-pages 6.9.1"
1245
1246 #. type: Plain text
1247 #: debian-trixie
1248 msgid "Standard C library (I<libc>, I<-lc>)"
1249 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
1250
1251 #. type: Plain text
1252 #: debian-trixie fedora-44 fedora-rawhide
1253 #, no-wrap
1254 msgid ""
1255 "struct semid_ds {\n"
1256 " struct ipc_perm sem_perm; /* Ownership and permissions */\n"
1257 " time_t sem_otime; /* Last semop time */\n"
1258 " time_t sem_ctime; /* Creation time/time of last\n"
1259 " modification via semctl() */\n"
1260 " unsigned long sem_nsems; /* No. of semaphores in set */\n"
1261 "};\n"
1262 msgstr ""
1263 "struct semid_ds {\n"
1264 " struct ipc_perm sem_perm; /* Prawa dostępu */\n"
1265 " time_t sem_otime; /* Czas ostatniej operacji semop */\n"
1266 " time_t sem_ctime; /* Czas utworzenia/ostatniej zmiany\n"
1267 " za pomocą semctl() */\n"
1268 " unsigned long sem_nsems; /* Liczba semaforów w zestawie */\n"
1269 "};\n"
1270
1271 #. type: Plain text
1272 #: debian-trixie fedora-44 fedora-rawhide
1273 #, no-wrap
1274 msgid ""
1275 "struct ipc_perm {\n"
1276 " key_t __key; /* Key supplied to semget(2) */\n"
1277 " uid_t B<uid>; /* Effective UID of owner */\n"
1278 " gid_t B<gid>; /* Effective GID of owner */\n"
1279 " uid_t cuid; /* Effective UID of creator */\n"
1280 " gid_t cgid; /* Effective GID of creator */\n"
1281 " unsigned short B<mode>; /* Permissions */\n"
1282 " unsigned short __seq; /* Sequence number */\n"
1283 "};\n"
1284 msgstr ""
1285 "struct ipc_perm {\n"
1286 " key_t __key; /* Klucz podany w semget(2) */\n"
1287 " uid_t B<uid>; /* Efektywny UID właściciela */\n"
1288 " gid_t B<gid>; /* Efektywny GID właściciela */\n"
1289 " uid_t cuid; /* Efektywny UID twórcy */\n"
1290 " gid_t cgid; /* Efektywny GID twórcy */\n"
1291 " unsigned short B<mode>; /* Uprawnienia */\n"
1292 " unsigned short __seq; /* Numer sekwencji */\n"
1293 "};\n"
1294
1295 #. type: Plain text
1296 #: debian-trixie fedora-44 fedora-rawhide
1297 #, no-wrap
1298 msgid ""
1299 "struct seminfo {\n"
1300 " int semmap; /* Number of entries in semaphore\n"
1301 " map; unused within kernel */\n"
1302 " int semmni; /* Maximum number of semaphore sets */\n"
1303 " int semmns; /* Maximum number of semaphores in all\n"
1304 " semaphore sets */\n"
1305 " int semmnu; /* System-wide maximum number of undo\n"
1306 " structures; unused within kernel */\n"
1307 " int semmsl; /* Maximum number of semaphores in a\n"
1308 " set */\n"
1309 " int semopm; /* Maximum number of operations for\n"
1310 " semop(2) */\n"
1311 " int semume; /* Maximum number of undo entries per\n"
1312 " process; unused within kernel */\n"
1313 " int semusz; /* Size of struct sem_undo */\n"
1314 " int semvmx; /* Maximum semaphore value */\n"
1315 " int semaem; /* Max. value that can be recorded for\n"
1316 " semaphore adjustment (SEM_UNDO) */\n"
1317 "};\n"
1318 msgstr ""
1319 "struct seminfo {\n"
1320 " int semmap; /* Liczba wpisów w mapie semaforów\n"
1321 " nieużywane przez jądro */\n"
1322 " int semmni; /* Maksymalna liczba zestawów semaforów */\n"
1323 " int semmns; /* Maksymalna liczba semaforów we wszystkich\n"
1324 " zestawach semaforów */\n"
1325 " int semmnu; /* Maksymalna liczba struktur wycofania (undo)\n"
1326 " w systemie; nieużywane przez jądro*/\n"
1327 " int semmsl; /* Maksymalna liczba semaforów \n"
1328 " w zestawie */\n"
1329 " int semopm; /* Maksymalna liczba operacji dla\n"
1330 " semop(2) */\n"
1331 " int semume; /* Maksymalna liczba wpisów wycofania (undo)\n"
1332 " procesu; nieużywane przez jądro */\n"
1333 " int semusz; /* Rozmiar struktury sem_undo */\n"
1334 " int semvmx; /* Maksymalna wartość semafora */\n"
1335 " int semaem; /* Maksymalna wartość możliwa do zapamiętania\n"
1336 " dla regulacji semafora (SEM_UNDO) */\n"
1337 "};\n"
1338
1339 #. type: Plain text
1340 #: debian-trixie
1341 msgid ""
1342 "Return the B<sempid> value for the I<semnum>-th semaphore of the set. This "
1343 "is the PID of the process that last performed an operation on that semaphore "
1344 "(but see NOTES). The calling process must have read permission on the "
1345 "semaphore set."
1346 msgstr ""
1347 "Zwraca wartość B<sempid> skojarzoną z semaforem o numerze I<semnum> w "
1348 "zestawie. Jest to identyfikator procesu, który wykonał ostatnią operację na "
1349 "tym semaforze (ale zob. UWAGI). Proces wywołujący musi mieć prawa do odczytu "
1350 "zestawu semaforów."
1351
1352 #. type: Plain text
1353 #: debian-trixie fedora-44 fedora-rawhide
1354 msgid "POSIX.1-2008."
1355 msgstr "POSIX.1-2008."
1356
1357 #. type: Plain text
1358 #: debian-trixie fedora-44 fedora-rawhide
1359 msgid ""
1360 "Various fields in a I<struct semid_ds> were typed as I<short> under Linux "
1361 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
1362 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1363 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
1364 msgstr ""
1365 "Niektóre pola struktury I<struct semid_ds> były w Linuksie 2.2 typu "
1366 "I<short>, ale stały się typu I<long> w Linuksie 2.4. Aby to wykorzystać, "
1367 "powinna wystarczyć rekompilacja pod glibc-2.1.91 lub nowszą. (Jądro "
1368 "rozróżnia stare wywołania od nowych za pomocą znacznika B<IPC_64> w I<op>)."
1369
1370 #. type: TH
1371 #: fedora-44 fedora-rawhide
1372 #, no-wrap
1373 msgid "2024-07-23"
1374 msgstr "23 lipca 2024 r."
1375
1376 #. type: TH
1377 #: fedora-44 fedora-rawhide
1378 #, no-wrap
1379 msgid "Linux man-pages 6.13"
1380 msgstr "Linux man-pages 6.13"
1381
1382 #. type: TH
1383 #: mageia-cauldron
1384 #, no-wrap
1385 msgid "Linux man-pages 6.17"
1386 msgstr "Linux man-pages 6.17"
1387
1388 #. type: TH
1389 #: opensuse-leap-16-1 opensuse-tumbleweed
1390 #, no-wrap
1391 msgid "Linux man-pages (unreleased)"
1392 msgstr "Linux man-pages (niewydane)"