Debian Codegraph @

po/ru/man2/semctl.2.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Alexander Golubev <[email protected]>, 2018.
5 # Azamat Hackimov <[email protected]>, 2011, 2014-2016.
6 # Hotellook, 2014.
7 # Nikita <[email protected]>, 2014.
8 # Spiros Georgaras <[email protected]>, 2016.
9 # Vladislav <[email protected]>, 2015.
10 # Yuri Kozlov <[email protected]>, 2011-2019.
11 # Иван Павлов <[email protected]>, 2017.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "semctl"
33 msgstr "semctl"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-08"
40 msgstr "8 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid "semctl - System V semaphore control operations"
60 msgstr "semctl - операции управления семафорами System V"
61
62 #. type: SH
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 #, no-wrap
66 msgid "LIBRARY"
67 msgstr "БИБЛИОТЕКА"
68
69 #. type: Plain text
70 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
71 #: opensuse-leap-16-1 opensuse-tumbleweed
72 msgid "Standard C library (I<libc>,\\ I<-lc>)"
73 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
74
75 #. type: SH
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "SYNOPSIS"
80 msgstr "СИНТАКСИС"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<#include E<lt>sys/sem.hE<gt>>\n"
87 msgstr "B<#include E<lt>sys/sem.hE<gt>>\n"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, fuzzy, no-wrap
93 #| msgid "B<int semctl(int >I<semid>B<, int >I<semnum>B<, int >I<cmd>B<, ...);>\n"
94 msgid "B<int semctl(int >I<semid>B<, int >I<semnum>B<, int >I<op>B<, ...);>\n"
95 msgstr "B<int semctl(int >I<semid>B<, int >I<semnum>B<, int >I<cmd>B<, ...);>\n"
96
97 #. type: SH
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "DESCRIPTION"
102 msgstr "ОПИСАНИЕ"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 #, fuzzy
108 #| msgid ""
109 #| "B<semctl>() performs the control operation specified by I<cmd> on the "
110 #| "System\\ V semaphore set identified by I<semid>, or on the I<semnum>-th "
111 #| "semaphore of that set. (The semaphores in a set are numbered starting at "
112 #| "0.)"
113 msgid ""
114 "B<semctl>() performs the control operation specified by I<op> on the "
115 "System\\ V semaphore set identified by I<semid>, or on the I<semnum>-th "
116 "semaphore of that set. (The semaphores in a set are numbered starting at 0.)"
117 msgstr ""
118 "Вызов semctl выполняет операцию, определённую в I<cmd>, над набором "
119 "семафоров System\\ V, указанном в I<semid>, или над семафором с номером "
120 "I<semnum> из этого набора (семафоры нумеруются, начиная с 0)."
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 #, fuzzy
126 #| msgid ""
127 #| "This function has three or four arguments, depending on I<cmd>. When "
128 #| "there are four, the fourth has the type I<union semun>. The I<calling "
129 #| "program> must define this union as follows:"
130 msgid ""
131 "This function has three or four arguments, depending on I<op>. When there "
132 "are four, the fourth has the type I<union semun>. The I<calling program> "
133 "must define this union as follows:"
134 msgstr ""
135 "Данный вызов имеет три или четыре аргумента, в зависимости от значения "
136 "I<cmd>. Если аргументов четыре, то четвертый аргумент arg имеет тип I<union "
137 "semun>. В I<вызывающей программе> это объединение должно быть определено "
138 "следующим образом:"
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid ""
145 "union semun {\n"
146 " int val; /* Value for SETVAL */\n"
147 " struct semid_ds *buf; /* Buffer for IPC_STAT, IPC_SET */\n"
148 " unsigned short *array; /* Array for GETALL, SETALL */\n"
149 " struct seminfo *__buf; /* Buffer for IPC_INFO\n"
150 " (Linux-specific) */\n"
151 "};\n"
152 msgstr ""
153 "union semun {\n"
154 " int val; /* значение для SETVAL */\n"
155 " struct semid_ds *buf; /* буфер для IPC_STAT, IPC_SET */\n"
156 " unsigned short *array; /* массив для GETALL, SETALL */\n"
157 " struct seminfo *__buf; /* буфер для IPC_INFO\n"
158 " (есть только в Linux) */\n"
159 "};\n"
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid ""
165 "The I<semid_ds> data structure is defined in I<E<lt>sys/sem.hE<gt>> as "
166 "follows:"
167 msgstr ""
168 "Структура данных I<semid_ds> определена в I<E<lt>sys/sem.hE<gt>> следующим "
169 "образом:"
170
171 #. type: Plain text
172 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
173 #: opensuse-tumbleweed
174 #, fuzzy, no-wrap
175 #| msgid ""
176 #| "struct semid_ds {\n"
177 #| " struct ipc_perm sem_perm; /* Ownership and permissions */\n"
178 #| " time_t sem_otime; /* Last semop time */\n"
179 #| " time_t sem_ctime; /* Last change time */\n"
180 #| " unsigned long sem_nsems; /* No. of semaphores in set */\n"
181 #| "};\n"
182 msgid ""
183 "struct semid_ds {\n"
184 " struct ipc_perm sem_perm; /* Ownership and permissions */\n"
185 " time_t sem_otime; /* Last semop time */\n"
186 " time_t sem_ctime; /* Creation time/time of last\n"
187 " modification via semctl() */\n"
188 " unsigned long sem_nsems; /* # of semaphores in set */\n"
189 "};\n"
190 msgstr ""
191 "struct semid_ds {\n"
192 " struct ipc_perm sem_perm; /* владелец и права */\n"
193 " time_t sem_otime; /* время последней операции semop */\n"
194 " time_t sem_ctime; /* время последнего изменения */\n"
195 " unsigned long sem_nsems; /* кол-во семафоров в наборе */\n"
196 "};\n"
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, fuzzy
202 #| msgid "The fields of this structure are as follows:"
203 msgid "The fields of the I<semid_ds> structure are as follows:"
204 msgstr "Поля этой структуры имеют следующее назначение:"
205
206 #. type: TP
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, no-wrap
210 msgid "I<sem_perm>"
211 msgstr "I<sem_perm>"
212
213 #. type: Plain text
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, fuzzy
217 #| msgid ""
218 #| "I<ipc_perm> structure that specifies the access permissions on the "
219 #| "semaphore set."
220 msgid ""
221 "This is an I<ipc_perm> structure (see below) that specifies the access "
222 "permissions on the semaphore set."
223 msgstr "Структура I<ipc_perm>, определяющая права доступа к набору семафоров."
224
225 #. type: TP
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 #, no-wrap
229 msgid "I<sem_otime>"
230 msgstr "I<sem_otime>"
231
232 #. type: Plain text
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 msgid "Time of last B<semop>(2) system call."
236 msgstr "Время последнего системного вызова B<semop>(2)."
237
238 #. type: TP
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 #, no-wrap
242 msgid "I<sem_ctime>"
243 msgstr "I<sem_ctime>"
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 "Time of creation of semaphore set or time of last B<semctl>() B<IPCSET>, "
250 "B<SETVAL>, or B<SETALL> operation."
251 msgstr ""
252
253 #. type: TP
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid "I<sem_nsems>"
258 msgstr "I<sem_nsems>"
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid ""
264 "Number of semaphores in the set. Each semaphore of the set is referenced by "
265 "a nonnegative integer ranging from B<0> to I<sem_nsems-1>."
266 msgstr ""
267 "Число семафоров в наборе. Каждый семафор описывается неотрицательным целым "
268 "числом от B<0> до I<sem_nsems-1>."
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid ""
274 "The I<ipc_perm> structure is defined as follows (the highlighted fields are "
275 "settable using B<IPC_SET>):"
276 msgstr ""
277 "Структура I<ipc_perm> определена следующим образом (значения полей "
278 "устанавливаются с помощью B<IPC_SET>):"
279
280 #. type: Plain text
281 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
282 #: opensuse-tumbleweed
283 #, fuzzy, no-wrap
284 #| msgid ""
285 #| "struct ipc_perm {\n"
286 #| " key_t __key; /* Key supplied to semget(2) */\n"
287 #| " uid_t B<uid>; /* Effective UID of owner */\n"
288 #| " gid_t B<gid>; /* Effective GID of owner */\n"
289 #| " uid_t cuid; /* Effective UID of creator */\n"
290 #| " gid_t cgid; /* Effective GID of creator */\n"
291 #| " unsigned short B<mode>; /* Permissions */\n"
292 #| " unsigned short __seq; /* Sequence number */\n"
293 #| "};\n"
294 msgid ""
295 "struct ipc_perm {\n"
296 " key_t __key; /* Key supplied to semget(2) */\n"
297 " uid_t \\f[B]uid\\fR; /* Effective UID of owner */\n"
298 " gid_t \\f[B]gid\\fR; /* Effective GID of owner */\n"
299 " uid_t cuid; /* Effective UID of creator */\n"
300 " gid_t cgid; /* Effective GID of creator */\n"
301 " unsigned short \\f[B]mode\\fR; /* Permissions */\n"
302 " unsigned short __seq; /* Sequence number */\n"
303 "};\n"
304 msgstr ""
305 "struct ipc_perm {\n"
306 " key_t __key; /* ключ, передаваемый в semget(2) */\n"
307 " uid_t B<uid>; /* эффективный UID владельца */\n"
308 " gid_t B<gid>; /* эффективный GID владельца */\n"
309 " uid_t cuid; /* эффективный UID создателя */\n"
310 " gid_t cgid; /* эффективный GID создателя */\n"
311 " unsigned short B<mode>; /* права */\n"
312 " unsigned short __seq; /* порядковый номер */\n"
313 "};\n"
314
315 #. type: Plain text
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 msgid ""
319 "The least significant 9 bits of the I<mode> field of the I<ipc_perm> "
320 "structure define the access permissions for the shared memory segment. The "
321 "permission bits are as follows:"
322 msgstr ""
323 "9 младших бит поля I<mode> структуры I<ipc_perm> определяют права доступа к "
324 "сегменту разделяемой памяти. Биты разрешения следующие:"
325
326 #. type: tbl table
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "0400"
331 msgstr "0400"
332
333 #. type: tbl table
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, no-wrap
337 msgid "Read by user"
338 msgstr ""
339
340 #. type: tbl table
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "0200"
345 msgstr "0200"
346
347 #. type: tbl table
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "Write by user"
352 msgstr ""
353
354 #. type: tbl table
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, no-wrap
358 msgid "0040"
359 msgstr "0040"
360
361 #. type: tbl table
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "Read by group"
366 msgstr ""
367
368 #. type: tbl table
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "0020"
373 msgstr "0020"
374
375 #. type: tbl table
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid "Write by group"
380 msgstr ""
381
382 #. type: tbl table
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 #, no-wrap
386 msgid "0004"
387 msgstr "0004"
388
389 #. type: tbl table
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 #, no-wrap
393 msgid "Read by others"
394 msgstr ""
395
396 #. type: tbl table
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "0002"
401 msgstr "0002"
402
403 #. type: tbl table
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "Write by others"
408 msgstr "Написано другими"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid ""
414 "In effect, \"write\" means \"alter\" for a semaphore set. Bits 0100, 0010, "
415 "and 0001 (the execute bits) are unused by the system."
416 msgstr ""
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 msgid "Valid values for I<op> are:"
422 msgstr "Допустимые значения для I<op>:"
423
424 #. type: TP
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid "B<IPC_STAT>"
429 msgstr "B<IPC_STAT>"
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "Copy information from the kernel data structure associated with I<semid> "
436 "into the I<semid_ds> structure pointed to by I<arg.buf>. The argument "
437 "I<semnum> is ignored. The calling process must have read permission on the "
438 "semaphore set."
439 msgstr ""
440 "Копирует информацию из структуры данных ядра, связанной с I<semid>, в "
441 "структуру I<semid_ds>, расположенную по адресу I<arg.buf>. Аргумент "
442 "I<semnum> игнорируется. Вызывающий процесс должен иметь права на чтение "
443 "набора семафоров."
444
445 #. type: TP
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, no-wrap
449 msgid "B<IPC_SET>"
450 msgstr "B<IPC_SET>"
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid ""
456 "Write the values of some members of the I<semid_ds> structure pointed to by "
457 "I<arg.buf> to the kernel data structure associated with this semaphore set, "
458 "updating also its I<sem_ctime> member."
459 msgstr ""
460
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid ""
465 "The following members of the structure are updated: I<sem_perm.uid>, "
466 "I<sem_perm.gid>, and (the least significant 9 bits of) I<sem_perm.mode>."
467 msgstr ""
468
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 msgid ""
473 "The effective UID of the calling process must match the owner "
474 "(I<sem_perm.uid>) or creator (I<sem_perm.cuid>) of the semaphore set, or "
475 "the caller must be privileged. The argument I<semnum> is ignored."
476 msgstr ""
477
478 #. type: TP
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 #, no-wrap
482 msgid "B<IPC_RMID>"
483 msgstr "B<IPC_RMID>"
484
485 #. type: Plain text
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 msgid ""
489 "Immediately remove the semaphore set, awakening all processes blocked in "
490 "B<semop>(2) calls on the set (with an error return and I<errno> set to "
491 "B<EIDRM>). The effective user ID of the calling process must match the "
492 "creator or owner of the semaphore set, or the caller must be privileged. "
493 "The argument I<semnum> is ignored."
494 msgstr ""
495 "Немедленно удаляет набор семафоров, пробуждая все процессы, заблокированные "
496 "в вызове B<semop>(2) (при этом возвращается сообщение об ошибке, а I<errno> "
497 "присваивается значение B<EIDRM>). Эффективный идентификатор пользователя "
498 "вызывающего процесса должен совпадать с идентификатором создателя или "
499 "владельца набора семафоров, или вызывающий должен иметь расширенные права. "
500 "Аргумент I<semnum> игнорируется."
501
502 #. type: TP
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 #, no-wrap
506 msgid "B<IPC_INFO> (Linux-specific)"
507 msgstr "B<IPC_INFO> (есть только в Linux)"
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 msgid ""
513 "Return information about system-wide semaphore limits and parameters in the "
514 "structure pointed to by I<arg.__buf>. This structure is of type I<seminfo>, "
515 "defined in I<E<lt>sys/sem.hE<gt>> if the B<_GNU_SOURCE> feature test macro "
516 "is defined:"
517 msgstr ""
518 "Возвращает параметры и информацию о системных ограничениях семафоров в "
519 "структуре, указанной в I<arg.__buf>. Данная структура имеет тип I<seminfo>, "
520 "который определён в I<E<lt>sys/sem.hE<gt>>, если определён макрос "
521 "тестирования свойств B<_GNU_SOURCE>:"
522
523 #. type: Plain text
524 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
525 #: opensuse-tumbleweed
526 #, fuzzy, no-wrap
527 #| msgid ""
528 #| "struct seminfo {\n"
529 #| " int semmap; /* Number of entries in semaphore\n"
530 #| " map; unused within kernel */\n"
531 #| " int semmni; /* Maximum number of semaphore sets */\n"
532 #| " int semmns; /* Maximum number of semaphores in all\n"
533 #| " semaphore sets */\n"
534 #| " int semmnu; /* System-wide maximum number of undo\n"
535 #| " structures; unused within kernel */\n"
536 #| " int semmsl; /* Maximum number of semaphores in a\n"
537 #| " set */\n"
538 #| " int semopm; /* Maximum number of operations for\n"
539 #| " semop(2) */\n"
540 #| " int semume; /* Maximum number of undo entries per\n"
541 #| " process; unused within kernel */\n"
542 #| " int semusz; /* Size of struct sem_undo */\n"
543 #| " int semvmx; /* Maximum semaphore value */\n"
544 #| " int semaem; /* Max. value that can be recorded for\n"
545 #| " semaphore adjustment (SEM_UNDO) */\n"
546 #| "};\n"
547 msgid ""
548 "struct seminfo {\n"
549 " int semmap; /* Number of entries in semaphore\n"
550 " map; unused within kernel */\n"
551 " int semmni; /* Maximum number of semaphore sets */\n"
552 " int semmns; /* Maximum number of semaphores in all\n"
553 " semaphore sets */\n"
554 " int semmnu; /* System-wide maximum number of undo\n"
555 " structures; unused within kernel */\n"
556 " int semmsl; /* Maximum number of semaphores in a\n"
557 " set */\n"
558 " int semopm; /* Maximum number of operations for\n"
559 " semop(2) */\n"
560 " int semume; /* Maximum number of undo entries per\n"
561 " process; unused within kernel */\n"
562 " int semusz; /* Size of struct sem_undo */\n"
563 " int semvmx; /* Maximum semaphore value */\n"
564 " int semaem; /* Max.\\& value that can be recorded for\n"
565 " semaphore adjustment (SEM_UNDO) */\n"
566 "};\n"
567 msgstr ""
568 "struct seminfo {\n"
569 " int semmap; /* количество записей в карте\n"
570 " семафоров; не используется в ядре */\n"
571 " int semmni; /* максимальное количество наборов\n"
572 " семафоров */\n"
573 " int semmns; /* максимальное количество семафоров во\n"
574 " всех наборах семафоров */\n"
575 " int semmnu; /* максимальное количество структур undo\n"
576 " в системе; не используется в ядре */\n"
577 " int semmsl; /* максимальное количество семафоров в\n"
578 " наборе */\n"
579 " int semopm; /* максимальное количество операция для\n"
580 " semop(2) */\n"
581 " int semume; /* максимальное количество записей undo на\n"
582 " процесс; не используется в ядре */\n"
583 " int semusz; /* размер struct sem_undo */\n"
584 " int semvmx; /* максимальное значение семафора */\n"
585 " int semaem; /* максимальное значение, которое может\n"
586 " быть записано для регулирования\n"
587 " семафора (SEM_UNDO) */\n"
588 "};\n"
589
590 #. type: Plain text
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 msgid ""
594 "The I<semmsl>, I<semmns>, I<semopm>, and I<semmni> settings can be changed "
595 "via I</proc/sys/kernel/sem>; see B<proc>(5) for details."
596 msgstr ""
597 "Значения I<semmsl>, I<semmns>, I<semopm> и I<semmni> можно изменить через I</"
598 "proc/sys/kernel/sem>; подробности в B<proc>(5)."
599
600 #. type: TP
601 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
602 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
603 #, no-wrap
604 msgid "B<SEM_INFO> (Linux-specific)"
605 msgstr "B<SEM_INFO> (есть только в Linux)"
606
607 #. type: Plain text
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 msgid ""
611 "Return a I<seminfo> structure containing the same information as for "
612 "B<IPC_INFO>, except that the following fields are returned with information "
613 "about system resources consumed by semaphores: the I<semusz> field returns "
614 "the number of semaphore sets that currently exist on the system; and the "
615 "I<semaem> field returns the total number of semaphores in all semaphore sets "
616 "on the system."
617 msgstr ""
618 "Возвращает структуру I<seminfo>, содержащую такую же информацию что и для "
619 "B<IPC_INFO>, за исключением того, что следующие поля содержат информацию о "
620 "системных ресурсах, потребляемых семафорами: в поле I<semusz> возвращается "
621 "количество наборов семафоров, существующих в системе; в поле I<semaem> "
622 "возвращается общее количество семафоров во всех наборах семафоров в системе."
623
624 #. type: TP
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 #, no-wrap
628 msgid "B<SEM_STAT> (Linux-specific)"
629 msgstr "B<SEM_STAT> (есть только в Linux)"
630
631 #. type: Plain text
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 msgid ""
635 "Return a I<semid_ds> structure as for B<IPC_STAT>. However, the I<semid> "
636 "argument is not a semaphore identifier, but instead an index into the "
637 "kernel's internal array that maintains information about all semaphore sets "
638 "on the system."
639 msgstr ""
640 "Возвращает структуру I<semid_ds> как для B<IPC_STAT>. Однако аргумент "
641 "I<semid> содержит не идентификатор семафора, а индекс во внутреннем массиве "
642 "ядра, который хранит информацию о всех наборах семафоров в системе."
643
644 #. type: TP
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 #, no-wrap
648 msgid "B<SEM_STAT_ANY> (Linux-specific, since Linux 4.17)"
649 msgstr "B<SEM_STAT_ANY> (есть только в Linux-specific, начиная с Linux 4.17)"
650
651 #. type: Plain text
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 #, fuzzy
655 #| msgid ""
656 #| "Return a I<shmid_ds> structure as for B<SHM_STAT>. However, "
657 #| "I<shm_perm.mode> is not checked for read access for I<shmid>, meaning "
658 #| "that any user can employ this operation (just as any user may read I</"
659 #| "proc/sysvipc/shm> to obtain the same information)."
660 msgid ""
661 "Return a I<semid_ds> structure as for B<SEM_STAT>. However, "
662 "I<sem_perm.mode> is not checked for read access for I<semid> meaning that "
663 "any user can employ this operation (just as any user may read I</proc/"
664 "sysvipc/sem> to obtain the same information)."
665 msgstr ""
666 "Возвращает структуру I<shmid_ds> как для B<SHM_STAT>. Однако "
667 "I<shm_perm.mode> не проверяется на доступность чтения для I<shmid>, что "
668 "означает, что эту операцию может выполнять пользователь (как и любой "
669 "пользователь, который может прочитать эту же информацию из I</proc/sysvipc/"
670 "shm>)."
671
672 #. type: TP
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 #, no-wrap
676 msgid "B<GETALL>"
677 msgstr "B<GETALL>"
678
679 #. type: Plain text
680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 msgid ""
683 "Return B<semval> (i.e., the current value) for all semaphores of the set "
684 "into I<arg.array>. The argument I<semnum> is ignored. The calling process "
685 "must have read permission on the semaphore set."
686 msgstr ""
687 "Возвращает значение B<semval> (т.е. текущее значение) всех семафоров в "
688 "наборе в I<arg.array>. Аргумент I<semnum> игнорируется. Вызывающему процессу "
689 "нужны права на чтение набора семафоров."
690
691 #. type: TP
692 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
693 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
694 #, no-wrap
695 msgid "B<GETNCNT>"
696 msgstr "B<GETNCNT>"
697
698 #. type: Plain text
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 #, fuzzy
702 #| msgid ""
703 #| "Return the value of B<semzcnt> for the I<semnum>-th semaphore of the set "
704 #| "(i.e., the number of processes waiting for B<semval> of the I<semnum>-th "
705 #| "semaphore of the set to become 0). The calling process must have read "
706 #| "permission on the semaphore set."
707 msgid ""
708 "Return the B<semncnt> value for the I<semnum>-th semaphore of the set (i.e., "
709 "the number of processes waiting for the semaphore's value to increase). The "
710 "calling process must have read permission on the semaphore set."
711 msgstr ""
712 "Возвращает значение B<semzcnt> для I<semnum>-того семафора (т.е., количество "
713 "процессов, ожидающих, когда значение B<semval> I<semnum>-того семафора "
714 "набора станет равным 0). Вызывающему процессу нужны права на чтение набора "
715 "семафоров."
716
717 #. type: TP
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 #, no-wrap
721 msgid "B<GETPID>"
722 msgstr "B<GETPID>"
723
724 #. type: Plain text
725 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
726 #: opensuse-leap-16-1 opensuse-tumbleweed
727 #, fuzzy
728 #| msgid ""
729 #| "Return the value of B<sempid> for the I<semnum>-th semaphore of the set. "
730 #| "This is the PID of the process that last performed an operation on that "
731 #| "semaphore (but see NOTES). The calling process must have read permission "
732 #| "on the semaphore set."
733 msgid ""
734 "Return the B<sempid> value for the I<semnum>-th semaphore of the set. This "
735 "is the PID of the process that last performed an operation on that semaphore "
736 "(but see VERSIONS). The calling process must have read permission on the "
737 "semaphore set."
738 msgstr ""
739 "Возвращает значение B<sempid> для I<semnum>-того семафора набора. Это PID "
740 "процесса, который последним выполнял операцию с этим семафором (но смотрите "
741 "ЗАМЕЧАНИЯ). Вызывающему процессу нужны права на чтение набора семафоров."
742
743 #. type: TP
744 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
745 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
746 #, no-wrap
747 msgid "B<GETVAL>"
748 msgstr "B<GETVAL>"
749
750 #. type: Plain text
751 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
752 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
753 #, fuzzy
754 #| msgid ""
755 #| "Return the value of B<semval> for the I<semnum>-th semaphore of the set. "
756 #| "The calling process must have read permission on the semaphore set."
757 msgid ""
758 "Return B<semval> (i.e., the semaphore value) for the I<semnum>-th semaphore "
759 "of the set. The calling process must have read permission on the semaphore "
760 "set."
761 msgstr ""
762 "Возвращает значение B<semval> для I<semnum>-того семафора набора. "
763 "Вызывающему процессу нужны права на чтение набора семафоров."
764
765 #. type: TP
766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
768 #, no-wrap
769 msgid "B<GETZCNT>"
770 msgstr "B<GETZCNT>"
771
772 #. type: Plain text
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 #, fuzzy
776 #| msgid ""
777 #| "Return the value of B<semzcnt> for the I<semnum>-th semaphore of the set "
778 #| "(i.e., the number of processes waiting for B<semval> of the I<semnum>-th "
779 #| "semaphore of the set to become 0). The calling process must have read "
780 #| "permission on the semaphore set."
781 msgid ""
782 "Return the B<semzcnt> value for the I<semnum>-th semaphore of the set (i.e., "
783 "the number of processes waiting for the semaphore value to become 0). The "
784 "calling process must have read permission on the semaphore set."
785 msgstr ""
786 "Возвращает значение B<semzcnt> для I<semnum>-того семафора (т.е., количество "
787 "процессов, ожидающих, когда значение B<semval> I<semnum>-того семафора "
788 "набора станет равным 0). Вызывающему процессу нужны права на чтение набора "
789 "семафоров."
790
791 #. type: TP
792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
794 #, no-wrap
795 msgid "B<SETALL>"
796 msgstr "B<SETALL>"
797
798 #. type: Plain text
799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
801 #, fuzzy
802 #| msgid ""
803 #| "Set B<semval> for all semaphores of the set using I<arg.array>, updating "
804 #| "also the I<sem_ctime> member of the I<semid_ds> structure associated with "
805 #| "the set. Undo entries (see B<semop>(2)) are cleared for altered "
806 #| "semaphores in all processes. If the changes to semaphore values would "
807 #| "permit blocked B<semop>(2) calls in other processes to proceed, then "
808 #| "those processes are woken up. The argument I<semnum> is ignored. The "
809 #| "calling process must have alter (write) permission on the semaphore set."
810 msgid ""
811 "Set the B<semval> values for all semaphores of the set using I<arg.array>, "
812 "updating also the I<sem_ctime> member of the I<semid_ds> structure "
813 "associated with the set. Undo entries (see B<semop>(2)) are cleared for "
814 "altered semaphores in all processes. If the changes to semaphore values "
815 "would permit blocked B<semop>(2) calls in other processes to proceed, then "
816 "those processes are woken up. The argument I<semnum> is ignored. The "
817 "calling process must have alter (write) permission on the semaphore set."
818 msgstr ""
819 "Устанавливает значение B<semval> всех семафоров набора, используя "
820 "I<arg.array> и изменяя также поле I<sem_ctime> структуры I<semid_ds>, "
821 "связанной с набором. Записи undo (см. B<semop>(2)) очищаются для изменённых "
822 "семафоров во всех процессах. Если изменения значений семафоров приводят к "
823 "отмене блокировки в вызове B<semop>(2) других процессов, то эти процессы "
824 "пробуждаются. Аргумент I<semnum> игнорируется. Вызывающему процессу нужны "
825 "права на запись в набор семафоров."
826
827 #. type: TP
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 #, no-wrap
831 msgid "B<SETVAL>"
832 msgstr "B<SETVAL>"
833
834 #. type: Plain text
835 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
836 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
837 #, fuzzy
838 #| msgid ""
839 #| "Set the value of B<semval> to I<arg.val> for the I<semnum>-th semaphore "
840 #| "of the set, updating also the I<sem_ctime> member of the I<semid_ds> "
841 #| "structure associated with the set. Undo entries are cleared for altered "
842 #| "semaphores in all processes. If the changes to semaphore values would "
843 #| "permit blocked B<semop>(2) calls in other processes to proceed, then "
844 #| "those processes are woken up. The calling process must have alter "
845 #| "permission on the semaphore set."
846 msgid ""
847 "Set the semaphore value (B<semval>) to I<arg.val> for the I<semnum>-th "
848 "semaphore of the set, updating also the I<sem_ctime> member of the "
849 "I<semid_ds> structure associated with the set. Undo entries are cleared for "
850 "altered semaphores in all processes. If the changes to semaphore values "
851 "would permit blocked B<semop>(2) calls in other processes to proceed, then "
852 "those processes are woken up. The calling process must have alter "
853 "permission on the semaphore set."
854 msgstr ""
855 "Устанавливает значение B<semval> равным I<arg.val> для I<semnum>-го семафора "
856 "набора, изменяя также поле I<sem_ctime> в структуре I<semid_ds>, связанной с "
857 "этим набором. Записи undo очищаются для изменённых семафоров во всех "
858 "процессах. Если изменения значений семафоров приводят к отмене блокировки в "
859 "вызове B<semop>(2) других процессов, то эти процессы пробуждаются. Аргумент "
860 "I<semnum> игнорируется. Вызывающему процессу нужны права на запись в набор "
861 "семафоров."
862
863 #. type: SH
864 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
865 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
866 #, no-wrap
867 msgid "RETURN VALUE"
868 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
869
870 #. type: Plain text
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 #, fuzzy
874 #| msgid ""
875 #| "Otherwise, the system call returns a nonnegative value depending on "
876 #| "I<cmd> as follows:"
877 msgid ""
878 "On success, B<semctl>() returns a nonnegative value depending on I<op> as "
879 "follows:"
880 msgstr ""
881 "При успешном выполнении системный вызов возвращает положительное значение, "
882 "зависящее от I<cmd>:"
883
884 #. type: Plain text
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 msgid "the value of B<semncnt>."
888 msgstr "значение B<semncnt>."
889
890 #. type: Plain text
891 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
892 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
893 msgid "the value of B<sempid>."
894 msgstr "значение B<sempid>."
895
896 #. type: Plain text
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 msgid "the value of B<semval>."
900 msgstr "значение B<semval>."
901
902 #. type: Plain text
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
905 msgid "the value of B<semzcnt>."
906 msgstr "значение B<semzcnt>."
907
908 #. type: TP
909 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
910 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
911 #, no-wrap
912 msgid "B<IPC_INFO>"
913 msgstr "B<IPC_INFO>"
914
915 #. type: Plain text
916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
918 msgid ""
919 "the index of the highest used entry in the kernel's internal array recording "
920 "information about all semaphore sets. (This information can be used with "
921 "repeated B<SEM_STAT> or B<SEM_STAT_ANY> operations to obtain information "
922 "about all semaphore sets on the system.)"
923 msgstr ""
924 "самое большое значение индекса, использованного в записи внутреннего массива "
925 "ядра, содержащего информацию о всех наборах семафоров (эта информация может "
926 "использоваться в повторяющихся операциях B<SEM_STAT> или B<SEM_STAT_ANY> для "
927 "получения информации о всех наборах семафоров в системе)."
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<SEM_INFO>"
934 msgstr "B<SEM_INFO>"
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 "as for B<IPC_INFO>."
940 msgstr "как для B<IPC_INFO>."
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<SEM_STAT>"
947 msgstr "B<SEM_STAT>"
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 "the identifier of the semaphore set whose index was given in I<semid>."
953 msgstr "идентификатор набора семафоров, индекс которого указан в I<semid>."
954
955 #. type: TP
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
958 #, no-wrap
959 msgid "B<SEM_STAT_ANY>"
960 msgstr "B<SEM_STAT_ANY>"
961
962 #. type: Plain text
963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
965 msgid "as for B<SEM_STAT>."
966 msgstr "как у B<SEM_STAT>."
967
968 #. type: Plain text
969 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
970 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
971 #, fuzzy
972 #| msgid "All other I<cmd> values return 0 on success."
973 msgid "All other I<op> values return 0 on success."
974 msgstr "Для всех остальных значений I<cmd> возвращается 0."
975
976 #. type: Plain text
977 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
978 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
979 #, fuzzy
980 #| msgid ""
981 #| "On failure, B<semctl>() returns -1 with I<errno> indicating the error."
982 msgid ""
983 "On failure, B<semctl>() returns -1 and sets I<errno> to indicate the error."
984 msgstr ""
985 "При ошибке B<semctl>() возвращает -1, а переменной I<errno> присваивается "
986 "номер ошибки."
987
988 #. type: SH
989 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
990 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
991 #, no-wrap
992 msgid "ERRORS"
993 msgstr "ОШИБКИ"
994
995 #. type: TP
996 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
997 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
998 #, no-wrap
999 msgid "B<EACCES>"
1000 msgstr "B<EACCES>"
1001
1002 #. type: Plain text
1003 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1004 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1005 #, fuzzy
1006 #| msgid ""
1007 #| "The argument I<cmd> has one of the values B<GETALL>, B<GETPID>, "
1008 #| "B<GETVAL>, B<GETNCNT>, B<GETZCNT>, B<IPC_STAT>, B<SEM_STAT>, "
1009 #| "B<SEM_STAT_ANY>, B<SETALL>, or B<SETVAL> and the calling process does not "
1010 #| "have the required permissions on the semaphore set and does not have the "
1011 #| "B<CAP_IPC_OWNER> capability in the user namespace that governs its IPC "
1012 #| "namespace."
1013 msgid ""
1014 "The argument I<op> has one of the values B<GETALL>, B<GETPID>, B<GETVAL>, "
1015 "B<GETNCNT>, B<GETZCNT>, B<IPC_STAT>, B<SEM_STAT>, B<SEM_STAT_ANY>, "
1016 "B<SETALL>, or B<SETVAL> and the calling process does not have the required "
1017 "permissions on the semaphore set and does not have the B<CAP_IPC_OWNER> "
1018 "capability in the user namespace that governs its IPC namespace."
1019 msgstr ""
1020 "Аргумент I<cmd> равен B<GETALL>, B<GETPID>, B<GETVAL>, B<GETNCNT>, "
1021 "B<GETZCNT>, B<IPC_STAT>, B<SEM_STAT>, B<SEM_STAT_ANY>, B<SETALL> или "
1022 "B<SETVAL> и вызывающий процесс не имеет требуемых прав на набор семафоров и "
1023 "не имеет мандата B<CAP_IPC_OWNER> в пользовательском пространстве имён, "
1024 "которое управляет своим пространством имён IPC."
1025
1026 #. type: TP
1027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1028 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1029 #, no-wrap
1030 msgid "B<EFAULT>"
1031 msgstr "B<EFAULT>"
1032
1033 #. type: Plain text
1034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1035 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1036 msgid "The address pointed to by I<arg.buf> or I<arg.array> isn't accessible."
1037 msgstr "Адрес, указанный в I<arg.buf> или I<arg.array>, недоступен."
1038
1039 #. type: TP
1040 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1041 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1042 #, no-wrap
1043 msgid "B<EIDRM>"
1044 msgstr "B<EIDRM>"
1045
1046 #. type: Plain text
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 msgid "The semaphore set was removed."
1050 msgstr "Набор семафоров был удалён."
1051
1052 #. type: TP
1053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1054 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1055 #, no-wrap
1056 msgid "B<EINVAL>"
1057 msgstr "B<EINVAL>"
1058
1059 #. type: Plain text
1060 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1061 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1062 #, fuzzy
1063 #| msgid ""
1064 #| "Invalid value for I<cmd> or I<semid>. Or: for a B<SEM_STAT> operation, "
1065 #| "the index value specified in I<semid> referred to an array slot that is "
1066 #| "currently unused."
1067 msgid ""
1068 "Invalid value for I<op> or I<semid>. Or: for a B<SEM_STAT> operation, the "
1069 "index value specified in I<semid> referred to an array slot that is "
1070 "currently unused."
1071 msgstr ""
1072 "Неверное значение I<cmd> или I<semid>. Или: при операции B<SEM_STAT> "
1073 "значение индекса, указанное в I<semid>, ссылается на место в массиве, "
1074 "которое в данные момент не используется."
1075
1076 #. type: TP
1077 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1078 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1079 #, no-wrap
1080 msgid "B<EPERM>"
1081 msgstr "B<EPERM>"
1082
1083 #. type: Plain text
1084 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1085 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1086 #, fuzzy
1087 #| msgid ""
1088 #| "The argument I<cmd> has the value B<IPC_SET> or B<IPC_RMID> but the "
1089 #| "effective user ID of the calling process is not the creator (as found in "
1090 #| "I<sem_perm.cuid>) or the owner (as found in I<sem_perm.uid>) of the "
1091 #| "semaphore set, and the process does not have the B<CAP_SYS_ADMIN> "
1092 #| "capability."
1093 msgid ""
1094 "The argument I<op> has the value B<IPC_SET> or B<IPC_RMID> but the effective "
1095 "user ID of the calling process is not the creator (as found in "
1096 "I<sem_perm.cuid>) or the owner (as found in I<sem_perm.uid>) of the "
1097 "semaphore set, and the process does not have the B<CAP_SYS_ADMIN> capability."
1098 msgstr ""
1099 "Аргумент I<cmd> имеет значение B<IPC_SET> или B<IPC_RMID>, но эффективный "
1100 "идентификатор пользователя вызывающего процесса не совпадает с ID создателя "
1101 "(указанного в I<sem_perm.cuid>) или с ID владельца (указанного в "
1102 "I<sem_perm.uid>) набора семафоров, и процесс не имеет мандата "
1103 "B<CAP_SYS_ADMIN>."
1104
1105 #. type: TP
1106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1108 #, no-wrap
1109 msgid "B<ERANGE>"
1110 msgstr "B<ERANGE>"
1111
1112 #. type: Plain text
1113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1115 #, fuzzy
1116 #| msgid ""
1117 #| "The argument I<cmd> has the value B<SETALL> or B<SETVAL> and the value to "
1118 #| "which B<semval> is to be set (for some semaphore of the set) is less than "
1119 #| "0 or greater than the implementation limit B<SEMVMX>."
1120 msgid ""
1121 "The argument I<op> has the value B<SETALL> or B<SETVAL> and the value to "
1122 "which B<semval> is to be set (for some semaphore of the set) is less than 0 "
1123 "or greater than the implementation limit B<SEMVMX>."
1124 msgstr ""
1125 "Аргумент I<cmd> имеет значение B<SETALL> или B<SETVAL> и значение, "
1126 "присваиваемое B<semval> (для какого-то семафора в наборе), меньше нуля или "
1127 "больше, чем ограничение реализации B<SEMVMX>."
1128
1129 #. type: SH
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1132 #, no-wrap
1133 msgid "VERSIONS"
1134 msgstr "ВЕРСИИ"
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 "POSIX.1 specifies the I<sem_nsems> field of the I<semid_ds> structure as "
1142 "having the type I<unsigned\\ short>, and the field is so defined on most "
1143 "other systems. It was also so defined on Linux 2.2 and earlier, but, since "
1144 "Linux 2.4, the field has the type I<unsigned\\ long>."
1145 msgstr ""
1146 "В POSIX.1 указано, что поле I<sem_nsems> структуры I<semid_ds> имеет тип "
1147 "I<unsigned\\ short>, и это так на в большинстве других систем. Это было и в "
1148 "Linux 2.2 и более ранних версиях, но начиная с Linux 2.4 это поле имеет тип "
1149 "I<unsigned\\ long>."
1150
1151 #. type: SS
1152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1154 #, no-wrap
1155 msgid "The sempid value"
1156 msgstr "Значение sempid"
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 "POSIX.1 defines I<sempid> as the \"process ID of [the] last operation\" on a "
1163 "semaphore, and explicitly notes that this value is set by a successful "
1164 "B<semop>(2) call, with the implication that no other interface affects the "
1165 "I<sempid> value."
1166 msgstr ""
1167 "В POSIX.1 значение I<sempid> определено как «ID процесса последней операции» "
1168 "над семафором, и явно отмечено, что это значение устанавливается успешным "
1169 "вызовом B<semop>(2), подразумевая, что больше никто не изменяет I<sempid>."
1170
1171 #. At least OpenSolaris (and, one supposes, older Solaris) and Darwin
1172 #. type: Plain text
1173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1175 msgid ""
1176 "While some implementations conform to the behavior specified in POSIX.1, "
1177 "others do not. (The fault here probably lies with POSIX.1 inasmuch as it "
1178 "likely failed to capture the full range of existing implementation "
1179 "behaviors.) Various other implementations also update I<sempid> for the "
1180 "other operations that update the value of a semaphore: the B<SETVAL> and "
1181 "B<SETALL> operations, as well as the semaphore adjustments performed on "
1182 "process termination as a consequence of the use of the B<SEM_UNDO> flag (see "
1183 "B<semop>(2))."
1184 msgstr ""
1185 "Одни реализации следуют требованиям, указанным в POSIX.1, а другие нет (вина "
1186 "здесь, вероятно, лежит на POSIX.1, так как ему не удастся охватить поведение "
1187 "всех существующих реализаций). Также, разные реализации обновляют I<sempid> "
1188 "другими операциями, обновляющими значение семафора: B<SETVAL> и B<SETALL>, а "
1189 "также изменение семафора, выполняемое при завершении процесса как следствие "
1190 "использования флага B<SEM_UNDO> (смотрите B<semop>(2))."
1191
1192 #. commit a5f4db877177d2a3d7ae62a7bac3a5a27e083d7f
1193 #. type: Plain text
1194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1196 #, fuzzy
1197 #| msgid ""
1198 #| "Linux also updates I<sempid> for B<SETVAL> operations and semaphore "
1199 #| "adjustments. However, somewhat inconsistently, up to and including 4.5, "
1200 #| "Linux did not update I<sempid> for B<SETALL> operations. This was "
1201 #| "rectified in Linux 4.6."
1202 msgid ""
1203 "Linux also updates I<sempid> for B<SETVAL> operations and semaphore "
1204 "adjustments. However, somewhat inconsistently, up to and including Linux "
1205 "4.5, the kernel did not update I<sempid> for B<SETALL> operations. This was "
1206 "rectified in Linux 4.6."
1207 msgstr ""
1208 "Linux также обновляет I<sempid> при операциях B<SETVAL> и регулировки "
1209 "семафора. Однако, непоследовательно, ранние версии Linux по 4.5 включительно "
1210 "не обновляли I<sempid> при операциях B<SETALL>. Это было исправлено в Linux "
1211 "4.6."
1212
1213 #. type: SH
1214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1216 #, no-wrap
1217 msgid "STANDARDS"
1218 msgstr "СТАНДАРТЫ"
1219
1220 #. type: Plain text
1221 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1222 #: opensuse-tumbleweed
1223 msgid "POSIX.1-2024."
1224 msgstr "POSIX.1-2024."
1225
1226 #. type: SH
1227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1229 #, no-wrap
1230 msgid "HISTORY"
1231 msgstr "ИСТОРИЯ"
1232
1233 #. SVr4 documents more error conditions EINVAL and EOVERFLOW.
1234 #. type: Plain text
1235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1237 msgid "POSIX.1-2001, SVr4."
1238 msgstr "POSIX.1-2001, SVr4."
1239
1240 #. type: Plain text
1241 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1242 #: opensuse-tumbleweed
1243 #, fuzzy
1244 #| msgid ""
1245 #| "Various fields in a I<struct semid_ds> were typed as I<short> under Linux "
1246 #| "2.2 and have become I<long> under Linux 2.4. To take advantage of this, "
1247 #| "a recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1248 #| "distinguishes old and new calls by an B<IPC_64> flag in I<cmd>.)"
1249 msgid ""
1250 "Various fields in a I<struct\\ semid_ds> were typed as I<short> under Linux "
1251 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
1252 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1253 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
1254 msgstr ""
1255 "В Linux 2.2 различные поля I<struct semid_ds> имели тип I<short>. В Linux "
1256 "2.4 тип был изменён на I<long>. Для задействования преимуществ этого "
1257 "изменения необходима перекомпиляция программы с glibc-2.1.91 или более "
1258 "поздней версией (ядро различает старые и новые вызовы по флагу B<IPC_64> в "
1259 "аргументе I<cmd>)."
1260
1261 #. POSIX.1-2001, POSIX.1-2008
1262 #. type: Plain text
1263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1265 msgid ""
1266 "In some earlier versions of glibc, the I<semun> union was defined in "
1267 "I<E<lt>sys/sem.hE<gt>>, but POSIX.1 requires that the caller define this "
1268 "union. On versions of glibc where this union is I<not> defined, the macro "
1269 "B<_SEM_SEMUN_UNDEFINED> is defined in I<E<lt>sys/sem.hE<gt>>."
1270 msgstr ""
1271 "В некоторых ранних версиях glibc объединение I<semun> определялось в "
1272 "I<E<lt>sys/sem.hE<gt>>, но в POSIX.1 требовалось, чтобы это объединение "
1273 "определял вызывающий. В версиях glibc, в которых это объединение I<не> "
1274 "определено, в I<E<lt>sys/sem.hE<gt>> определён макрос "
1275 "B<_SEM_SEMUN_UNDEFINED>."
1276
1277 #. type: SH
1278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1280 #, no-wrap
1281 msgid "NOTES"
1282 msgstr "ПРИМЕЧАНИЯ"
1283
1284 #. type: Plain text
1285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1287 msgid ""
1288 "The B<IPC_INFO>, B<SEM_STAT>, and B<SEM_INFO> operations are used by the "
1289 "B<ipcs>(1) program to provide information on allocated resources. In the "
1290 "future these may modified or moved to a I</proc> filesystem interface."
1291 msgstr ""
1292 "Операции B<IPC_INFO>, B<SEM_STAT> и B<SEM_INFO> используются программой "
1293 "B<ipcs>(1) для получения информации о выделенных ресурсах. В будущем для "
1294 "этого может быть задействован интерфейс файловой системы I</proc>."
1295
1296 #. type: Plain text
1297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1299 msgid ""
1300 "The following system limit on semaphore sets affects a B<semctl>() call:"
1301 msgstr ""
1302 "На работу наборов семафоров и вызова B<semctl>() влияет системное "
1303 "ограничение:"
1304
1305 #. type: TP
1306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1308 #, no-wrap
1309 msgid "B<SEMVMX>"
1310 msgstr "B<SEMVMX>"
1311
1312 #. type: Plain text
1313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1315 msgid "Maximum value for B<semval>: implementation dependent (32767)."
1316 msgstr "Максимальное значение B<semval>: зависит от реализации (32767)."
1317
1318 #. type: Plain text
1319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1321 msgid ""
1322 "For greater portability, it is best to always call B<semctl>() with four "
1323 "arguments."
1324 msgstr ""
1325 "Для лучшей переносимости программ желательно всегда вызывать B<semctl>() c "
1326 "четырьмя аргументам."
1327
1328 #. type: SH
1329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1331 #, no-wrap
1332 msgid "EXAMPLES"
1333 msgstr "ПРИМЕРЫ"
1334
1335 #. type: Plain text
1336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1338 msgid "See B<shmop>(2)."
1339 msgstr "Смотрите B<shmop>(2)."
1340
1341 #. type: SH
1342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1344 #, no-wrap
1345 msgid "SEE ALSO"
1346 msgstr "СМОТРИТЕ ТАКЖЕ"
1347
1348 #. type: Plain text
1349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1351 msgid ""
1352 "B<ipc>(2), B<semget>(2), B<semop>(2), B<capabilities>(7), "
1353 "B<sem_overview>(7), B<sysvipc>(7)"
1354 msgstr ""
1355 "B<ipc>(2), B<semget>(2), B<semop>(2), B<capabilities>(7), "
1356 "B<sem_overview>(7), B<sysvipc>(7)"
1357
1358 #. type: TH
1359 #: debian-trixie
1360 #, no-wrap
1361 msgid "2024-05-02"
1362 msgstr "2 мая 2024 г."
1363
1364 #. type: TH
1365 #: debian-trixie
1366 #, no-wrap
1367 msgid "Linux man-pages 6.9.1"
1368 msgstr "Страницы руководства Linux 6.9.1"
1369
1370 #. type: Plain text
1371 #: debian-trixie
1372 msgid "Standard C library (I<libc>, I<-lc>)"
1373 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
1374
1375 #. type: Plain text
1376 #: debian-trixie fedora-44 fedora-rawhide
1377 #, fuzzy, no-wrap
1378 #| msgid ""
1379 #| "struct semid_ds {\n"
1380 #| " struct ipc_perm sem_perm; /* Ownership and permissions */\n"
1381 #| " time_t sem_otime; /* Last semop time */\n"
1382 #| " time_t sem_ctime; /* Last change time */\n"
1383 #| " unsigned long sem_nsems; /* No. of semaphores in set */\n"
1384 #| "};\n"
1385 msgid ""
1386 "struct semid_ds {\n"
1387 " struct ipc_perm sem_perm; /* Ownership and permissions */\n"
1388 " time_t sem_otime; /* Last semop time */\n"
1389 " time_t sem_ctime; /* Creation time/time of last\n"
1390 " modification via semctl() */\n"
1391 " unsigned long sem_nsems; /* No. of semaphores in set */\n"
1392 "};\n"
1393 msgstr ""
1394 "struct semid_ds {\n"
1395 " struct ipc_perm sem_perm; /* владелец и права */\n"
1396 " time_t sem_otime; /* время последней операции semop */\n"
1397 " time_t sem_ctime; /* время последнего изменения */\n"
1398 " unsigned long sem_nsems; /* кол-во семафоров в наборе */\n"
1399 "};\n"
1400
1401 #. type: Plain text
1402 #: debian-trixie fedora-44 fedora-rawhide
1403 #, no-wrap
1404 msgid ""
1405 "struct ipc_perm {\n"
1406 " key_t __key; /* Key supplied to semget(2) */\n"
1407 " uid_t B<uid>; /* Effective UID of owner */\n"
1408 " gid_t B<gid>; /* Effective GID of owner */\n"
1409 " uid_t cuid; /* Effective UID of creator */\n"
1410 " gid_t cgid; /* Effective GID of creator */\n"
1411 " unsigned short B<mode>; /* Permissions */\n"
1412 " unsigned short __seq; /* Sequence number */\n"
1413 "};\n"
1414 msgstr ""
1415 "struct ipc_perm {\n"
1416 " key_t __key; /* ключ, передаваемый в semget(2) */\n"
1417 " uid_t B<uid>; /* эффективный UID владельца */\n"
1418 " gid_t B<gid>; /* эффективный GID владельца */\n"
1419 " uid_t cuid; /* эффективный UID создателя */\n"
1420 " gid_t cgid; /* эффективный GID создателя */\n"
1421 " unsigned short B<mode>; /* права */\n"
1422 " unsigned short __seq; /* порядковый номер */\n"
1423 "};\n"
1424
1425 #. type: Plain text
1426 #: debian-trixie fedora-44 fedora-rawhide
1427 #, no-wrap
1428 msgid ""
1429 "struct seminfo {\n"
1430 " int semmap; /* Number of entries in semaphore\n"
1431 " map; unused within kernel */\n"
1432 " int semmni; /* Maximum number of semaphore sets */\n"
1433 " int semmns; /* Maximum number of semaphores in all\n"
1434 " semaphore sets */\n"
1435 " int semmnu; /* System-wide maximum number of undo\n"
1436 " structures; unused within kernel */\n"
1437 " int semmsl; /* Maximum number of semaphores in a\n"
1438 " set */\n"
1439 " int semopm; /* Maximum number of operations for\n"
1440 " semop(2) */\n"
1441 " int semume; /* Maximum number of undo entries per\n"
1442 " process; unused within kernel */\n"
1443 " int semusz; /* Size of struct sem_undo */\n"
1444 " int semvmx; /* Maximum semaphore value */\n"
1445 " int semaem; /* Max. value that can be recorded for\n"
1446 " semaphore adjustment (SEM_UNDO) */\n"
1447 "};\n"
1448 msgstr ""
1449 "struct seminfo {\n"
1450 " int semmap; /* количество записей в карте\n"
1451 " семафоров; не используется в ядре */\n"
1452 " int semmni; /* максимальное количество наборов\n"
1453 " семафоров */\n"
1454 " int semmns; /* максимальное количество семафоров во\n"
1455 " всех наборах семафоров */\n"
1456 " int semmnu; /* максимальное количество структур undo\n"
1457 " в системе; не используется в ядре */\n"
1458 " int semmsl; /* максимальное количество семафоров в\n"
1459 " наборе */\n"
1460 " int semopm; /* максимальное количество операция для\n"
1461 " semop(2) */\n"
1462 " int semume; /* максимальное количество записей undo на\n"
1463 " процесс; не используется в ядре */\n"
1464 " int semusz; /* размер struct sem_undo */\n"
1465 " int semvmx; /* максимальное значение семафора */\n"
1466 " int semaem; /* максимальное значение, которое может\n"
1467 " быть записано для регулирования\n"
1468 " семафора (SEM_UNDO) */\n"
1469 "};\n"
1470
1471 #. type: Plain text
1472 #: debian-trixie
1473 #, fuzzy
1474 #| msgid ""
1475 #| "Return the value of B<sempid> for the I<semnum>-th semaphore of the set. "
1476 #| "This is the PID of the process that last performed an operation on that "
1477 #| "semaphore (but see NOTES). The calling process must have read permission "
1478 #| "on the semaphore set."
1479 msgid ""
1480 "Return the B<sempid> value for the I<semnum>-th semaphore of the set. This "
1481 "is the PID of the process that last performed an operation on that semaphore "
1482 "(but see NOTES). The calling process must have read permission on the "
1483 "semaphore set."
1484 msgstr ""
1485 "Возвращает значение B<sempid> для I<semnum>-того семафора набора. Это PID "
1486 "процесса, который последним выполнял операцию с этим семафором (но смотрите "
1487 "ЗАМЕЧАНИЯ). Вызывающему процессу нужны права на чтение набора семафоров."
1488
1489 #. type: Plain text
1490 #: debian-trixie fedora-44 fedora-rawhide
1491 msgid "POSIX.1-2008."
1492 msgstr "POSIX.1-2008."
1493
1494 #. type: Plain text
1495 #: debian-trixie fedora-44 fedora-rawhide
1496 #, fuzzy
1497 #| msgid ""
1498 #| "Various fields in a I<struct semid_ds> were typed as I<short> under Linux "
1499 #| "2.2 and have become I<long> under Linux 2.4. To take advantage of this, "
1500 #| "a recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1501 #| "distinguishes old and new calls by an B<IPC_64> flag in I<cmd>.)"
1502 msgid ""
1503 "Various fields in a I<struct semid_ds> were typed as I<short> under Linux "
1504 "2.2 and have become I<long> under Linux 2.4. To take advantage of this, a "
1505 "recompilation under glibc-2.1.91 or later should suffice. (The kernel "
1506 "distinguishes old and new calls by an B<IPC_64> flag in I<op>.)"
1507 msgstr ""
1508 "В Linux 2.2 различные поля I<struct semid_ds> имели тип I<short>. В Linux "
1509 "2.4 тип был изменён на I<long>. Для задействования преимуществ этого "
1510 "изменения необходима перекомпиляция программы с glibc-2.1.91 или более "
1511 "поздней версией (ядро различает старые и новые вызовы по флагу B<IPC_64> в "
1512 "аргументе I<cmd>)."
1513
1514 #. type: TH
1515 #: fedora-44 fedora-rawhide
1516 #, no-wrap
1517 msgid "2024-07-23"
1518 msgstr "23 июля 2024 г."
1519
1520 #. type: TH
1521 #: fedora-44 fedora-rawhide
1522 #, no-wrap
1523 msgid "Linux man-pages 6.13"
1524 msgstr "Страницы руководства Linux 6.13"
1525
1526 #. type: TH
1527 #: mageia-cauldron
1528 #, no-wrap
1529 msgid "Linux man-pages 6.17"
1530 msgstr "Страницы руководства Linux 6.17"
1531
1532 #. type: TH
1533 #: opensuse-leap-16-1 opensuse-tumbleweed
1534 #, no-wrap
1535 msgid "Linux man-pages (unreleased)"
1536 msgstr "Страницы руководства Linux (не выпущены)"