| 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 "semget" |
| 33 |
msgstr "semget" |
| 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 "semget - get a System V semaphore set identifier" |
| 60 |
msgstr "semget - считывает идентификатор набора семафоров 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 |
msgid "" |
| 93 |
"B<int semget(key_t >I<key>B<,> B<int >I<nsems>B<,> B<int >I<semflg>B<);>" |
| 94 |
msgstr "" |
| 95 |
"B<int semget(key_t >I<key>B<,> B<int >I<nsems>B<,> B<int >I<semflg>B<);>" |
| 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 |
msgid "" |
| 108 |
"The B<semget>() system call returns the System\\ V semaphore set identifier " |
| 109 |
"associated with the argument I<key>. It may be used either to obtain the " |
| 110 |
"identifier of a previously created semaphore set (when I<semflg> is zero and " |
| 111 |
"I<key> does not have the value B<IPC_PRIVATE>), or to create a new set." |
| 112 |
msgstr "" |
| 113 |
"Системный вызов B<semget>() возвращает идентификатор набора семафоров " |
| 114 |
"System\\ V, связанный со значением аргумента I<key>. Его можно использовать " |
| 115 |
"для получения идентификатора уже созданного набора семафоров (если I<semflg> " |
| 116 |
"равно нулю и значение I<key> не равно B<IPC_PRIVATE>) или для создания " |
| 117 |
"нового." |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
msgid "" |
| 123 |
"A new set of I<nsems> semaphores is created if I<key> has the value " |
| 124 |
"B<IPC_PRIVATE> or if no existing semaphore set is associated with I<key> and " |
| 125 |
"B<IPC_CREAT> is specified in I<semflg>." |
| 126 |
msgstr "" |
| 127 |
"Новый набор семафоров I<nsems> создаётся, если значение I<key> равно " |
| 128 |
"B<IPC_PRIVATE> или с ключом I<key> не связано ни одного существующего набора " |
| 129 |
"семафоров, а в I<semflg> задано B<IPC_CREAT>." |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "" |
| 135 |
"If I<semflg> specifies both B<IPC_CREAT> and B<IPC_EXCL> and a semaphore set " |
| 136 |
"already exists for I<key>, then B<semget>() fails with I<errno> set to " |
| 137 |
"B<EEXIST>. (This is analogous to the effect of the combination B<O_CREAT | " |
| 138 |
"O_EXCL> for B<open>(2).)" |
| 139 |
msgstr "" |
| 140 |
"Если в I<semflg> одновременно указаны B<IPC_CREAT> и B<IPC_EXCL> и набор " |
| 141 |
"семафоров для I<key> уже существует, то B<semget>() завершается с ошибкой и " |
| 142 |
"I<errno> присваивается значение B<EEXIST> (такой же результат как с " |
| 143 |
"B<O_CREAT | O_EXCL> у B<open>(2))." |
| 144 |
|
| 145 |
#. type: Plain text |
| 146 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 147 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 148 |
msgid "" |
| 149 |
"Upon creation, the least significant 9 bits of the argument I<semflg> define " |
| 150 |
"the permissions (for owner, group, and others) for the semaphore set. " |
| 151 |
"These bits have the same format, and the same meaning, as the I<mode> " |
| 152 |
"argument of B<open>(2) (though the execute permissions are not meaningful " |
| 153 |
"for semaphores, and write permissions mean permission to alter semaphore " |
| 154 |
"values)." |
| 155 |
msgstr "" |
| 156 |
"При создании в 9 начальных битах аргумента I<semflg> указываются права " |
| 157 |
"(владелец, группа и др.) на набор семафоров. Формат значения битов совпадает " |
| 158 |
"с аргументом I<mode> вызова B<open>(2) (но права на выполнение для семафоров " |
| 159 |
"ничего не означают, а права на запись означают право изменять значения " |
| 160 |
"семафоров)." |
| 161 |
|
| 162 |
#. type: Plain text |
| 163 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 164 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 165 |
msgid "" |
| 166 |
"When creating a new semaphore set, B<semget>() initializes the set's " |
| 167 |
"associated data structure, I<semid_ds> (see B<semctl>(2)), as follows:" |
| 168 |
msgstr "" |
| 169 |
"При создании нового набора семафоров B<semget>() инициализирует связанную с " |
| 170 |
"семафором структуру данных I<semid_ds> (см. B<semctl>(2)) следующим образом: " |
| 171 |
|
| 172 |
#. type: IP |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
#, no-wrap |
| 176 |
msgid "\\[bu]" |
| 177 |
msgstr "\\[bu]" |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
msgid "" |
| 183 |
"I<sem_perm.cuid> and I<sem_perm.uid> are set to the effective user ID of the " |
| 184 |
"calling process." |
| 185 |
msgstr "" |
| 186 |
"Полям I<sem_perm.cuid> и I<sem_perm.uid> присваиваются значения эффективного " |
| 187 |
"идентификатора пользователя вызывающего процесса." |
| 188 |
|
| 189 |
#. type: Plain text |
| 190 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 191 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 192 |
msgid "" |
| 193 |
"I<sem_perm.cgid> and I<sem_perm.gid> are set to the effective group ID of " |
| 194 |
"the calling process." |
| 195 |
msgstr "" |
| 196 |
"Полям I<sem_perm.cgid> и I<sem_perm.gid> присваиваются значения эффективного " |
| 197 |
"идентификатора группы вызывающего процесса." |
| 198 |
|
| 199 |
#. type: Plain text |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
msgid "" |
| 203 |
"The least significant 9 bits of I<sem_perm.mode> are set to the least " |
| 204 |
"significant 9 bits of I<semflg>." |
| 205 |
msgstr "" |
| 206 |
"Младшим 9 битам I<sem_perm.mode> присваивается значение младших 9 бит " |
| 207 |
"I<semflg>." |
| 208 |
|
| 209 |
#. type: Plain text |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
msgid "I<sem_nsems> is set to the value of I<nsems>." |
| 213 |
msgstr "Полю I<sem_nsems> присваивается значение I<nsems>." |
| 214 |
|
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "I<sem_otime> is set to 0." |
| 219 |
msgstr "Полю I<sem_otime> присваивается значение 0." |
| 220 |
|
| 221 |
#. type: Plain text |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
msgid "I<sem_ctime> is set to the current time." |
| 225 |
msgstr "Полю I<sem_ctime> присваивается значение текущего времени." |
| 226 |
|
| 227 |
#. type: Plain text |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
msgid "" |
| 231 |
"The argument I<nsems> can be 0 (a don't care) when a semaphore set is not " |
| 232 |
"being created. Otherwise, I<nsems> must be greater than 0 and less than or " |
| 233 |
"equal to the maximum number of semaphores per semaphore set (B<SEMMSL>)." |
| 234 |
msgstr "" |
| 235 |
"Если набор семафоров не создаётся, то аргумент I<nsems> может быть равен 0 " |
| 236 |
"(не учитывать). Иначе аргумент I<nsems> должен быть больше 0 и меньше или " |
| 237 |
"равен максимальному количеству семафоров в наборе (B<SEMMSL>)." |
| 238 |
|
| 239 |
#. and a check is made to see if it is marked for destruction. |
| 240 |
#. type: Plain text |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
msgid "If the semaphore set already exists, the permissions are verified." |
| 244 |
msgstr "Если набор семафоров уже существует, то проверяются права доступа." |
| 245 |
|
| 246 |
#. type: SH |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
#, no-wrap |
| 250 |
msgid "RETURN VALUE" |
| 251 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 252 |
|
| 253 |
#. type: Plain text |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
#, fuzzy |
| 257 |
#| msgid "" |
| 258 |
#| "On success, B<sched_getcpu>() returns a nonnegative CPU number. On " |
| 259 |
#| "error, -1 is returned and I<errno> is set to indicate the error." |
| 260 |
msgid "" |
| 261 |
"On success, B<semget>() returns the semaphore set identifier (a nonnegative " |
| 262 |
"integer). On failure, -1 is returned, and I<errno> is set to indicate the " |
| 263 |
"error." |
| 264 |
msgstr "" |
| 265 |
"При успешном выполнении B<sched_getcpu>() возвращает неотрицательный номер " |
| 266 |
"ЦП. При ошибке возвращается -1 и I<errno> устанавливается в соответствующее " |
| 267 |
"значение." |
| 268 |
|
| 269 |
#. type: SH |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
#, no-wrap |
| 273 |
msgid "ERRORS" |
| 274 |
msgstr "ОШИБКИ" |
| 275 |
|
| 276 |
#. type: TP |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
#, no-wrap |
| 280 |
msgid "B<EACCES>" |
| 281 |
msgstr "B<EACCES>" |
| 282 |
|
| 283 |
#. type: Plain text |
| 284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 286 |
msgid "" |
| 287 |
"A semaphore set exists for I<key>, but the calling process does not have " |
| 288 |
"permission to access the set, and does not have the B<CAP_IPC_OWNER> " |
| 289 |
"capability in the user namespace that governs its IPC namespace." |
| 290 |
msgstr "" |
| 291 |
"Набор семафоров для ключа I<key> существует, но вызывающий процесс не имеет " |
| 292 |
"прав доступа к нему и не имеет мандата B<CAP_IPC_OWNER> в пространстве имён " |
| 293 |
"пользователя, который управляет его пространством имён IPC." |
| 294 |
|
| 295 |
#. type: TP |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
#, no-wrap |
| 299 |
msgid "B<EEXIST>" |
| 300 |
msgstr "B<EEXIST>" |
| 301 |
|
| 302 |
#. .TP |
| 303 |
#. .B EIDRM |
| 304 |
#. The semaphore set is marked to be deleted. |
| 305 |
#. type: Plain text |
| 306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 308 |
msgid "" |
| 309 |
"B<IPC_CREAT> and B<IPC_EXCL> were specified in I<semflg>, but a semaphore " |
| 310 |
"set already exists for I<key>." |
| 311 |
msgstr "" |
| 312 |
"В I<semflg> указаны B<IPC_CREAT> и B<IPC_EXCL>, но набор семафоров уже " |
| 313 |
"существует для I<key>." |
| 314 |
|
| 315 |
#. type: TP |
| 316 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 317 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 318 |
#, no-wrap |
| 319 |
msgid "B<EINVAL>" |
| 320 |
msgstr "B<EINVAL>" |
| 321 |
|
| 322 |
#. type: Plain text |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
msgid "" |
| 326 |
"I<nsems> is less than 0 or greater than the limit on the number of " |
| 327 |
"semaphores per semaphore set (B<SEMMSL>)." |
| 328 |
msgstr "" |
| 329 |
"Значение I<nsems> меньше 0 или больше максимально возможного для набора " |
| 330 |
"количества семафоров (B<SEMMSL>)." |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
msgid "" |
| 336 |
"A semaphore set corresponding to I<key> already exists, but I<nsems> is " |
| 337 |
"larger than the number of semaphores in that set." |
| 338 |
msgstr "" |
| 339 |
"Набор семафоров, соответствующий I<key>, уже существует, но I<nsems> больше, " |
| 340 |
"чем количество семафоров в этом наборе." |
| 341 |
|
| 342 |
#. type: TP |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
#, no-wrap |
| 346 |
msgid "B<ENOENT>" |
| 347 |
msgstr "B<ENOENT>" |
| 348 |
|
| 349 |
#. type: Plain text |
| 350 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 351 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 352 |
msgid "" |
| 353 |
"No semaphore set exists for I<key> and I<semflg> did not specify " |
| 354 |
"B<IPC_CREAT>." |
| 355 |
msgstr "" |
| 356 |
"Для ключа I<key> не существует набора семафоров и в I<semflg> нет флага " |
| 357 |
"B<IPC_CREAT>." |
| 358 |
|
| 359 |
#. type: TP |
| 360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 362 |
#, no-wrap |
| 363 |
msgid "B<ENOMEM>" |
| 364 |
msgstr "B<ENOMEM>" |
| 365 |
|
| 366 |
#. type: Plain text |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
msgid "" |
| 370 |
"A semaphore set has to be created but the system does not have enough memory " |
| 371 |
"for the new data structure." |
| 372 |
msgstr "" |
| 373 |
"Набор семафоров должен быть создан, но в системе не хватает памяти для " |
| 374 |
"хранения новой структуры данных." |
| 375 |
|
| 376 |
#. type: TP |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
#, no-wrap |
| 380 |
msgid "B<ENOSPC>" |
| 381 |
msgstr "B<ENOSPC>" |
| 382 |
|
| 383 |
#. type: Plain text |
| 384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 386 |
msgid "" |
| 387 |
"A semaphore set has to be created but the system limit for the maximum " |
| 388 |
"number of semaphore sets (B<SEMMNI>), or the system wide maximum number of " |
| 389 |
"semaphores (B<SEMMNS>), would be exceeded." |
| 390 |
msgstr "" |
| 391 |
"Набор семафоров должен быть создан, но при этом будет превышен системный " |
| 392 |
"лимит на количество наборов семафоров (B<SEMMNI>) или системный лимит на " |
| 393 |
"количество семафоров (B<SEMMNS>)." |
| 394 |
|
| 395 |
#. type: SH |
| 396 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 397 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 398 |
#, no-wrap |
| 399 |
msgid "STANDARDS" |
| 400 |
msgstr "СТАНДАРТЫ" |
| 401 |
|
| 402 |
#. type: Plain text |
| 403 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 404 |
#: opensuse-tumbleweed |
| 405 |
msgid "POSIX.1-2024." |
| 406 |
msgstr "POSIX.1-2024." |
| 407 |
|
| 408 |
#. type: SH |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
#, no-wrap |
| 412 |
msgid "HISTORY" |
| 413 |
msgstr "ИСТОРИЯ" |
| 414 |
|
| 415 |
#. SVr4 documents additional error conditions EFBIG, E2BIG, EAGAIN, |
| 416 |
#. ERANGE, EFAULT. |
| 417 |
#. type: Plain text |
| 418 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 419 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 420 |
msgid "SVr4, POSIX.1-2001." |
| 421 |
msgstr "SVr4, POSIX.1-2001." |
| 422 |
|
| 423 |
#. type: SH |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "NOTES" |
| 428 |
msgstr "ПРИМЕЧАНИЯ" |
| 429 |
|
| 430 |
#. type: Plain text |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
msgid "" |
| 434 |
"B<IPC_PRIVATE> isn't a flag field but a I<key_t> type. If this special " |
| 435 |
"value is used for I<key>, the system call ignores all but the least " |
| 436 |
"significant 9 bits of I<semflg> and creates a new semaphore set (on success)." |
| 437 |
msgstr "" |
| 438 |
"Значение B<IPC_PRIVATE> не поле флага, а тип I<key_t>. Если I<key> равно " |
| 439 |
"этому специальному значению, то системный вызов игнорирует всё кроме 9-ти " |
| 440 |
"младших битов I<semflg> и создаёт новый набор семафоров (при успешном " |
| 441 |
"выполнении)." |
| 442 |
|
| 443 |
#. type: SS |
| 444 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 445 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 446 |
#, no-wrap |
| 447 |
msgid "Semaphore initialization" |
| 448 |
msgstr "Инициализация семафоров" |
| 449 |
|
| 450 |
#. In truth, every one of the many implementations that I've tested sets |
| 451 |
#. the values to zero, but I suppose there is/was some obscure |
| 452 |
#. implementation out there that does not. |
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
msgid "" |
| 457 |
"The values of the semaphores in a newly created set are indeterminate. " |
| 458 |
"(POSIX.1-2001 and POSIX.1-2008 are explicit on this point, although " |
| 459 |
"POSIX.1-2008 notes that a future version of the standard may require an " |
| 460 |
"implementation to initialize the semaphores to 0.) Although Linux, like " |
| 461 |
"many other implementations, initializes the semaphore values to 0, a " |
| 462 |
"portable application cannot rely on this: it should explicitly initialize " |
| 463 |
"the semaphores to the desired values." |
| 464 |
msgstr "" |
| 465 |
"Значения только что созданных семафоров не определены (в POSIX.1-2001 и " |
| 466 |
"POSIX.1-2008 это указано явно, хотя в POSIX.1-2008 сказано, что в будущих " |
| 467 |
"версиях стандарта от реализации может потребоваться инициализировать " |
| 468 |
"семафоры 0). Хотя Linux, подобно многим другим реализациям, инициализирует " |
| 469 |
"семафоры значением 0, переносимое приложение не может полагаться на это: оно " |
| 470 |
"должно явно инициализировать семафоры нужным значением." |
| 471 |
|
| 472 |
#. type: Plain text |
| 473 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 474 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 475 |
msgid "" |
| 476 |
"Initialization can be done using B<semctl>(2) B<SETVAL> or B<SETALL> " |
| 477 |
"operation. Where multiple peers do not know who will be the first to " |
| 478 |
"initialize the set, checking for a nonzero I<sem_otime> in the associated " |
| 479 |
"data structure retrieved by a B<semctl>(2) B<IPC_STAT> operation can be " |
| 480 |
"used to avoid races." |
| 481 |
msgstr "" |
| 482 |
"Инициализацию можно выполнять с помощью B<semctl>(2) с операцией B<SETVAL> " |
| 483 |
"или B<SETALL>. При наличии нескольких абонентов неизвестно, кто первый " |
| 484 |
"выполнит инициализацию, и чтобы избежать состязательности нужно проверять " |
| 485 |
"I<sem_otime> на ненулевое значение в связанной структуре данных, получаемой " |
| 486 |
"с помощью B<semctl>(2) и операции B<IPC_STAT>." |
| 487 |
|
| 488 |
#. type: SS |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
#, no-wrap |
| 492 |
msgid "Semaphore limits" |
| 493 |
msgstr "Ограничения семафоров" |
| 494 |
|
| 495 |
#. type: Plain text |
| 496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
msgid "" |
| 499 |
"The following limits on semaphore set resources affect the B<semget>() call:" |
| 500 |
msgstr "" |
| 501 |
"Ниже приведены ограничения на ресурсы набора семафоров, оказывающие влияние " |
| 502 |
"на вызов B<semget>():" |
| 503 |
|
| 504 |
#. type: TP |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
#, no-wrap |
| 508 |
msgid "B<SEMMNI>" |
| 509 |
msgstr "B<SEMMNI>" |
| 510 |
|
| 511 |
#. commit e843e7d2c88b7db107a86bd2c7145dc715c058f4 |
| 512 |
#. This /proc file is not available in Linux 2.2 and earlier -- MTK |
| 513 |
#. type: Plain text |
| 514 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 515 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 516 |
#, fuzzy |
| 517 |
#| msgid "" |
| 518 |
#| "System-wide limit on the number of semaphore sets. On Linux systems " |
| 519 |
#| "before version 3.19, the default value for this limit was 128. Since " |
| 520 |
#| "Linux 3.19, the default value is 32,000. On Linux, this limit can be " |
| 521 |
#| "read and modified via the fourth field of I</proc/sys/kernel/sem>." |
| 522 |
msgid "" |
| 523 |
"System-wide limit on the number of semaphore sets. Before Linux 3.19, the " |
| 524 |
"default value for this limit was 128. Since Linux 3.19, the default value " |
| 525 |
"is 32,000. On Linux, this limit can be read and modified via the fourth " |
| 526 |
"field of I</proc/sys/kernel/sem>." |
| 527 |
msgstr "" |
| 528 |
"Ограничение на максимальное количество наборов семафоров. В системах Linux " |
| 529 |
"до версии 3.19, значением по умолчанию этого ограничения было 128. Начиная с " |
| 530 |
"Linux 3.19, значение по умолчанию равно 32000. В Linux это ограничение можно " |
| 531 |
"получать и изменять через четвёртое поле I</proc/sys/kernel/sem>)." |
| 532 |
|
| 533 |
#. type: TP |
| 534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 536 |
#, no-wrap |
| 537 |
msgid "B<SEMMSL>" |
| 538 |
msgstr "B<SEMMSL>" |
| 539 |
|
| 540 |
#. commit e843e7d2c88b7db107a86bd2c7145dc715c058f4 |
| 541 |
#. type: Plain text |
| 542 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 543 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 544 |
#, fuzzy |
| 545 |
#| msgid "" |
| 546 |
#| "Maximum number of semaphores per semaphore ID. On Linux systems before " |
| 547 |
#| "version 3.19, the default value for this limit was 250. Since Linux " |
| 548 |
#| "3.19, the default value is 32,000. On Linux, this limit can be read and " |
| 549 |
#| "modified via the first field of I</proc/sys/kernel/sem>." |
| 550 |
msgid "" |
| 551 |
"Maximum number of semaphores per semaphore ID. Before Linux 3.19, the " |
| 552 |
"default value for this limit was 250. Since Linux 3.19, the default value " |
| 553 |
"is 32,000. On Linux, this limit can be read and modified via the first " |
| 554 |
"field of I</proc/sys/kernel/sem>." |
| 555 |
msgstr "" |
| 556 |
"Максимальное количество семафоров на один ID семафора. В системах Linux до " |
| 557 |
"версии 3.19, значением по умолчанию этого ограничения было 250. Начиная с " |
| 558 |
"Linux 3.19, значение по умолчанию равно 32000. В Linux это ограничение можно " |
| 559 |
"получать и изменять через первое поле I</proc/sys/kernel/sem>)." |
| 560 |
|
| 561 |
#. type: TP |
| 562 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 563 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 564 |
#, no-wrap |
| 565 |
msgid "B<SEMMNS>" |
| 566 |
msgstr "B<SEMMNS>" |
| 567 |
|
| 568 |
#. type: Plain text |
| 569 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 570 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 571 |
msgid "" |
| 572 |
"System-wide limit on the number of semaphores: policy dependent (on Linux, " |
| 573 |
"this limit can be read and modified via the second field of I</proc/sys/" |
| 574 |
"kernel/sem>). Note that the number of semaphores system-wide is also " |
| 575 |
"limited by the product of B<SEMMSL> and B<SEMMNI>." |
| 576 |
msgstr "" |
| 577 |
"Ограничение на максимальное количество семафоров в системе: зависит от " |
| 578 |
"политики (в Linux это ограничение можно получать и изменять через второе " |
| 579 |
"поле I</proc/sys/kernel/sem>). Заметим, что количество семафоров в системе " |
| 580 |
"также ограничено произведением B<SEMMSL> и B<SEMMNI>." |
| 581 |
|
| 582 |
#. type: SH |
| 583 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 584 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 585 |
#, no-wrap |
| 586 |
msgid "BUGS" |
| 587 |
msgstr "ПРОГРАММНЫЕ ОШИБКИ" |
| 588 |
|
| 589 |
#. type: Plain text |
| 590 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 591 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 592 |
msgid "" |
| 593 |
"The name choice B<IPC_PRIVATE> was perhaps unfortunate, B<IPC_NEW> would " |
| 594 |
"more clearly show its function." |
| 595 |
msgstr "" |
| 596 |
"Имя B<IPC_PRIVATE>, возможно, было выбрано неудачно, B<IPC_NEW> отражает " |
| 597 |
"смысл действия более ясно." |
| 598 |
|
| 599 |
#. type: SH |
| 600 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 601 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 602 |
#, no-wrap |
| 603 |
msgid "EXAMPLES" |
| 604 |
msgstr "ПРИМЕРЫ" |
| 605 |
|
| 606 |
#. type: Plain text |
| 607 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 608 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 609 |
msgid "" |
| 610 |
"The program shown below uses B<semget>() to create a new semaphore set or " |
| 611 |
"retrieve the ID of an existing set. It generates the I<key> for " |
| 612 |
"B<semget>() using B<ftok>(3). The first two command-line arguments are " |
| 613 |
"used as the I<pathname> and I<proj_id> arguments for B<ftok>(3). The third " |
| 614 |
"command-line argument is an integer that specifies the I<nsems> argument for " |
| 615 |
"B<semget>(). Command-line options can be used to specify the B<IPC_CREAT> " |
| 616 |
"(I<-c>) and B<IPC_EXCL> (I<-x>) flags for the call to B<semget>(). The " |
| 617 |
"usage of this program is demonstrated below." |
| 618 |
msgstr "" |
| 619 |
|
| 620 |
#. type: Plain text |
| 621 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 622 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 623 |
msgid "" |
| 624 |
"We first create two files that will be used to generate keys using " |
| 625 |
"B<ftok>(3), create two semaphore sets using those files, and then list the " |
| 626 |
"sets using B<ipcs>(1):" |
| 627 |
msgstr "" |
| 628 |
|
| 629 |
#. type: Plain text |
| 630 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 631 |
#: opensuse-tumbleweed |
| 632 |
#, no-wrap |
| 633 |
msgid "" |
| 634 |
"$B< touch mykey mykey2>;\n" |
| 635 |
"$B< ./t_semget -c mykey p 1>;\n" |
| 636 |
"ID = 9\n" |
| 637 |
"$B< ./t_semget -c mykey2 p 2>;\n" |
| 638 |
"ID = 10\n" |
| 639 |
"$B< ipcs -s>;\n" |
| 640 |
"\\&\n" |
| 641 |
"------ Semaphore Arrays --------\n" |
| 642 |
"key semid owner perms nsems\n" |
| 643 |
"0x7004136d 9 mtk 600 1\n" |
| 644 |
"0x70041368 10 mtk 600 2\n" |
| 645 |
msgstr "" |
| 646 |
|
| 647 |
#. type: Plain text |
| 648 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 649 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 650 |
msgid "" |
| 651 |
"Next, we demonstrate that when B<semctl>(2) is given the same I<key> (as " |
| 652 |
"generated by the same arguments to B<ftok>(3)), it returns the ID of the " |
| 653 |
"already existing semaphore set:" |
| 654 |
msgstr "" |
| 655 |
|
| 656 |
#. type: Plain text |
| 657 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 658 |
#: opensuse-tumbleweed |
| 659 |
#, fuzzy, no-wrap |
| 660 |
#| msgid "" |
| 661 |
#| "$ B<./t_semget -c mykey p 1>\n" |
| 662 |
#| "ID = 9\n" |
| 663 |
msgid "" |
| 664 |
"$B< ./t_semget -c mykey p 1>;\n" |
| 665 |
"ID = 9\n" |
| 666 |
msgstr "" |
| 667 |
"$ B<./t_semget -c mykey p 1>\n" |
| 668 |
"ID = 9\n" |
| 669 |
|
| 670 |
#. type: Plain text |
| 671 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 672 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 673 |
msgid "" |
| 674 |
"Finally, we demonstrate the kind of collision that can occur when " |
| 675 |
"B<ftok>(3) is given different I<pathname> arguments that have the same " |
| 676 |
"inode number:" |
| 677 |
msgstr "" |
| 678 |
|
| 679 |
#. type: Plain text |
| 680 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 681 |
#: opensuse-tumbleweed |
| 682 |
#, no-wrap |
| 683 |
msgid "" |
| 684 |
"$B< ln mykey link>;\n" |
| 685 |
"$B< ls -i1 link mykey>;\n" |
| 686 |
"2233197 link\n" |
| 687 |
"2233197 mykey\n" |
| 688 |
"$B< ./t_semget link p 1>; # Generates same key as \\[aq]mykey\\[aq]\n" |
| 689 |
"ID = 9\n" |
| 690 |
msgstr "" |
| 691 |
|
| 692 |
#. type: SS |
| 693 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 694 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 695 |
#, no-wrap |
| 696 |
msgid "Program source" |
| 697 |
msgstr "Исходный код программы" |
| 698 |
|
| 699 |
#. type: Plain text |
| 700 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 701 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 702 |
#, no-wrap |
| 703 |
msgid "" |
| 704 |
"/* t_semget.c\n" |
| 705 |
"\\&\n" |
| 706 |
" Licensed under GNU General Public License v2 or later.\n" |
| 707 |
"*/\n" |
| 708 |
"#include E<lt>stdio.hE<gt>\n" |
| 709 |
"#include E<lt>stdlib.hE<gt>\n" |
| 710 |
"#include E<lt>sys/ipc.hE<gt>\n" |
| 711 |
"#include E<lt>sys/sem.hE<gt>\n" |
| 712 |
"#include E<lt>unistd.hE<gt>\n" |
| 713 |
"\\&\n" |
| 714 |
"static void\n" |
| 715 |
"usage(const char *pname)\n" |
| 716 |
"{\n" |
| 717 |
" fprintf(stderr, \"Usage: %s [-cx] pathname proj-id num-sems\\[rs]n\",\n" |
| 718 |
" pname);\n" |
| 719 |
" fprintf(stderr, \" -c Use IPC_CREAT flag\\[rs]n\");\n" |
| 720 |
" fprintf(stderr, \" -x Use IPC_EXCL flag\\[rs]n\");\n" |
| 721 |
" exit(EXIT_FAILURE);\n" |
| 722 |
"}\n" |
| 723 |
"\\&\n" |
| 724 |
"int\n" |
| 725 |
"main(int argc, char *argv[])\n" |
| 726 |
"{\n" |
| 727 |
" int semid, nsems, flags, opt;\n" |
| 728 |
" key_t key;\n" |
| 729 |
"\\&\n" |
| 730 |
" flags = 0;\n" |
| 731 |
" while ((opt = getopt(argc, argv, \"cx\")) != -1) {\n" |
| 732 |
" switch (opt) {\n" |
| 733 |
" case \\[aq]c\\[aq]: flags |= IPC_CREAT; break;\n" |
| 734 |
" case \\[aq]x\\[aq]: flags |= IPC_EXCL; break;\n" |
| 735 |
" default: usage(argv[0]);\n" |
| 736 |
" }\n" |
| 737 |
" }\n" |
| 738 |
"\\&\n" |
| 739 |
" if (argc != optind + 3)\n" |
| 740 |
" usage(argv[0]);\n" |
| 741 |
"\\&\n" |
| 742 |
" key = ftok(argv[optind], argv[optind + 1][0]);\n" |
| 743 |
" if (key == -1) {\n" |
| 744 |
" perror(\"ftok\");\n" |
| 745 |
" exit(EXIT_FAILURE);\n" |
| 746 |
" }\n" |
| 747 |
"\\&\n" |
| 748 |
" nsems = atoi(argv[optind + 2]);\n" |
| 749 |
"\\&\n" |
| 750 |
" semid = semget(key, nsems, flags | 0600);\n" |
| 751 |
" if (semid == -1) {\n" |
| 752 |
" perror(\"semget\");\n" |
| 753 |
" exit(EXIT_FAILURE);\n" |
| 754 |
" }\n" |
| 755 |
"\\&\n" |
| 756 |
" printf(\"ID = %d\\[rs]n\", semid);\n" |
| 757 |
"\\&\n" |
| 758 |
" exit(EXIT_SUCCESS);\n" |
| 759 |
"}\n" |
| 760 |
msgstr "" |
| 761 |
|
| 762 |
#. SRC END |
| 763 |
#. type: SH |
| 764 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 765 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 766 |
#, no-wrap |
| 767 |
msgid "SEE ALSO" |
| 768 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 769 |
|
| 770 |
#. type: Plain text |
| 771 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 772 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 773 |
msgid "" |
| 774 |
"B<semctl>(2), B<semop>(2), B<ftok>(3), B<capabilities>(7), " |
| 775 |
"B<sem_overview>(7), B<sysvipc>(7)" |
| 776 |
msgstr "" |
| 777 |
"B<semctl>(2), B<semop>(2), B<ftok>(3), B<capabilities>(7), " |
| 778 |
"B<sem_overview>(7), B<sysvipc>(7)" |
| 779 |
|
| 780 |
#. type: TH |
| 781 |
#: debian-trixie |
| 782 |
#, no-wrap |
| 783 |
msgid "2024-06-15" |
| 784 |
msgstr "15 июня 2024 г." |
| 785 |
|
| 786 |
#. type: TH |
| 787 |
#: debian-trixie |
| 788 |
#, no-wrap |
| 789 |
msgid "Linux man-pages 6.9.1" |
| 790 |
msgstr "Страницы руководства Linux 6.9.1" |
| 791 |
|
| 792 |
#. type: Plain text |
| 793 |
#: debian-trixie |
| 794 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 795 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 796 |
|
| 797 |
#. type: Plain text |
| 798 |
#: debian-trixie fedora-44 fedora-rawhide |
| 799 |
msgid "POSIX.1-2008." |
| 800 |
msgstr "POSIX.1-2008." |
| 801 |
|
| 802 |
#. type: Plain text |
| 803 |
#: debian-trixie fedora-44 fedora-rawhide |
| 804 |
#, no-wrap |
| 805 |
msgid "" |
| 806 |
"$ B<touch mykey mykey2>\n" |
| 807 |
"$ B<./t_semget -c mykey p 1>\n" |
| 808 |
"ID = 9\n" |
| 809 |
"$ B<./t_semget -c mykey2 p 2>\n" |
| 810 |
"ID = 10\n" |
| 811 |
"$ B<ipcs -s>\n" |
| 812 |
"\\&\n" |
| 813 |
"------ Semaphore Arrays --------\n" |
| 814 |
"key semid owner perms nsems\n" |
| 815 |
"0x7004136d 9 mtk 600 1\n" |
| 816 |
"0x70041368 10 mtk 600 2\n" |
| 817 |
msgstr "" |
| 818 |
|
| 819 |
#. type: Plain text |
| 820 |
#: debian-trixie fedora-44 fedora-rawhide |
| 821 |
#, no-wrap |
| 822 |
msgid "" |
| 823 |
"$ B<./t_semget -c mykey p 1>\n" |
| 824 |
"ID = 9\n" |
| 825 |
msgstr "" |
| 826 |
"$ B<./t_semget -c mykey p 1>\n" |
| 827 |
"ID = 9\n" |
| 828 |
|
| 829 |
#. type: Plain text |
| 830 |
#: debian-trixie fedora-44 fedora-rawhide |
| 831 |
#, no-wrap |
| 832 |
msgid "" |
| 833 |
"$ B<ln mykey link>\n" |
| 834 |
"$ B<ls -i1 link mykey>\n" |
| 835 |
"2233197 link\n" |
| 836 |
"2233197 mykey\n" |
| 837 |
"$ B<./t_semget link p 1> # Generates same key as \\[aq]mykey\\[aq]\n" |
| 838 |
"ID = 9\n" |
| 839 |
msgstr "" |
| 840 |
|
| 841 |
#. type: TH |
| 842 |
#: fedora-44 fedora-rawhide |
| 843 |
#, no-wrap |
| 844 |
msgid "2024-07-23" |
| 845 |
msgstr "23 июля 2024 г." |
| 846 |
|
| 847 |
#. type: TH |
| 848 |
#: fedora-44 fedora-rawhide |
| 849 |
#, no-wrap |
| 850 |
msgid "Linux man-pages 6.13" |
| 851 |
msgstr "Страницы руководства Linux 6.13" |
| 852 |
|
| 853 |
#. type: TH |
| 854 |
#: mageia-cauldron |
| 855 |
#, no-wrap |
| 856 |
msgid "Linux man-pages 6.17" |
| 857 |
msgstr "Страницы руководства Linux 6.17" |
| 858 |
|
| 859 |
#. type: TH |
| 860 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 861 |
#, no-wrap |
| 862 |
msgid "Linux man-pages (unreleased)" |
| 863 |
msgstr "Страницы руководства Linux (не выпущены)" |