summaryrefslogtreecommitdiffstats
path: root/po/ru/man2/semop.2.po
diff options
context:
space:
mode:
Diffstat (limited to 'po/ru/man2/semop.2.po')
-rw-r--r--po/ru/man2/semop.2.po1051
1 files changed, 1051 insertions, 0 deletions
diff --git a/po/ru/man2/semop.2.po b/po/ru/man2/semop.2.po
new file mode 100644
index 00000000..a8a52335
--- /dev/null
+++ b/po/ru/man2/semop.2.po
@@ -0,0 +1,1051 @@
+# Russian translation of manpages
+# This file is distributed under the same license as the manpages-l10n package.
+# Copyright © of this file:
+# Alexander Golubev <fatzer2@gmail.com>, 2018.
+# Azamat Hackimov <azamat.hackimov@gmail.com>, 2011, 2014-2016.
+# Hotellook, 2014.
+# Nikita <zxcvbnm3230@mail.ru>, 2014.
+# Spiros Georgaras <sng@hellug.gr>, 2016.
+# Vladislav <ivladislavefimov@gmail.com>, 2015.
+# Yuri Kozlov <yuray@komyakino.ru>, 2011-2019.
+# Иван Павлов <pavia00@gmail.com>, 2017.
+msgid ""
+msgstr ""
+"Project-Id-Version: manpages-l10n\n"
+"POT-Creation-Date: 2024-03-01 17:07+0100\n"
+"PO-Revision-Date: 2019-10-15 18:55+0300\n"
+"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n"
+"Language-Team: Russian <man-pages-ru-talks@lists.sourceforge.net>\n"
+"Language: ru\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
+"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
+"(n%100>=11 && n%100<=14)? 2 : 3);\n"
+"X-Generator: Lokalize 2.0\n"
+
+#. type: TH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "semop"
+msgstr "semop"
+
+#. type: TH
+#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid "2023-10-31"
+msgstr "31 октября 2023 г."
+
+#. type: TH
+#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid "Linux man-pages 6.06"
+msgstr "Linux man-pages 6.06"
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "NAME"
+msgstr "ИМЯ"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "semop, semtimedop - System V semaphore operations"
+msgstr "semop, semtimedop - операции с семафорами System V"
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "LIBRARY"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "Standard C library (I<libc>, I<-lc>)"
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "SYNOPSIS"
+msgstr "СИНТАКСИС"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<#include E<lt>sys/sem.hE<gt>>\n"
+msgstr "B<#include E<lt>sys/sem.hE<gt>>\n"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid ""
+#| "B<int semop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<);>\n"
+#| "B<int semtimedop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<,>\n"
+#| "B< const struct timespec *>I<timeout>B<);>\n"
+msgid ""
+"B<int semop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<);>\n"
+"B<int semtimedop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<,>\n"
+"B< const struct timespec *_Nullable >I<timeout>B<);>\n"
+msgstr ""
+"B<int semop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<);>\n"
+"B<int semtimedop(int >I<semid>B<, struct sembuf *>I<sops>B<, size_t >I<nsops>B<,>\n"
+"B< const struct timespec *>I<timeout>B<);>\n"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
+msgstr ""
+"Требования макроса тестирования свойств для glibc (см. "
+"B<feature_test_macros>(7)):"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "B<semtimedop>():"
+msgstr "B<semtimedop>():"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid " _GNU_SOURCE\n"
+msgstr " _GNU_SOURCE\n"
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr "ОПИСАНИЕ"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Each semaphore in a System\\ V semaphore set has the following associated "
+"values:"
+msgstr ""
+"С каждым семафором в наборе семафоров System\\ V связаны следующие значения:"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid ""
+#| "unsigned short semval; /* semaphore value */\n"
+#| "unsigned short semzcnt; /* # waiting for zero */\n"
+#| "unsigned short semncnt; /* # waiting for increase */\n"
+#| "pid_t sempid; /* PID of process that last\n"
+msgid ""
+"unsigned short semval; /* semaphore value */\n"
+"unsigned short semzcnt; /* # waiting for zero */\n"
+"unsigned short semncnt; /* # waiting for increase */\n"
+"pid_t sempid; /* PID of process that last\n"
+" modified the semaphore value */\n"
+msgstr ""
+"unsigned short semval; /* значение семафора */\n"
+"unsigned short semzcnt; /* # ожидает ноль */\n"
+"unsigned short semncnt; /* # ожидает увеличения */\n"
+"pid_t sempid; /* PID процесса, выполнявшегося последним \n"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"B<semop>() performs operations on selected semaphores in the set indicated "
+"by I<semid>. Each of the I<nsops> elements in the array pointed to by "
+"I<sops> is a structure that specifies an operation to be performed on a "
+"single semaphore. The elements of this structure are of type I<struct "
+"sembuf>, containing the following members:"
+msgstr ""
+"Вызов B<semop>() производит операции над выбранными семафорами из набора "
+"семафоров I<semid>. Каждый из элементов I<nsops> в массиве, указанном в "
+"I<sops> является структурой, которой задаётся операция, выполняемая над "
+"отдельным семафором. Элементы этой структуры имеют тип I<struct sembuf>, "
+"который содержит поля:"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid ""
+"unsigned short sem_num; /* semaphore number */\n"
+"short sem_op; /* semaphore operation */\n"
+"short sem_flg; /* operation flags */\n"
+msgstr ""
+"unsigned short sem_num; /* номер семафора */\n"
+"short sem_op; /* операция над семафором */\n"
+"short sem_flg; /* флаги операции */\n"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Flags recognized in I<sem_flg> are B<IPC_NOWAIT> and B<SEM_UNDO>. If an "
+"operation specifies B<SEM_UNDO>, it will be automatically undone when the "
+"process terminates."
+msgstr ""
+"Флаги в I<sem_flg> могут иметь значения B<IPC_NOWAIT> и B<SEM_UNDO>. Если "
+"указан флаг B<SEM_UNDO>, то при завершении процесса будет выполнена откат "
+"операции."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The set of operations contained in I<sops> is performed in I<array order>, "
+"and I<atomically>, that is, the operations are performed either as a "
+"complete unit, or not at all. The behavior of the system call if not all "
+"operations can be performed immediately depends on the presence of the "
+"B<IPC_NOWAIT> flag in the individual I<sem_flg> fields, as noted below."
+msgstr ""
+"Набор операций из I<sops> выполняется в I<порядке появления в массиве> и "
+"I<является атомарным>, то есть выполняются или все операции, или ни одной. "
+"Поведение системного вызова при обнаружении невозможности немедленного "
+"выполнения операций зависит от наличия флага B<IPC_NOWAIT> в полях "
+"I<sem_flg> отдельных операций, как это описано далее."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Each operation is performed on the I<sem_num>-th semaphore of the semaphore "
+"set, where the first semaphore of the set is numbered 0. There are three "
+"types of operation, distinguished by the value of I<sem_op>."
+msgstr ""
+"Каждая операция выполняется над I<sem_num>-тым семафором из набора, где "
+"первый семафор имеет номер 0. Есть три типа операций, различающихся "
+"значением I<sem_op>."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid ""
+#| "If I<sem_op> is a positive integer, the operation adds this value to the "
+#| "semaphore value (I<semval>). Furthermore, if B<SEM_UNDO> is specified "
+#| "for this operation, the system subtracts the value I<sem_op> from the "
+#| "semaphore adjustment (I<semadj>) value for this semaphore. This "
+#| "operation can always proceed\\(emit never forces a thread to wait. The "
+#| "calling process must have alter permission on the semaphore set."
+msgid ""
+"If I<sem_op> is a positive integer, the operation adds this value to the "
+"semaphore value (I<semval>). Furthermore, if B<SEM_UNDO> is specified for "
+"this operation, the system subtracts the value I<sem_op> from the semaphore "
+"adjustment (I<semadj>) value for this semaphore. This operation can always "
+"proceed\\[em]it never forces a thread to wait. The calling process must "
+"have alter permission on the semaphore set."
+msgstr ""
+"Если значение I<sem_op> — положительное целое число, то оно добавляется к "
+"значению семафора (I<semval>). Если для операции стоит флаг B<SEM_UNDO>, то "
+"система вычитает значение I<sem_op> из значения регулировки (I<semadj>) "
+"семафора. Эта операция выполняется всегда и не переводит нить в режим "
+"ожидания. Вызывающий процесс должен иметь права на изменение набора "
+"семафоров."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"If I<sem_op> is zero, the process must have read permission on the semaphore "
+"set. This is a \"wait-for-zero\" operation: if I<semval> is zero, the "
+"operation can immediately proceed. Otherwise, if B<IPC_NOWAIT> is specified "
+"in I<sem_flg>, B<semop>() fails with I<errno> set to B<EAGAIN> (and none of "
+"the operations in I<sops> is performed). Otherwise, I<semzcnt> (the count "
+"of threads waiting until this semaphore's value becomes zero) is "
+"incremented by one and the thread sleeps until one of the following occurs:"
+msgstr ""
+"Если значение I<sem_op> равно нулю, то процесс должен иметь права на чтение "
+"набора семафоров. Эта операция «ожидания нуля»: если I<semval> равно нулю, "
+"то операция может выполнится сразу. Иначе, если в поле семафора I<sem_flg> "
+"указан флаг B<IPC_NOWAIT>, то B<semop>() завершается с ошибкой и I<errno> "
+"присваивается значение B<EAGAIN> (и ни одна операция из I<sops> не "
+"выполняется). Или же I<semzcnt> (счётчик нитей, ожидающих пока значение "
+"семафора не сравнялось с нулём) увеличивается на единицу, а нить переходит в "
+"режим ожидания пока не случится одно из:"
+
+#. type: IP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "\\[bu]"
+msgstr "\\[bu]"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"I<semval> becomes 0, at which time the value of I<semzcnt> is decremented."
+msgstr ""
+"Значение I<semval> станет равным 0, тогда значение I<semzcnt> уменьшается."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The semaphore set is removed: B<semop>() fails, with I<errno> set to "
+"B<EIDRM>."
+msgstr ""
+"Набор семафоров удалится: B<semop>() завершается с ошибкой, а I<errno> "
+"присваивается значение B<EIDRM>."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The calling thread catches a signal: the value of I<semzcnt> is decremented "
+"and B<semop>() fails, with I<errno> set to B<EINTR>."
+msgstr ""
+"Вызывающая нить получит сигнал: значение I<semncnt> уменьшается и B<semop>() "
+"завершается с ошибкой, а I<errno> присваивается значение B<EINTR>."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"If I<sem_op> is less than zero, the process must have alter permission on "
+"the semaphore set. If I<semval> is greater than or equal to the absolute "
+"value of I<sem_op>, the operation can proceed immediately: the absolute "
+"value of I<sem_op> is subtracted from I<semval>, and, if B<SEM_UNDO> is "
+"specified for this operation, the system adds the absolute value of "
+"I<sem_op> to the semaphore adjustment (I<semadj>) value for this "
+"semaphore. If the absolute value of I<sem_op> is greater than I<semval>, "
+"and B<IPC_NOWAIT> is specified in I<sem_flg>, B<semop>() fails, with "
+"I<errno> set to B<EAGAIN> (and none of the operations in I<sops> is "
+"performed). Otherwise, I<semncnt> (the counter of threads waiting for this "
+"semaphore's value to increase) is incremented by one and the thread sleeps "
+"until one of the following occurs:"
+msgstr ""
+"Если значение I<sem_op> меньше нуля, то процесс должен иметь права на "
+"изменение набора семафоров. Если значение I<semval> больше или равно "
+"абсолютному значению I<sem_op>, то операция может выполнятся сразу: "
+"абсолютное значение I<sem_op> вычитается из I<semval>, и, если для этой "
+"операции установлен флаг B<SEM_UNDO>, система добавляет абсолютное значение "
+"I<sem_op> к значению регулировки (I<semadj>) семафора. Если абсолютное "
+"значение I<sem_op> больше I<semval>, и в I<sem_flg> указан B<IPC_NOWAIT>, то "
+"B<semop>() завершается с ошибкой, а I<errno> присваивается значение "
+"B<EAGAIN> (и ни одна операция из I<sops> не выполняется). Иначе I<semncnt> "
+"(счётчик нитей, ожидающих увеличения значения семафора) увеличивается на "
+"единицу, а нить переходит в режим ожидания пока не случится одно из:"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"I<semval> becomes greater than or equal to the absolute value of I<sem_op>: "
+"the operation now proceeds, as described above."
+msgstr ""
+"I<semval> становится больше или равно абсолютному значению I<sem_op>: "
+"операция продолжается как описано выше."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The semaphore set is removed from the system: B<semop>() fails, with "
+"I<errno> set to B<EIDRM>."
+msgstr ""
+"Набор семафоров удалится из системы: B<semop>() завершается с ошибкой, а "
+"I<errno> присваивается значение B<EIDRM>."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The calling thread catches a signal: the value of I<semncnt> is decremented "
+"and B<semop>() fails, with I<errno> set to B<EINTR>."
+msgstr ""
+"Вызывающая нить получит сигнал: значение I<semncnt> уменьшается и B<semop>() "
+"завершается с ошибкой, а I<errno> присваивается значение B<EINTR>."
+
+#. and
+#. .I sem_ctime
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"On successful completion, the I<sempid> value for each semaphore specified "
+"in the array pointed to by I<sops> is set to the caller's process ID. In "
+"addition, the I<sem_otime> is set to the current time."
+msgstr ""
+"При успешном выполнении значение I<sempid> для каждого семафора, указанного "
+"в массиве, на который указывает I<sops>, устанавливается равным "
+"идентификатору вызывающего процесса. Также I<sem_otime> присваивается "
+"значение текущего времени."
+
+#. type: SS
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "semtimedop()"
+msgstr "semtimedop()"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"B<semtimedop>() behaves identically to B<semop>() except that in those "
+"cases where the calling thread would sleep, the duration of that sleep is "
+"limited by the amount of elapsed time specified by the I<timespec> structure "
+"whose address is passed in the I<timeout> argument. (This sleep interval "
+"will be rounded up to the system clock granularity, and kernel scheduling "
+"delays mean that the interval may overrun by a small amount.) If the "
+"specified time limit has been reached, B<semtimedop>() fails with I<errno> "
+"set to B<EAGAIN> (and none of the operations in I<sops> is performed). If "
+"the I<timeout> argument is NULL, then B<semtimedop>() behaves exactly like "
+"B<semop>()."
+msgstr ""
+"Системный вызов B<semtimedop>() ведёт себя идентично B<semop>(), за "
+"исключением того, что в случаях, когда вызывающая нить будет спать, "
+"длительность этого сна ограничена количеством времени, определяемым "
+"структурой I<timespec>, чей адрес передаётся в аргументе I<timeout>. Данное "
+"значение интервала будет округлено до точности системных часов, а из-за "
+"задержки при планировании в ядре блокирующий интервал будет немного больше. "
+"Если достигнут указанный лимит времени, то B<semtimedop>() завершится с "
+"ошибкой, а I<errno> устанавливается в B<EAGAIN> (и ни одна из операций в "
+"I<sops> не выполняется). Если значение аргумента I<timeout> равно NULL, то "
+"B<semtimedop>() ведёт себя аналогично B<semop>()."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Note that if B<semtimedop>() is interrupted by a signal, causing the call "
+"to fail with the error B<EINTR>, the contents of I<timeout> are left "
+"unchanged."
+msgstr ""
+"Заметим, что если B<semtimedop>() прерывается сигналом, то вызов завершается "
+"с ошибкой B<EINTR>, а содержимое I<timeout> не изменяется."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "RETURN VALUE"
+msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid ""
+#| "If successful, B<semop>() and B<semtimedop>() return 0; otherwise they "
+#| "return -1 with I<errno> indicating the error."
+msgid ""
+"On success, B<semop>() and B<semtimedop>() return 0. On failure, they "
+"return -1, and set I<errno> to indicate the error."
+msgstr ""
+"При успешном выполнении B<semop>() и B<semtimedop>() возвращается 0; иначе "
+"возвращается -1, а переменной I<errno> присваивается номер ошибки."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "ERRORS"
+msgstr "ОШИБКИ"
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<E2BIG>"
+msgstr "B<E2BIG>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The argument I<nsops> is greater than B<SEMOPM>, the maximum number of "
+"operations allowed per system call."
+msgstr ""
+"Значение аргумента I<nsops> больше B<SEMOPM>, максимального количества "
+"операций, которое может выполнить один системный вызов."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EACCES>"
+msgstr "B<EACCES>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The calling process does not have the permissions required to perform the "
+"specified semaphore operations, and does not have the B<CAP_IPC_OWNER> "
+"capability in the user namespace that governs its IPC namespace."
+msgstr ""
+"Вызывающий процесс не имеет прав, требуемых для выполнения указанных "
+"операций над семафорами, и не имеет мандата B<CAP_IPC_OWNER>, который "
+"управляет его пространством имён IPC."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EAGAIN>"
+msgstr "B<EAGAIN>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"An operation could not proceed immediately and either B<IPC_NOWAIT> was "
+"specified in I<sem_flg> or the time limit specified in I<timeout> expired."
+msgstr ""
+"Операция не может быть выполнена немедленно и, либо B<IPC_NOWAIT> был указан "
+"в I<sem_flg>, либо истекло время лимита, определённое в I<timeout>."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EFAULT>"
+msgstr "B<EFAULT>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"An address specified in either the I<sops> or the I<timeout> argument isn't "
+"accessible."
+msgstr "Адрес, указанный в I<sops> или I<timeout>, не доступен."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EFBIG>"
+msgstr "B<EFBIG>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"For some operation the value of I<sem_num> is less than 0 or greater than or "
+"equal to the number of semaphores in the set."
+msgstr ""
+"Для некоторых операций значение I<sem_num> меньше нуля или больше или равно "
+"количеству семафоров в наборе."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EIDRM>"
+msgstr "B<EIDRM>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "The semaphore set was removed."
+msgstr "Набор семафоров был удалён."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EINTR>"
+msgstr "B<EINTR>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"While blocked in this system call, the thread caught a signal; see "
+"B<signal>(7)."
+msgstr ""
+"Нить, находясь в режиме ожидания, получила сигнал; смотрите B<signal>(7)."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EINVAL>"
+msgstr "B<EINVAL>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The semaphore set doesn't exist, or I<semid> is less than zero, or I<nsops> "
+"has a nonpositive value."
+msgstr ""
+"Набор семафоров не существует, или значение I<semid> меньше нуля, или "
+"I<nsops> имеет не положительное значение."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<ENOMEM>"
+msgstr "B<ENOMEM>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The I<sem_flg> of some operation specified B<SEM_UNDO> and the system does "
+"not have enough memory to allocate the undo structure."
+msgstr ""
+"Для некоторых операций в поле I<sem_flg> задан флаг B<SEM_UNDO>, и система "
+"не может выделить достаточно памяти для структуры откатов."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<ERANGE>"
+msgstr "B<ERANGE>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"For some operation I<sem_op+semval> is greater than B<SEMVMX>, the "
+"implementation dependent maximum value for I<semval>."
+msgstr ""
+"Для некоторых операций I<sem_op+semval> больше чем B<SEMVMX>, максимального "
+"значения I<semval> (зависит от реализации)."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "STANDARDS"
+msgstr "СТАНДАРТЫ"
+
+#. type: Plain text
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-leap-15-6 opensuse-tumbleweed
+msgid "POSIX.1-2008."
+msgstr "POSIX.1-2008."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "VERSIONS"
+msgstr "ВЕРСИИ"
+
+#. SVr4 documents additional error conditions EINVAL, EFBIG, ENOSPC.
+#. type: Plain text
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Linux 2.5.52 (backported into Linux 2.4.22), glibc 2.3.3. POSIX.1-2001, "
+"SVr4."
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "NOTES"
+msgstr "ЗАМЕЧАНИЯ"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The I<sem_undo> structures of a process aren't inherited by the child "
+"produced by B<fork>(2), but they are inherited across an B<execve>(2) "
+"system call."
+msgstr ""
+"Структуры процесса I<sem_undo> не наследуются потомками, созданными через "
+"B<fork>(2), но они наследуются при выполнении системного вызова B<execve>(2)."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"B<semop>() is never automatically restarted after being interrupted by a "
+"signal handler, regardless of the setting of the B<SA_RESTART> flag when "
+"establishing a signal handler."
+msgstr ""
+"Вызов B<semop>() никогда автоматически не перезапускается после прерывания "
+"обработчиком сигнала, независимо от установки флага B<SA_RESTART> при "
+"настройке обработчика сигнала."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid ""
+#| "A semaphore adjustment (I<semadj>) value is a per-process, per-semaphore "
+#| "integer that is the negated sum of all operations performed on a "
+#| "semaphore specifying the B<SEM_UNDO> flag. Each process has a list of "
+#| "I<semadj> values\\(emone value for each semaphore on which it has "
+#| "operated using B<SEM_UNDO>. When a process terminates, each of its per-"
+#| "semaphore I<semadj> values is added to the corresponding semaphore, thus "
+#| "undoing the effect of that process's operations on the semaphore (but see "
+#| "BUGS below). When a semaphore's value is directly set using the "
+#| "B<SETVAL> or B<SETALL> request to B<semctl>(2), the corresponding "
+#| "I<semadj> values in all processes are cleared. The B<clone>(2) "
+#| "B<CLONE_SYSVSEM> flag allows more than one process to share a I<semadj> "
+#| "list; see B<clone>(2) for details."
+msgid ""
+"A semaphore adjustment (I<semadj>) value is a per-process, per-semaphore "
+"integer that is the negated sum of all operations performed on a semaphore "
+"specifying the B<SEM_UNDO> flag. Each process has a list of I<semadj> "
+"values\\[em]one value for each semaphore on which it has operated using "
+"B<SEM_UNDO>. When a process terminates, each of its per-semaphore I<semadj> "
+"values is added to the corresponding semaphore, thus undoing the effect of "
+"that process's operations on the semaphore (but see BUGS below). When a "
+"semaphore's value is directly set using the B<SETVAL> or B<SETALL> request "
+"to B<semctl>(2), the corresponding I<semadj> values in all processes are "
+"cleared. The B<clone>(2) B<CLONE_SYSVSEM> flag allows more than one "
+"process to share a I<semadj> list; see B<clone>(2) for details."
+msgstr ""
+"Значение регулировки семафора (I<semadj>) есть в каждом процессе. Это целое "
+"число — простой (отрицательный) счётчик всех операций над семафорами, для "
+"которых установлен флаг B<SEM_UNDO>. В каждом процессе есть список значений "
+"I<semadj> — по одному значению на каждый семафор, у которых установлен флаг "
+"B<SEM_UNDO>. При завершении процесса. каждое из значений I<semadj> семафора "
+"добавляется к соответствующему семафору, достигая таким образом эффекта "
+"выполнения операций процесса над семафорами (но смотрите раздел ДЕФЕКТЫ). "
+"Когда значение семафора явно устанавливается с помощью запроса B<SETVAL> или "
+"B<SETALL> вызовом B<semctl>(2), то соответствующие значения I<semadj> во "
+"всех процессах очищаются. Флаг B<CLONE_SYSVSEM> B<clone>(2) позволяет "
+"нескольким процессам совместно использовать список I<semadj>; подробности "
+"смотрите в B<clone>(2)."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The I<semval>, I<sempid>, I<semzcnt>, and I<semnct> values for a semaphore "
+"can all be retrieved using appropriate B<semctl>(2) calls."
+msgstr ""
+"Значения I<semval>, I<sempid>, I<semzcnt> и I<semnct> семафора можно "
+"получить с помощью соответствующих вызовов B<semctl>(2)."
+
+#. type: SS
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "Semaphore limits"
+msgstr "Ограничения семафоров"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The following limits on semaphore set resources affect the B<semop>() call:"
+msgstr ""
+"Ниже приведены лимиты ресурсов наборов семафоров, влияющие на вызов "
+"B<semop>():"
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<SEMOPM>"
+msgstr "B<SEMOPM>"
+
+#. commit e843e7d2c88b7db107a86bd2c7145dc715c058f4
+#. This /proc file is not available in Linux 2.2 and earlier -- MTK
+#. See comment in Linux 3.19 source file include/uapi/linux/sem.h
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Maximum number of operations allowed for one B<semop>() call. Before Linux "
+"3.19, the default value for this limit was 32. Since Linux 3.19, the "
+"default value is 500. On Linux, this limit can be read and modified via the "
+"third field of I</proc/sys/kernel/sem>. I<Note>: this limit should not be "
+"raised above 1000, because of the risk of that B<semop>() fails due to "
+"kernel memory fragmentation when allocating memory to copy the I<sops> array."
+msgstr ""
+"Максимальное количество операций, разрешённых для одного вызова B<semop>(). "
+"До версии Linux 3.19, значение по умолчанию было 3. Начиная с Linux 3.19, "
+"значение по умолчанию равно 500. В Linux это ограничение можно прочитать и "
+"изменить через третье поле I</proc/sys/kernel/sem>. I<Замечание>: это "
+"ограничение не должно превышать 1000, так как есть риск, что B<semop>(2) "
+"завершится с ошибкой из-за фрагментации памяти ядра при выделении памяти при "
+"копировании массива I<sops>."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<SEMVMX>"
+msgstr "B<SEMVMX>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Maximum allowable value for I<semval>: implementation dependent (32767)."
+msgstr ""
+"Максимально допустимое значение I<semval>: зависит от реализации (32767)."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The implementation has no intrinsic limits for the adjust on exit maximum "
+"value (B<SEMAEM>), the system wide maximum number of undo structures "
+"(B<SEMMNU>) and the per-process maximum number of undo entries system "
+"parameters."
+msgstr ""
+"Реализация не накладывает существенных ограничений на максимальное значение "
+"(B<SEMAEM>), на которое можно изменить значение семафора при выходе, "
+"максимальное количество системных структур откатываемых операций (B<SEMMNU>) "
+"и максимальное количество элементов отката системных параметров на процесс."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "BUGS"
+msgstr "ДЕФЕКТЫ"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"When a process terminates, its set of associated I<semadj> structures is "
+"used to undo the effect of all of the semaphore operations it performed with "
+"the B<SEM_UNDO> flag. This raises a difficulty: if one (or more) of these "
+"semaphore adjustments would result in an attempt to decrease a semaphore's "
+"value below zero, what should an implementation do? One possible approach "
+"would be to block until all the semaphore adjustments could be performed. "
+"This is however undesirable since it could force process termination to "
+"block for arbitrarily long periods. Another possibility is that such "
+"semaphore adjustments could be ignored altogether (somewhat analogously to "
+"failing when B<IPC_NOWAIT> is specified for a semaphore operation). Linux "
+"adopts a third approach: decreasing the semaphore value as far as possible "
+"(i.e., to zero) and allowing process termination to proceed immediately."
+msgstr ""
+"При завершении процесса его набор связанных структур I<semadj> используется "
+"для отката выполненных действий над семафорами, для которых был установлен "
+"флаг B<SEM_UNDO>. Это повышает сложность: если одно (или более) этих "
+"изменений семафоров привело бы в результате к попытке уменьшить значение "
+"семафора ниже нуля, что должно быть сделано в реализации? Одним из возможных "
+"решений была бы блокировка до тех пор, пока не выполнятся все изменения "
+"семафоров. Однако это нежелательно, так как это привело бы к блокированию "
+"процесса на неопределённый срок при его завершении. Другим вариантом "
+"является игнорирование сразу всех изменений семафоров (в некоторой степени, "
+"аналогично завершению с ошибкой, когда для операции с семафором указан "
+"B<IPC_NOWAIT>). В Linux используется третий вариант: уменьшение значения "
+"семафора до тех пор, пока это возможно ( т.е. до нуля) и разрешение "
+"немедленного завершения процесса."
+
+#. The bug report:
+#. http://marc.theaimsgroup.com/?l=linux-kernel&m=110260821123863&w=2
+#. the fix:
+#. http://marc.theaimsgroup.com/?l=linux-kernel&m=110261701025794&w=2
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid ""
+#| "In kernels 2.6.x, x E<lt>= 10, there is a bug that in some circumstances "
+#| "prevents a thread that is waiting for a semaphore value to become zero "
+#| "from being woken up when the value does actually become zero. This bug "
+#| "is fixed in kernel 2.6.11."
+msgid ""
+"In Linux 2.6.x, x E<lt>= 10, there is a bug that in some circumstances "
+"prevents a thread that is waiting for a semaphore value to become zero from "
+"being woken up when the value does actually become zero. This bug is fixed "
+"in Linux 2.6.11."
+msgstr ""
+"В ядрах 2.6.x, где x E<lt>= 10, есть дефект, из-за которого при определённых "
+"обстоятельствах нить, ожидающая установления значения семафора равного нулю, "
+"не будет разбужен когда значение станет равным нулю. Этот дефект исправлен в "
+"ядре 2.6.11."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "EXAMPLES"
+msgstr "ПРИМЕРЫ"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The following code segment uses B<semop>() to atomically wait for the value "
+"of semaphore 0 to become zero, and then increment the semaphore value by one."
+msgstr ""
+"В следующем фрагменте кода используется B<semop>() для атомарного ожидания "
+"момента, когда значение семафора 0 станет равным нулю и последующего "
+"увеличения значения семафора на единицу."
+
+#. type: Plain text
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
+#, no-wrap
+msgid ""
+"struct sembuf sops[2];\n"
+"int semid;\n"
+"\\&\n"
+"/* Code to set I<semid> omitted */\n"
+"\\&\n"
+"sops[0].sem_num = 0; /* Operate on semaphore 0 */\n"
+"sops[0].sem_op = 0; /* Wait for value to equal 0 */\n"
+"sops[0].sem_flg = 0;\n"
+"\\&\n"
+"sops[1].sem_num = 0; /* Operate on semaphore 0 */\n"
+"sops[1].sem_op = 1; /* Increment value by one */\n"
+"sops[1].sem_flg = 0;\n"
+"\\&\n"
+"if (semop(semid, sops, 2) == -1) {\n"
+" perror(\"semop\");\n"
+" exit(EXIT_FAILURE);\n"
+"}\n"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid "An example of the use of B<sendto>() is shown in B<getaddrinfo>(3)."
+msgid ""
+"A further example of the use of B<semop>() can be found in B<shmop>(2)."
+msgstr "Пример использования B<sendto>() показан в B<getaddrinfo>(3)."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "SEE ALSO"
+msgstr "СМ. ТАКЖЕ"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"B<clone>(2), B<semctl>(2), B<semget>(2), B<sigaction>(2), "
+"B<capabilities>(7), B<sem_overview>(7), B<sysvipc>(7), B<time>(7)"
+msgstr ""
+"B<clone>(2), B<semctl>(2), B<semget>(2), B<sigaction>(2), "
+"B<capabilities>(7), B<sem_overview>(7), B<sysvipc>(7), B<time>(7)"
+
+#. type: TH
+#: debian-bookworm
+#, no-wrap
+msgid "2023-02-05"
+msgstr "5 февраля 2023 г."
+
+#. type: TH
+#: debian-bookworm
+#, no-wrap
+msgid "Linux man-pages 6.03"
+msgstr "Linux man-pages 6.03"
+
+#. type: Plain text
+#: debian-bookworm
+#, fuzzy
+#| msgid ""
+#| "B<semtimedop>() first appeared in Linux 2.5.52, and was subsequently "
+#| "backported into kernel 2.4.22. Glibc support for B<semtimedop>() first "
+#| "appeared in version 2.3.3."
+msgid ""
+"B<semtimedop>() first appeared in Linux 2.5.52, and was subsequently "
+"backported into Linux 2.4.22. glibc support for B<semtimedop>() first "
+"appeared in Linux 2.3.3."
+msgstr ""
+"Вызов B<semtimedop>() впервые появился в Linux 2.5.52, а затем был перенесён "
+"в ядро версии 2.4.22. Поддержка в glibc для B<semtimedop>() впервые "
+"появилась в версии 2.3.3."
+
+#. SVr4 documents additional error conditions EINVAL, EFBIG, ENOSPC.
+#. type: Plain text
+#: debian-bookworm
+msgid "POSIX.1-2001, POSIX.1-2008, SVr4."
+msgstr "POSIX.1-2001, POSIX.1-2008, SVr4."
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"struct sembuf sops[2];\n"
+"int semid;\n"
+msgstr ""
+"struct sembuf sops[2];\n"
+"int semid;\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid "/* Code to set I<semid> omitted */\n"
+msgstr "/* код для установки I<semid> не показан */\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"sops[0].sem_num = 0; /* Operate on semaphore 0 */\n"
+"sops[0].sem_op = 0; /* Wait for value to equal 0 */\n"
+"sops[0].sem_flg = 0;\n"
+msgstr ""
+"sops[0].sem_num = 0; /* применяем к семафору 0 */\n"
+" sops[0].sem_op = 0; /* ждём значения, равного 0 */\n"
+" sops[0].sem_flg = 0;\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"sops[1].sem_num = 0; /* Operate on semaphore 0 */\n"
+"sops[1].sem_op = 1; /* Increment value by one */\n"
+"sops[1].sem_flg = 0;\n"
+msgstr ""
+"sops[1].sem_num = 0; /* применяем к семафору 0 */\n"
+" sops[1].sem_op = 1; /* увеличиваем значение на 1 */\n"
+" sops[1].sem_flg = 0;\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"if (semop(semid, sops, 2) == -1) {\n"
+" perror(\"semop\");\n"
+" exit(EXIT_FAILURE);\n"
+"}\n"
+msgstr ""
+"if (semop(semid, sops, 2) == -1) {\n"
+" perror(\"semop\");\n"
+" exit(EXIT_FAILURE);\n"
+"}\n"
+
+#. type: TH
+#: debian-unstable opensuse-tumbleweed
+#, no-wrap
+msgid "2023-05-03"
+msgstr "3 мая 2023 г."
+
+#. type: TH
+#: debian-unstable opensuse-tumbleweed
+#, no-wrap
+msgid "Linux man-pages 6.05.01"
+msgstr "Linux man-pages 6.05.01"
+
+#. type: TH
+#: opensuse-leap-15-6
+#, no-wrap
+msgid "2023-03-30"
+msgstr "30 марта 2023 г."
+
+#. type: TH
+#: opensuse-leap-15-6
+#, no-wrap
+msgid "Linux man-pages 6.04"
+msgstr "Linux man-pages 6.04"