| 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, 2024, 2025, 2026. |
| 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: 2026-03-15 12:33+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 "semop" |
| 28 |
msgstr "semop" |
| 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 "semop, semtimedop - System V semaphore operations" |
| 54 |
msgstr "semop, semtimedop - operacje na semaforach 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 "" |
| 89 |
"B<int semop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<);>\n" |
| 90 |
"B<int semtimedop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<,>\n" |
| 91 |
"B< const struct timespec *_Nullable >I<timeout>B<);>\n" |
| 92 |
msgstr "" |
| 93 |
"B<int semop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<);>\n" |
| 94 |
"B<int semtimedop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<,>\n" |
| 95 |
"B< const struct timespec *_Nullable >I<timeout>B<);>\n" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 99 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
msgid "" |
| 101 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 102 |
msgstr "" |
| 103 |
"Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):" |
| 104 |
|
| 105 |
#. type: Plain text |
| 106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 108 |
msgid "B<semtimedop>():" |
| 109 |
msgstr "B<semtimedop>():" |
| 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 |
#, no-wrap |
| 115 |
msgid " _GNU_SOURCE\n" |
| 116 |
msgstr " _GNU_SOURCE\n" |
| 117 |
|
| 118 |
#. type: SH |
| 119 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 120 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 121 |
#, no-wrap |
| 122 |
msgid "DESCRIPTION" |
| 123 |
msgstr "OPIS" |
| 124 |
|
| 125 |
#. type: Plain text |
| 126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 128 |
msgid "" |
| 129 |
"Each semaphore in a System\\ V semaphore set has the following associated " |
| 130 |
"values:" |
| 131 |
msgstr "" |
| 132 |
"Z każdym semaforem w zestawie semaforów Systemu\\ V są skojarzone " |
| 133 |
"następujące wartości:" |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
#, no-wrap |
| 139 |
msgid "" |
| 140 |
"unsigned short semval; /* semaphore value */\n" |
| 141 |
"unsigned short semzcnt; /* # waiting for zero */\n" |
| 142 |
"unsigned short semncnt; /* # waiting for increase */\n" |
| 143 |
"pid_t sempid; /* PID of process that last\n" |
| 144 |
" modified the semaphore value */\n" |
| 145 |
msgstr "" |
| 146 |
"unsigned short semval; /* wartość semafora */\n" |
| 147 |
"unsigned short semzcnt; /* liczba oczekujących na zero */\n" |
| 148 |
"unsigned short semncnt; /* liczba oczekujących na zwiększenie */\n" |
| 149 |
"pid_t sempid; /* PID procesu, który jako ostatni\n" |
| 150 |
" zmodyfikował wartość semafora */\n" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"B<semop>() performs operations on selected semaphores in the set indicated " |
| 157 |
"by I<semid>. Each of the I<nsops> elements in the array pointed to by " |
| 158 |
"I<sops> is a structure that specifies an operation to be performed on a " |
| 159 |
"single semaphore. The elements of this structure are of type I<struct " |
| 160 |
"sembuf>, containing the following members:" |
| 161 |
msgstr "" |
| 162 |
"B<semop>() wykonuje operacje na wybranych semaforach z zestawu wskazywanego " |
| 163 |
"przez I<semid>. Każdy z I<nsops> elementów tablicy wskazywanej przez " |
| 164 |
"parametr I<sops> jest strukturą określającą operację, która ma być wykonana " |
| 165 |
"na pojedynczym semaforze. Struktura I<struct sembuf> zawiera następujące " |
| 166 |
"pola:" |
| 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 |
#, no-wrap |
| 172 |
msgid "" |
| 173 |
"unsigned short sem_num; /* semaphore number */\n" |
| 174 |
"short sem_op; /* semaphore operation */\n" |
| 175 |
"short sem_flg; /* operation flags */\n" |
| 176 |
msgstr "" |
| 177 |
"unsigned short sem_num; /* numer semafora */\n" |
| 178 |
"short sem_op; /* operacja na semaforze */\n" |
| 179 |
"short sem_flg; /* znaczniki operacji */\n" |
| 180 |
|
| 181 |
#. type: Plain text |
| 182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 184 |
msgid "" |
| 185 |
"Flags recognized in I<sem_flg> are B<IPC_NOWAIT> and B<SEM_UNDO>. If an " |
| 186 |
"operation specifies B<SEM_UNDO>, it will be automatically undone when the " |
| 187 |
"process terminates." |
| 188 |
msgstr "" |
| 189 |
"W I<sem_flg> mogą zostać ustawione znaczniki operacji: B<IPC_NOWAIT> i " |
| 190 |
"B<SEM_UNDO>. Jeśli podano znaczniki B<SEM_UNDO>, to operacja zostanie " |
| 191 |
"automatycznie cofnięta w chwili, gdy proces zakończy działanie." |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "" |
| 197 |
"The set of operations contained in I<sops> is performed in I<array order>, " |
| 198 |
"and I<atomically>, that is, the operations are performed either as a " |
| 199 |
"complete unit, or not at all. The behavior of the system call if not all " |
| 200 |
"operations can be performed immediately depends on the presence of the " |
| 201 |
"B<IPC_NOWAIT> flag in the individual I<sem_flg> fields, as noted below." |
| 202 |
msgstr "" |
| 203 |
"Zestaw operacji zawartych w I<sops> jest wykonywany w I<kolejności elementów " |
| 204 |
"tablicy> oraz I<atomowo>, co oznacza, że operacje są wykonywane albo w " |
| 205 |
"całości, albo wcale. Zachowanie wywołania systemowego w sytuacji, gdy nie " |
| 206 |
"wszystkie operacje mogą być wykonane natychmiast, zależy od ustawienia " |
| 207 |
"znacznika B<IPC_NOWAIT> w poszczególnych polach I<sem_flg>, jak to opisano " |
| 208 |
"poniżej." |
| 209 |
|
| 210 |
#. type: Plain text |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
msgid "" |
| 214 |
"Each operation is performed on the I<sem_num>-th semaphore of the semaphore " |
| 215 |
"set, where the first semaphore of the set is numbered 0. There are three " |
| 216 |
"types of operation, distinguished by the value of I<sem_op>." |
| 217 |
msgstr "" |
| 218 |
"Każda z operacji jest wykonywana na semaforze o numerze I<sem_num> w " |
| 219 |
"zestawie, przy czym pierwszy semafor ma numer 0. Są trzy rodzaje operacji " |
| 220 |
"rozróżniane na podstawie wartości I<sem_op>." |
| 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 |
"If I<sem_op> is a positive integer, the operation adds this value to the " |
| 227 |
"semaphore value (I<semval>). Furthermore, if B<SEM_UNDO> is specified for " |
| 228 |
"this operation, the system subtracts the value I<sem_op> from the semaphore " |
| 229 |
"adjustment (I<semadj>) value for this semaphore. This operation can always " |
| 230 |
"proceed\\[em]it never forces a thread to wait. The calling process must " |
| 231 |
"have alter permission on the semaphore set." |
| 232 |
msgstr "" |
| 233 |
"Jeśli I<sem_op> jest liczbą dodatnią, to wartość semafora (I<semval>) " |
| 234 |
"zostanie zwiększona o tę liczbę. Ponadto jeśli przekazano znacznik " |
| 235 |
"B<SEM_UNDO>, to system odejmuje wartość (I<semop>) od wartości dopasowania " |
| 236 |
"(I<semadj>) tego semafora. Operacja ta zawsze może być wykonana \\[em] nigdy " |
| 237 |
"nie spowoduje wstrzymania wątku. Proces wywołujący funkcję musi mieć prawo " |
| 238 |
"do modyfikacji zestawu semaforów." |
| 239 |
|
| 240 |
#. type: Plain text |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
msgid "" |
| 244 |
"If I<sem_op> is zero, the process must have read permission on the semaphore " |
| 245 |
"set. This is a \"wait-for-zero\" operation: if I<semval> is zero, the " |
| 246 |
"operation can immediately proceed. Otherwise, if B<IPC_NOWAIT> is specified " |
| 247 |
"in I<sem_flg>, B<semop>() fails with I<errno> set to B<EAGAIN> (and none of " |
| 248 |
"the operations in I<sops> is performed). Otherwise, I<semzcnt> (the count " |
| 249 |
"of threads waiting until this semaphore's value becomes zero) is " |
| 250 |
"incremented by one and the thread sleeps until one of the following occurs:" |
| 251 |
msgstr "" |
| 252 |
"Jeśli I<sem_op> jest równe 0, proces musi mieć prawo do odczytu zestawu " |
| 253 |
"semaforów. Jest to operacja \"oczekiwania na zero\" (wait-for-zero): gdy " |
| 254 |
"I<semval> ma wartość 0, operacja może być kontynuowana bezzwłocznie. W " |
| 255 |
"przeciwnym razie, jeśli w I<sem_flg> przekazany został znacznik " |
| 256 |
"B<IPC_NOWAIT>, wówczas B<semop>() zgłosi błąd, zaś zmienna I<errno> przyjmie " |
| 257 |
"wartość B<EAGAIN> (i żadna z operacji z I<sops> nie zostanie wykonana). " |
| 258 |
"Jeżeli proces zostanie wstrzymany przez system, wówczas wartość I<semzcnt> " |
| 259 |
"(liczby wątków oczekujących na osiągnięcie przez semafor wartości zero) " |
| 260 |
"zostanie zwiększona o 1, a wątek będzie zawieszony aż do chwili, gdy " |
| 261 |
"spełniony zostanie jeden z poniższych warunków:" |
| 262 |
|
| 263 |
#. type: IP |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
#, no-wrap |
| 267 |
msgid "\\[bu]" |
| 268 |
msgstr "\\[bu]" |
| 269 |
|
| 270 |
# |
| 271 |
#. type: Plain text |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
msgid "" |
| 275 |
"I<semval> becomes 0, at which time the value of I<semzcnt> is decremented." |
| 276 |
msgstr "" |
| 277 |
"I<semval> osiągnie wartość 0; wówczas wartość pola I<semzcnt> zostanie " |
| 278 |
"zmniejszona o 1." |
| 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 semaphore set is removed: B<semop>() fails, with I<errno> set to " |
| 285 |
"B<EIDRM>." |
| 286 |
msgstr "" |
| 287 |
"Zestaw semaforów zostanie usunięty: B<semop>() się nie powiedzie i przypisze " |
| 288 |
"zmiennej I<errno> wartość B<EIDRM>." |
| 289 |
|
| 290 |
#. type: Plain text |
| 291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 293 |
msgid "" |
| 294 |
"The calling thread catches a signal: the value of I<semzcnt> is decremented " |
| 295 |
"and B<semop>() fails, with I<errno> set to B<EINTR>." |
| 296 |
msgstr "" |
| 297 |
"Wątek wywołujący funkcję przechwyci sygnał: wartość I<semzcnt> zostanie " |
| 298 |
"zmniejszona, a B<semop>() zakończy się niepowodzeniem i przypisze zmiennej " |
| 299 |
"I<errno> wartość B<EINTR>." |
| 300 |
|
| 301 |
#. type: Plain text |
| 302 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 303 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 304 |
msgid "" |
| 305 |
"If I<sem_op> is less than zero, the process must have alter permission on " |
| 306 |
"the semaphore set. If I<semval> is greater than or equal to the absolute " |
| 307 |
"value of I<sem_op>, the operation can proceed immediately: the absolute " |
| 308 |
"value of I<sem_op> is subtracted from I<semval>, and, if B<SEM_UNDO> is " |
| 309 |
"specified for this operation, the system adds the absolute value of " |
| 310 |
"I<sem_op> to the semaphore adjustment (I<semadj>) value for this " |
| 311 |
"semaphore. If the absolute value of I<sem_op> is greater than I<semval>, " |
| 312 |
"and B<IPC_NOWAIT> is specified in I<sem_flg>, B<semop>() fails, with " |
| 313 |
"I<errno> set to B<EAGAIN> (and none of the operations in I<sops> is " |
| 314 |
"performed). Otherwise, I<semncnt> (the counter of threads waiting for this " |
| 315 |
"semaphore's value to increase) is incremented by one and the thread sleeps " |
| 316 |
"until one of the following occurs:" |
| 317 |
msgstr "" |
| 318 |
"Jeśli I<sem_op> ma wartość mniejszą od 0, to proces musi mieć prawo do " |
| 319 |
"modyfikacji zestawu semaforów. Jeśli wówczas wartość semafora I<semval> jest " |
| 320 |
"większa lub równa wartości bezwzględnej I<sem_op>, to operacja może być " |
| 321 |
"kontynuowana bezzwłocznie: wartość semafora I<semval> zostanie zmniejszona o " |
| 322 |
"wartość bezwzględną I<sem_op>. Ponadto, jeśli przekazano znacznik " |
| 323 |
"B<SEM_UNDO>, to system dodaje całkowitą wartość I<sem_op> do wartości " |
| 324 |
"dopasowania (I<semadj>) tego semafora. Jeśli wartość bezwzględna I<sem_op> " |
| 325 |
"jest większa niż I<semval>, a w I<sem_flg> przekazano znacznik " |
| 326 |
"B<IPC_NOWAIT>, to B<semop>() zakończy się niepomyślnie, przypisując zmiennej " |
| 327 |
"I<errno> wartość B<EAGAIN> (i żadna z operacji z I<sops> nie zostanie " |
| 328 |
"wykonana). W przeciwnym wypadku I<semncnt> (licznik wątków oczekujących na " |
| 329 |
"zwiększenie wartości tego semafora) zostanie zwiększony o 1, a wątek nie " |
| 330 |
"zostanie wznowiony aż do chwili wystąpienia jednego z następujących zdarzeń:" |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
msgid "" |
| 336 |
"I<semval> becomes greater than or equal to the absolute value of I<sem_op>: " |
| 337 |
"the operation now proceeds, as described above." |
| 338 |
msgstr "" |
| 339 |
"I<semval> staje się większa lub równa wartości całkowitej I<sem_op>: " |
| 340 |
"operacja przebiega teraz zgodnie z opisem powyżej." |
| 341 |
|
| 342 |
#. type: Plain text |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
msgid "" |
| 346 |
"The semaphore set is removed from the system: B<semop>() fails, with " |
| 347 |
"I<errno> set to B<EIDRM>." |
| 348 |
msgstr "" |
| 349 |
"Zestaw zostanie usunięty z systemu: B<semop>() zwróci błąd i ustawi zmienną " |
| 350 |
"I<errno> na wartość B<EIDRM>." |
| 351 |
|
| 352 |
#. type: Plain text |
| 353 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 354 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 355 |
msgid "" |
| 356 |
"The calling thread catches a signal: the value of I<semncnt> is decremented " |
| 357 |
"and B<semop>() fails, with I<errno> set to B<EINTR>." |
| 358 |
msgstr "" |
| 359 |
"Wątek wywołujący funkcję przechwyci sygnał: wartość I<semncnt> zostanie " |
| 360 |
"zmniejszona, a B<semop>() zakończy się niepowodzeniem i przypisze zmiennej " |
| 361 |
"I<errno> wartość B<EINTR>." |
| 362 |
|
| 363 |
#. and |
| 364 |
#. .I sem_ctime |
| 365 |
#. type: Plain text |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
msgid "" |
| 369 |
"On successful completion, the I<sempid> value for each semaphore specified " |
| 370 |
"in the array pointed to by I<sops> is set to the caller's process ID. In " |
| 371 |
"addition, the I<sem_otime> is set to the current time." |
| 372 |
msgstr "" |
| 373 |
"Jeśli operacja zostanie zakończona pomyślnie, to wartości I<sempid> każdego " |
| 374 |
"z semaforów wyszczególnionych w tablicy wskazywanej przez I<sops> przypisany " |
| 375 |
"zostanie identyfikator procesu (PID) wywołującego. Ponadto polu I<sem_otime> " |
| 376 |
"przypisany zostanie bieżący czas." |
| 377 |
|
| 378 |
#. type: SS |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
#, no-wrap |
| 382 |
msgid "semtimedop()" |
| 383 |
msgstr "semtimedop()" |
| 384 |
|
| 385 |
#. type: Plain text |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
msgid "" |
| 389 |
"B<semtimedop>() behaves identically to B<semop>() except that in those " |
| 390 |
"cases where the calling thread would sleep, the duration of that sleep is " |
| 391 |
"limited by the amount of elapsed time specified by the I<timespec> structure " |
| 392 |
"whose address is passed in the I<timeout> argument. (This sleep interval " |
| 393 |
"will be rounded up to the system clock granularity, and kernel scheduling " |
| 394 |
"delays mean that the interval may overrun by a small amount.) If the " |
| 395 |
"specified time limit has been reached, B<semtimedop>() fails with I<errno> " |
| 396 |
"set to B<EAGAIN> (and none of the operations in I<sops> is performed). If " |
| 397 |
"the I<timeout> argument is NULL, then B<semtimedop>() behaves exactly like " |
| 398 |
"B<semop>()." |
| 399 |
msgstr "" |
| 400 |
"B<semtimedop>() zachowuje się tak samo jak B<semop>(), poza tym że w tych " |
| 401 |
"przypadkach, gdy wątek wywołujący by spał, czas trwania spania jest " |
| 402 |
"ograniczony przez czas określony w strukturze I<timespec>, której adres jest " |
| 403 |
"przekazywany w parametrze I<timeout> (interwał zostanie zaokrąglony w górę " |
| 404 |
"do dokładności zegara, a występowanie opóźnienia planisty jądra oznacza, że " |
| 405 |
"ten interwał może być nieznacznie przekroczony). Jeśli osiągnięto określony " |
| 406 |
"limit czasu, to B<semtimedop>() zwraca błąd, ustawiając I<errno> na " |
| 407 |
"B<EAGAIN> (i żadna z operacji w I<sops> nie jest wykonywana). Jeżeli " |
| 408 |
"parametr I<timeout> jest NULL, to B<semtimedop>() zachowuje się dokładnie " |
| 409 |
"tak samo jak B<semop>()." |
| 410 |
|
| 411 |
#. type: Plain text |
| 412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 414 |
msgid "" |
| 415 |
"Note that if B<semtimedop>() is interrupted by a signal, causing the call " |
| 416 |
"to fail with the error B<EINTR>, the contents of I<timeout> are left " |
| 417 |
"unchanged." |
| 418 |
msgstr "" |
| 419 |
"Proszę zauważyć, że jeśli B<semtimedop>() zostanie przerwane przez sygnał, " |
| 420 |
"co spowoduje niepomyślne zakończenie wywołania z błędem B<EINTR>, zawartość " |
| 421 |
"I<timeout> pozostanie bez zmian." |
| 422 |
|
| 423 |
#. type: SH |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "RETURN VALUE" |
| 428 |
msgstr "WARTOŚĆ ZWRACANA" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
msgid "" |
| 434 |
"On success, B<semop>() and B<semtimedop>() return 0. On failure, they " |
| 435 |
"return -1, and set I<errno> to indicate the error." |
| 436 |
msgstr "" |
| 437 |
"B<semop>() i B<semtimedop> zwracają 0, jeśli zakończą się pomyślnie. W " |
| 438 |
"przypadku błędu zwracają -1 i ustawiają I<errno> wskazując błąd." |
| 439 |
|
| 440 |
#. type: SH |
| 441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 443 |
#, no-wrap |
| 444 |
msgid "ERRORS" |
| 445 |
msgstr "BŁĘDY" |
| 446 |
|
| 447 |
#. type: TP |
| 448 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 449 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 450 |
#, no-wrap |
| 451 |
msgid "B<E2BIG>" |
| 452 |
msgstr "B<E2BIG>" |
| 453 |
|
| 454 |
# |
| 455 |
#. type: Plain text |
| 456 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 457 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 458 |
msgid "" |
| 459 |
"The argument I<nsops> is greater than B<SEMOPM>, the maximum number of " |
| 460 |
"operations allowed per system call." |
| 461 |
msgstr "" |
| 462 |
"Wartość I<nsops> przekracza B<SEMOPM>, maksymalną liczbę operacji " |
| 463 |
"wykonywanych w jednym wywołaniu." |
| 464 |
|
| 465 |
#. type: TP |
| 466 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 467 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 468 |
#, no-wrap |
| 469 |
msgid "B<EACCES>" |
| 470 |
msgstr "B<EACCES>" |
| 471 |
|
| 472 |
#. type: Plain text |
| 473 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 474 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 475 |
msgid "" |
| 476 |
"The calling process does not have the permissions required to perform the " |
| 477 |
"specified semaphore operations, and does not have the B<CAP_IPC_OWNER> " |
| 478 |
"capability in the user namespace that governs its IPC namespace." |
| 479 |
msgstr "" |
| 480 |
"Proces wywołujący nie ma wystarczających uprawnień do wykonania podanych " |
| 481 |
"operacji na semaforach oraz nie ma ustawionego przywileju B<CAP_IPC_OWNER> " |
| 482 |
"(ang. capability) w przestrzeni nazw użytkownika, która zarządza jego " |
| 483 |
"przestrzenią nazw IPC." |
| 484 |
|
| 485 |
#. type: TP |
| 486 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 487 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 488 |
#, no-wrap |
| 489 |
msgid "B<EAGAIN>" |
| 490 |
msgstr "B<EAGAIN>" |
| 491 |
|
| 492 |
#. type: Plain text |
| 493 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 494 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 495 |
msgid "" |
| 496 |
"An operation could not proceed immediately and either B<IPC_NOWAIT> was " |
| 497 |
"specified in I<sem_flg> or the time limit specified in I<timeout> expired." |
| 498 |
msgstr "" |
| 499 |
"Operacja opatrzona znacznikiem B<IPC_NOWAIT> w I<sem_flg> nie może być " |
| 500 |
"natychmiast wykonana lub upłynął limit czasu określony w parametrze " |
| 501 |
"I<timeout>." |
| 502 |
|
| 503 |
#. type: TP |
| 504 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 505 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 506 |
#, no-wrap |
| 507 |
msgid "B<EFAULT>" |
| 508 |
msgstr "B<EFAULT>" |
| 509 |
|
| 510 |
#. type: Plain text |
| 511 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 512 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 513 |
msgid "" |
| 514 |
"An address specified in either the I<sops> or the I<timeout> argument isn't " |
| 515 |
"accessible." |
| 516 |
msgstr "" |
| 517 |
"Adres wskazywany przez parametr I<sops> lub I<timeout> jest niedostępny." |
| 518 |
|
| 519 |
#. type: TP |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
#, no-wrap |
| 523 |
msgid "B<EFBIG>" |
| 524 |
msgstr "B<EFBIG>" |
| 525 |
|
| 526 |
# |
| 527 |
#. type: Plain text |
| 528 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 529 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 530 |
msgid "" |
| 531 |
"For some operation the value of I<sem_num> is less than 0 or greater than or " |
| 532 |
"equal to the number of semaphores in the set." |
| 533 |
msgstr "" |
| 534 |
"Numer semafora I<sem_num>, do którego odnosi się jedna z operacji, jest " |
| 535 |
"mniejszy od 0 albo większy lub równy liczbie semaforów w zestawie." |
| 536 |
|
| 537 |
#. type: TP |
| 538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
#, no-wrap |
| 541 |
msgid "B<EIDRM>" |
| 542 |
msgstr "B<EIDRM>" |
| 543 |
|
| 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 "The semaphore set was removed." |
| 549 |
msgstr "Zestaw semaforów został usunięty." |
| 550 |
|
| 551 |
#. type: TP |
| 552 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 553 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 554 |
#, no-wrap |
| 555 |
msgid "B<EINTR>" |
| 556 |
msgstr "B<EINTR>" |
| 557 |
|
| 558 |
#. type: Plain text |
| 559 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 560 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 561 |
msgid "" |
| 562 |
"While blocked in this system call, the thread caught a signal; see " |
| 563 |
"B<signal>(7)." |
| 564 |
msgstr "" |
| 565 |
"Wątek przechwycił sygnał podczas oczekiwania na odebranie komunikatu; patrz " |
| 566 |
"B<signal>(7)." |
| 567 |
|
| 568 |
#. type: TP |
| 569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 571 |
#, no-wrap |
| 572 |
msgid "B<EINVAL>" |
| 573 |
msgstr "B<EINVAL>" |
| 574 |
|
| 575 |
#. type: Plain text |
| 576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 578 |
msgid "" |
| 579 |
"The semaphore set doesn't exist, or I<semid> is less than zero, or I<nsops> " |
| 580 |
"has a nonpositive value." |
| 581 |
msgstr "" |
| 582 |
"Zestaw semaforów nie istnieje lub wartość I<semid> jest mniejsza od zera, " |
| 583 |
"lub wartość I<nsops> nie jest liczbą dodatnią." |
| 584 |
|
| 585 |
#. type: TP |
| 586 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 587 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 588 |
#, no-wrap |
| 589 |
msgid "B<ENOMEM>" |
| 590 |
msgstr "B<ENOMEM>" |
| 591 |
|
| 592 |
#. type: Plain text |
| 593 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 594 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 595 |
msgid "" |
| 596 |
"The I<sem_flg> of some operation specified B<SEM_UNDO> and the system does " |
| 597 |
"not have enough memory to allocate the undo structure." |
| 598 |
msgstr "" |
| 599 |
"Znacznik B<SEM_UNDO> został ustawiony w I<sem_flg> dla pewnej operacji, a w " |
| 600 |
"systemie nie ma wystarczającej ilości pamięci na utworzenie nowej struktury " |
| 601 |
"do przechowywania informacji o zmianach." |
| 602 |
|
| 603 |
#. type: TP |
| 604 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 605 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 606 |
#, no-wrap |
| 607 |
msgid "B<ERANGE>" |
| 608 |
msgstr "B<ERANGE>" |
| 609 |
|
| 610 |
# |
| 611 |
#. type: Plain text |
| 612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 614 |
msgid "" |
| 615 |
"For some operation I<sem_op+semval> is greater than B<SEMVMX>, the " |
| 616 |
"implementation dependent maximum value for I<semval>." |
| 617 |
msgstr "" |
| 618 |
"Dla pewnej operacji wartość I<sem_op+semval> przekroczyła B<SEMVMX>, czyli " |
| 619 |
"zależną od implementacji maksymalną wartość I<semval>." |
| 620 |
|
| 621 |
#. type: SH |
| 622 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 623 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 624 |
#, no-wrap |
| 625 |
msgid "STANDARDS" |
| 626 |
msgstr "STANDARDY" |
| 627 |
|
| 628 |
#. type: Plain text |
| 629 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 630 |
#: opensuse-tumbleweed |
| 631 |
msgid "POSIX.1-2024." |
| 632 |
msgstr "POSIX.1-2024." |
| 633 |
|
| 634 |
#. type: SH |
| 635 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 636 |
#: opensuse-tumbleweed |
| 637 |
#, no-wrap |
| 638 |
msgid "HISTORY" |
| 639 |
msgstr "HISTORIA" |
| 640 |
|
| 641 |
#. type: TP |
| 642 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 643 |
#: opensuse-tumbleweed |
| 644 |
#, no-wrap |
| 645 |
msgid "B<semop>()" |
| 646 |
msgstr "B<semop>()" |
| 647 |
|
| 648 |
#. type: Plain text |
| 649 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 650 |
#: opensuse-tumbleweed |
| 651 |
msgid "SVr4, POSIX.1-2001." |
| 652 |
msgstr "SVr4, POSIX.1-2001." |
| 653 |
|
| 654 |
#. type: TP |
| 655 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 656 |
#: opensuse-tumbleweed |
| 657 |
#, no-wrap |
| 658 |
msgid "B<semtimedop>()" |
| 659 |
msgstr "B<semtimedop>()" |
| 660 |
|
| 661 |
#. SVr4 documents additional error conditions EINVAL, EFBIG, ENOSPC. |
| 662 |
#. type: Plain text |
| 663 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 664 |
#: opensuse-tumbleweed |
| 665 |
msgid "SVr4, Linux 2.5.52 (backported into Linux 2.4.22), glibc 2.3.3." |
| 666 |
msgstr "" |
| 667 |
"SVr4, Linux 2.5.52 (przeniesione również na Linuksa 2.4.22), glibc 2.3.3." |
| 668 |
|
| 669 |
#. type: SH |
| 670 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 671 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 672 |
#, no-wrap |
| 673 |
msgid "NOTES" |
| 674 |
msgstr "UWAGI" |
| 675 |
|
| 676 |
#. type: Plain text |
| 677 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 678 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 679 |
msgid "" |
| 680 |
"The I<sem_undo> structures of a process aren't inherited by the child " |
| 681 |
"produced by B<fork>(2), but they are inherited across an B<execve>(2) " |
| 682 |
"system call." |
| 683 |
msgstr "" |
| 684 |
"Struktury I<sem_undo> nie są dziedziczone przez dzieci tworzone za pomocą " |
| 685 |
"B<fork>(2), ale są dziedziczone przez wywołanie systemowe B<execve>(2)." |
| 686 |
|
| 687 |
#. type: Plain text |
| 688 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 689 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 690 |
msgid "" |
| 691 |
"B<semop>() is never automatically restarted after being interrupted by a " |
| 692 |
"signal handler, regardless of the setting of the B<SA_RESTART> flag when " |
| 693 |
"establishing a signal handler." |
| 694 |
msgstr "" |
| 695 |
"B<semop>() nie jest nigdy automatycznie uruchamiana ponownie po przerwaniu " |
| 696 |
"przez funkcję obsługi sygnału, niezależnie od ustawień znacznika " |
| 697 |
"B<SA_RESTART> używanego podczas tworzenia funkcji obsługi sygnału." |
| 698 |
|
| 699 |
#. type: Plain text |
| 700 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 701 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 702 |
msgid "" |
| 703 |
"A semaphore adjustment (I<semadj>) value is a per-process, per-semaphore " |
| 704 |
"integer that is the negated sum of all operations performed on a semaphore " |
| 705 |
"specifying the B<SEM_UNDO> flag. Each process has a list of I<semadj> " |
| 706 |
"values\\[em]one value for each semaphore on which it has operated using " |
| 707 |
"B<SEM_UNDO>. When a process terminates, each of its per-semaphore I<semadj> " |
| 708 |
"values is added to the corresponding semaphore, thus undoing the effect of " |
| 709 |
"that process's operations on the semaphore (but see BUGS below). When a " |
| 710 |
"semaphore's value is directly set using the B<SETVAL> or B<SETALL> request " |
| 711 |
"to B<semctl>(2), the corresponding I<semadj> values in all processes are " |
| 712 |
"cleared. The B<clone>(2) B<CLONE_SYSVSEM> flag allows more than one " |
| 713 |
"process to share a I<semadj> list; see B<clone>(2) for details." |
| 714 |
msgstr "" |
| 715 |
"Wartość dopasowania semafora (I<semadj>) jest przypisana do procesu i " |
| 716 |
"semafora i jest sumą wszystkich operacji na semaforze z flagą B<SEM_UNDO>, " |
| 717 |
"ze znakiem przeciwnym. Każdy proces ma listę wartości I<semadj> \\[em] po " |
| 718 |
"jednej dla każdego semafora na której operuje za pomocą B<SEM_UNDO>. Gdy " |
| 719 |
"proces się kończy wszystkie jego wartości I<semadj> przypisane do " |
| 720 |
"poszczególnych semaforów są do nich dodawane, co powoduje przywrócenie " |
| 721 |
"wartości semafora sprzed działania procesu (zob. jednak na USTERKI). Gdy " |
| 722 |
"wartość semafora jest ustawiane bezpośrednio za pomocą żądań B<SETVAL> lub " |
| 723 |
"B<SETALL> do B<semctl>(2), to odpowiadające wartości I<semadj> we wszystkich " |
| 724 |
"procesach są czyszczone. Flaga B<CLONE_SYSVSEM> B<clone>(2) pozwala to " |
| 725 |
"dzielenie listy I<semadj> przez więcej niż jeden proces, więcej szczegółów w " |
| 726 |
"podręczniku B<clone>(2)." |
| 727 |
|
| 728 |
# |
| 729 |
#. type: Plain text |
| 730 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 731 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 732 |
msgid "" |
| 733 |
"The I<semval>, I<sempid>, I<semzcnt>, and I<semnct> values for a semaphore " |
| 734 |
"can all be retrieved using appropriate B<semctl>(2) calls." |
| 735 |
msgstr "" |
| 736 |
"Wartości I<semval>, I<sempid>, I<semzcnt> i I<semnct> dla semafora można " |
| 737 |
"odczytać za pomocą odpowiednich wywołań B<semctl>(2)." |
| 738 |
|
| 739 |
#. type: SS |
| 740 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 741 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 742 |
#, no-wrap |
| 743 |
msgid "Semaphore limits" |
| 744 |
msgstr "Limity semaforów" |
| 745 |
|
| 746 |
#. type: Plain text |
| 747 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 748 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 749 |
msgid "" |
| 750 |
"The following limits on semaphore set resources affect the B<semop>() call:" |
| 751 |
msgstr "" |
| 752 |
"Wywołania B<semop>() dotyczą następujące ograniczenia zasobów związanych z " |
| 753 |
"zestawami semaforów:" |
| 754 |
|
| 755 |
#. type: TP |
| 756 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 757 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 758 |
#, no-wrap |
| 759 |
msgid "B<SEMOPM>" |
| 760 |
msgstr "B<SEMOPM>" |
| 761 |
|
| 762 |
#. commit e843e7d2c88b7db107a86bd2c7145dc715c058f4 |
| 763 |
#. This /proc file is not available in Linux 2.2 and earlier -- MTK |
| 764 |
#. See comment in Linux 3.19 source file include/uapi/linux/sem.h |
| 765 |
#. type: Plain text |
| 766 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 767 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 768 |
msgid "" |
| 769 |
"Maximum number of operations allowed for one B<semop>() call. Before Linux " |
| 770 |
"3.19, the default value for this limit was 32. Since Linux 3.19, the " |
| 771 |
"default value is 500. On Linux, this limit can be read and modified via the " |
| 772 |
"third field of I</proc/sys/kernel/sem>. I<Note>: this limit should not be " |
| 773 |
"raised above 1000, because of the risk of that B<semop>() fails due to " |
| 774 |
"kernel memory fragmentation when allocating memory to copy the I<sops> array." |
| 775 |
msgstr "" |
| 776 |
"Maksymalna liczba dozwolonych operacji na jedno wywołanie B<semop>(). Przed " |
| 777 |
"Linuksem 3.19 domyślna wartość tego limitu wynosiła 32. Od Linuksa 3.19 jest " |
| 778 |
"to 500. Pod Linuksem, limit ten można odczytać i zmodyfikować w trzecim polu " |
| 779 |
"pliku I</proc/sys/kernel/sem>. I<Uwaga>: limit ten nie powinien wynosić " |
| 780 |
"ponad 1000, ponieważ istnieje ryzyko, że B<semop>() nie powiedzie się z " |
| 781 |
"powodu fragmentacji pamięci jądra przy przydzielaniu pamięci dla kopii " |
| 782 |
"tablicy I<sops>." |
| 783 |
|
| 784 |
#. type: TP |
| 785 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 786 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 787 |
#, no-wrap |
| 788 |
msgid "B<SEMVMX>" |
| 789 |
msgstr "B<SEMVMX>" |
| 790 |
|
| 791 |
# |
| 792 |
#. type: Plain text |
| 793 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 794 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 795 |
msgid "" |
| 796 |
"Maximum allowable value for I<semval>: implementation dependent (32767)." |
| 797 |
msgstr "" |
| 798 |
"Maksymalna dozwolona wartość I<semval>: zależy od implementacji (32767)." |
| 799 |
|
| 800 |
# |
| 801 |
#. type: Plain text |
| 802 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 803 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 804 |
msgid "" |
| 805 |
"The implementation has no intrinsic limits for the adjust on exit maximum " |
| 806 |
"value (B<SEMAEM>), the system wide maximum number of undo structures " |
| 807 |
"(B<SEMMNU>) and the per-process maximum number of undo entries system " |
| 808 |
"parameters." |
| 809 |
msgstr "" |
| 810 |
"Implementacja w systemie Linux nie nakłada wewnętrznych ograniczeń na zmianę " |
| 811 |
"wartości semafora podczas zakończenia procesu (B<SEMAEM>), na " |
| 812 |
"ogólnosystemową maksymalną liczbę struktur przechowujących informacje o " |
| 813 |
"zmianach stanu semaforów (B<SEMMNU>), ani na maksymalną dla procesu liczbę " |
| 814 |
"struktur przechowujących informacje o zmianach stanu semaforów." |
| 815 |
|
| 816 |
#. type: SH |
| 817 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 818 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 819 |
#, no-wrap |
| 820 |
msgid "BUGS" |
| 821 |
msgstr "USTERKI" |
| 822 |
|
| 823 |
# |
| 824 |
#. type: Plain text |
| 825 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 826 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 827 |
msgid "" |
| 828 |
"When a process terminates, its set of associated I<semadj> structures is " |
| 829 |
"used to undo the effect of all of the semaphore operations it performed with " |
| 830 |
"the B<SEM_UNDO> flag. This raises a difficulty: if one (or more) of these " |
| 831 |
"semaphore adjustments would result in an attempt to decrease a semaphore's " |
| 832 |
"value below zero, what should an implementation do? One possible approach " |
| 833 |
"would be to block until all the semaphore adjustments could be performed. " |
| 834 |
"This is however undesirable since it could force process termination to " |
| 835 |
"block for arbitrarily long periods. Another possibility is that such " |
| 836 |
"semaphore adjustments could be ignored altogether (somewhat analogously to " |
| 837 |
"failing when B<IPC_NOWAIT> is specified for a semaphore operation). Linux " |
| 838 |
"adopts a third approach: decreasing the semaphore value as far as possible " |
| 839 |
"(i.e., to zero) and allowing process termination to proceed immediately." |
| 840 |
msgstr "" |
| 841 |
"Gdy proces kończy działanie, zestaw skojarzonych z nim struktur I<semadj> " |
| 842 |
"jest wykorzystywany do cofnięcia efektów wszystkich operacji na semaforach, " |
| 843 |
"które ten proces wykonał z ustawionym znacznikiem B<SEM_UNDO>. Wprowadza to " |
| 844 |
"trudność: jeżeli jedna (lub więcej) spośród tych zmian semaforów " |
| 845 |
"spowodowałby próbę zmniejszenia wartości semafora poniżej zera, to co " |
| 846 |
"implementacja powinna uczynić? Jednym z możliwych podejść do tego " |
| 847 |
"zadadnienia mogło by być zablokowanie do chwili, gdy przeprowadzenie " |
| 848 |
"wszystkich zmian semaforów będzie możliwe. Jest to jednakże niepożądane, " |
| 849 |
"gdyż spowodowałoby wymuszenie zablokowania zakończenia procesu na dowolnie " |
| 850 |
"długi okres. Inną możliwością jest zignorowanie wszystkich takich zmian " |
| 851 |
"semaforów (nieco analogiczne do niepomyślnego zakończenia, gdy dla operacji " |
| 852 |
"na semaforze podany jest znacznik B<IPC_NOWAIT>). Linux przyjął trzecie " |
| 853 |
"rozwiązanie: zmniejszenie wartości semafora na tyle, na ile jest to możliwe " |
| 854 |
"(tzn. do zera) i umożliwienie natychmiastowej kontynuacji kończenia " |
| 855 |
"działania procesu." |
| 856 |
|
| 857 |
#. The bug report: |
| 858 |
#. http://marc.theaimsgroup.com/?l=linux-kernel&m=110260821123863&w=2 |
| 859 |
#. the fix: |
| 860 |
#. http://marc.theaimsgroup.com/?l=linux-kernel&m=110261701025794&w=2 |
| 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 "" |
| 865 |
"In Linux 2.6.x, x E<lt>= 10, there is a bug that in some circumstances " |
| 866 |
"prevents a thread that is waiting for a semaphore value to become zero from " |
| 867 |
"being woken up when the value does actually become zero. This bug is fixed " |
| 868 |
"in Linux 2.6.11." |
| 869 |
msgstr "" |
| 870 |
"Linux 2.6.x, gdzie x E<lt>= 10, zawierają błąd, który w pewnych " |
| 871 |
"okolicznościach spowoduje, że wątek czekający na zmniejszenie wartości " |
| 872 |
"semafora do zera nie zostanie obudzony, gdy ta wartość rzeczywiście osiągnie " |
| 873 |
"zero. Błąd został poprawiony w Linuksie 2.6.11." |
| 874 |
|
| 875 |
#. type: SH |
| 876 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 877 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 878 |
#, no-wrap |
| 879 |
msgid "EXAMPLES" |
| 880 |
msgstr "PRZYKŁADY" |
| 881 |
|
| 882 |
#. type: Plain text |
| 883 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 884 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 885 |
msgid "" |
| 886 |
"The following code segment uses B<semop>() to atomically wait for the value " |
| 887 |
"of semaphore 0 to become zero, and then increment the semaphore value by one." |
| 888 |
msgstr "" |
| 889 |
"Następujący fragment kodu używa B<semop>() do atomowego oczekiwania na to, " |
| 890 |
"by wartość semafora 0 doszła do zera. Następnie wartość semafora jest " |
| 891 |
"zwiększana o jeden." |
| 892 |
|
| 893 |
#. type: Plain text |
| 894 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 895 |
#: opensuse-tumbleweed |
| 896 |
#, no-wrap |
| 897 |
msgid "" |
| 898 |
"struct sembuf sops[2];\n" |
| 899 |
"int semid;\n" |
| 900 |
"\\&\n" |
| 901 |
"/* Code to set \\f[I]semid\\fR omitted */\n" |
| 902 |
"\\&\n" |
| 903 |
"sops[0].sem_num = 0; /* Operate on semaphore 0 */\n" |
| 904 |
"sops[0].sem_op = 0; /* Wait for value to equal 0 */\n" |
| 905 |
"sops[0].sem_flg = 0;\n" |
| 906 |
"\\&\n" |
| 907 |
"sops[1].sem_num = 0; /* Operate on semaphore 0 */\n" |
| 908 |
"sops[1].sem_op = 1; /* Increment value by one */\n" |
| 909 |
"sops[1].sem_flg = 0;\n" |
| 910 |
"\\&\n" |
| 911 |
"if (semop(semid, sops, 2) == -1) {\n" |
| 912 |
" perror(\"semop\");\n" |
| 913 |
" exit(EXIT_FAILURE);\n" |
| 914 |
"}\n" |
| 915 |
msgstr "" |
| 916 |
"struct sembuf sops[2];\n" |
| 917 |
"int semid;\n" |
| 918 |
"\\&\n" |
| 919 |
"/* Pomięto kod służący do ustawienia \\f[I]semid\\fR */\n" |
| 920 |
"\\&\n" |
| 921 |
"sops[0].sem_num = 0; /* Działanie na semaforze 0 */\n" |
| 922 |
"sops[0].sem_op = 0; /* Oczekiwanie na przyjęcie wartości 0 */\n" |
| 923 |
"sops[0].sem_flg = 0;\n" |
| 924 |
"\\&\n" |
| 925 |
"sops[1].sem_num = 0; /* Działanie na semaforze 0 */\n" |
| 926 |
"sops[1].sem_op = 1; /* Zwiększenie wartości o jeden */\n" |
| 927 |
"sops[1].sem_flg = 0;\n" |
| 928 |
"\\&\n" |
| 929 |
"if (semop(semid, sops, 2) == -1) {\n" |
| 930 |
" perror(\"semop\");\n" |
| 931 |
" exit(EXIT_FAILURE);\n" |
| 932 |
"}\n" |
| 933 |
|
| 934 |
#. type: Plain text |
| 935 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 936 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 937 |
msgid "" |
| 938 |
"A further example of the use of B<semop>() can be found in B<shmop>(2)." |
| 939 |
msgstr "" |
| 940 |
"Kolejny przykład użycia B<semop>() znajduje się w podręczniku B<shmop>(2)." |
| 941 |
|
| 942 |
#. type: SH |
| 943 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 944 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 945 |
#, no-wrap |
| 946 |
msgid "SEE ALSO" |
| 947 |
msgstr "ZOBACZ TAKŻE" |
| 948 |
|
| 949 |
#. type: Plain text |
| 950 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 951 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 952 |
msgid "" |
| 953 |
"B<clone>(2), B<semctl>(2), B<semget>(2), B<sigaction>(2), " |
| 954 |
"B<capabilities>(7), B<sem_overview>(7), B<sysvipc>(7), B<time>(7)" |
| 955 |
msgstr "" |
| 956 |
"B<clone>(2), B<semctl>(2), B<semget>(2), B<sigaction>(2), " |
| 957 |
"B<capabilities>(7), B<sem_overview>(7), B<sysvipc>(7), B<time>(7)" |
| 958 |
|
| 959 |
#. type: TH |
| 960 |
#: debian-trixie |
| 961 |
#, no-wrap |
| 962 |
msgid "2024-05-02" |
| 963 |
msgstr "2 maja 2024 r." |
| 964 |
|
| 965 |
#. type: TH |
| 966 |
#: debian-trixie |
| 967 |
#, no-wrap |
| 968 |
msgid "Linux man-pages 6.9.1" |
| 969 |
msgstr "Linux man-pages 6.9.1" |
| 970 |
|
| 971 |
#. type: Plain text |
| 972 |
#: debian-trixie |
| 973 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 974 |
msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)" |
| 975 |
|
| 976 |
#. type: Plain text |
| 977 |
#: debian-trixie fedora-44 fedora-rawhide |
| 978 |
msgid "POSIX.1-2008." |
| 979 |
msgstr "POSIX.1-2008." |
| 980 |
|
| 981 |
#. type: SH |
| 982 |
#: debian-trixie fedora-44 fedora-rawhide |
| 983 |
#, no-wrap |
| 984 |
msgid "VERSIONS" |
| 985 |
msgstr "WERSJE" |
| 986 |
|
| 987 |
#. SVr4 documents additional error conditions EINVAL, EFBIG, ENOSPC. |
| 988 |
#. type: Plain text |
| 989 |
#: debian-trixie fedora-44 fedora-rawhide |
| 990 |
msgid "" |
| 991 |
"Linux 2.5.52 (backported into Linux 2.4.22), glibc 2.3.3. POSIX.1-2001, " |
| 992 |
"SVr4." |
| 993 |
msgstr "" |
| 994 |
"Linux 2.5.52 (przeniesione również na Linuksa 2.4.22), glibc 2.3.3. " |
| 995 |
"POSIX.1-2001, SVr4." |
| 996 |
|
| 997 |
#. type: Plain text |
| 998 |
#: debian-trixie fedora-44 fedora-rawhide |
| 999 |
#, no-wrap |
| 1000 |
msgid "" |
| 1001 |
"struct sembuf sops[2];\n" |
| 1002 |
"int semid;\n" |
| 1003 |
"\\&\n" |
| 1004 |
"/* Code to set I<semid> omitted */\n" |
| 1005 |
"\\&\n" |
| 1006 |
"sops[0].sem_num = 0; /* Operate on semaphore 0 */\n" |
| 1007 |
"sops[0].sem_op = 0; /* Wait for value to equal 0 */\n" |
| 1008 |
"sops[0].sem_flg = 0;\n" |
| 1009 |
"\\&\n" |
| 1010 |
"sops[1].sem_num = 0; /* Operate on semaphore 0 */\n" |
| 1011 |
"sops[1].sem_op = 1; /* Increment value by one */\n" |
| 1012 |
"sops[1].sem_flg = 0;\n" |
| 1013 |
"\\&\n" |
| 1014 |
"if (semop(semid, sops, 2) == -1) {\n" |
| 1015 |
" perror(\"semop\");\n" |
| 1016 |
" exit(EXIT_FAILURE);\n" |
| 1017 |
"}\n" |
| 1018 |
msgstr "" |
| 1019 |
"struct sembuf sops[2];\n" |
| 1020 |
"int semid;\n" |
| 1021 |
"\\&\n" |
| 1022 |
"/* Pomięto kod służący do ustawienia I<semid> */\n" |
| 1023 |
"\\&\n" |
| 1024 |
"sops[0].sem_num = 0; /* Działanie na semaforze 0 */\n" |
| 1025 |
"sops[0].sem_op = 0; /* Oczekiwanie na przyjęcie wartości 0 */\n" |
| 1026 |
"sops[0].sem_flg = 0;\n" |
| 1027 |
"\\&\n" |
| 1028 |
"sops[1].sem_num = 0; /* Działanie na semaforze 0 */\n" |
| 1029 |
"sops[1].sem_op = 1; /* Zwiększenie wartości o jeden */\n" |
| 1030 |
"sops[1].sem_flg = 0;\n" |
| 1031 |
"\\&\n" |
| 1032 |
"if (semop(semid, sops, 2) == -1) {\n" |
| 1033 |
" perror(\"semop\");\n" |
| 1034 |
" exit(EXIT_FAILURE);\n" |
| 1035 |
"}\n" |
| 1036 |
|
| 1037 |
#. type: TH |
| 1038 |
#: fedora-44 fedora-rawhide |
| 1039 |
#, no-wrap |
| 1040 |
msgid "2024-07-23" |
| 1041 |
msgstr "23 lipca 2024 r." |
| 1042 |
|
| 1043 |
#. type: TH |
| 1044 |
#: fedora-44 fedora-rawhide |
| 1045 |
#, no-wrap |
| 1046 |
msgid "Linux man-pages 6.13" |
| 1047 |
msgstr "Linux man-pages 6.13" |
| 1048 |
|
| 1049 |
#. type: TH |
| 1050 |
#: mageia-cauldron |
| 1051 |
#, no-wrap |
| 1052 |
msgid "Linux man-pages 6.17" |
| 1053 |
msgstr "Linux man-pages 6.17" |
| 1054 |
|
| 1055 |
#. type: TH |
| 1056 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1057 |
#, no-wrap |
| 1058 |
msgid "Linux man-pages (unreleased)" |
| 1059 |
msgstr "Linux man-pages (niewydane)" |