| 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: 2024-10-04 18:04+0200\n" |
| 16 |
"PO-Revision-Date: 2024-12-21 19:50+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 |
#: debian-bookworm |
| 30 |
#, no-wrap |
| 31 |
msgid "sigevent" |
| 32 |
msgstr "" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: debian-bookworm |
| 36 |
#, no-wrap |
| 37 |
msgid "2022-10-30" |
| 38 |
msgstr "30 октября 2022 г." |
| 39 |
|
| 40 |
#. type: TH |
| 41 |
#: debian-bookworm |
| 42 |
#, no-wrap |
| 43 |
msgid "Linux man-pages 6.03" |
| 44 |
msgstr "Справочные страницы Linux 6.03" |
| 45 |
|
| 46 |
#. type: SH |
| 47 |
#: debian-bookworm |
| 48 |
#, no-wrap |
| 49 |
msgid "NAME" |
| 50 |
msgstr "НАИМЕНОВАНИЕ" |
| 51 |
|
| 52 |
#. type: Plain text |
| 53 |
#: debian-bookworm |
| 54 |
msgid "sigevent - structure for notification from asynchronous routines" |
| 55 |
msgstr "sigevent - структура для уведомления из асинхронных процедур" |
| 56 |
|
| 57 |
#. type: SH |
| 58 |
#: debian-bookworm |
| 59 |
#, no-wrap |
| 60 |
msgid "SYNOPSIS" |
| 61 |
msgstr "ОБЗОР" |
| 62 |
|
| 63 |
#. type: Plain text |
| 64 |
#: debian-bookworm |
| 65 |
#, no-wrap |
| 66 |
msgid "#include E<lt>signal.hE<gt>\n" |
| 67 |
msgstr "#include E<lt>signal.hE<gt>\n" |
| 68 |
|
| 69 |
#. type: Plain text |
| 70 |
#: debian-bookworm |
| 71 |
#, fuzzy, no-wrap |
| 72 |
#| msgid "" |
| 73 |
#| "union sigval { /* Data passed with notification */\n" |
| 74 |
#| " int sival_int; /* Integer value */\n" |
| 75 |
#| " void *sival_ptr; /* Pointer value */\n" |
| 76 |
#| "};\n" |
| 77 |
msgid "" |
| 78 |
"union sigval { /* Data passed with notification */\n" |
| 79 |
" int sival_int; /* Integer value */\n" |
| 80 |
" void *sival_ptr; /* Pointer value */\n" |
| 81 |
"};\n" |
| 82 |
msgstr "" |
| 83 |
"union sigval { /* Данные, передаваемые с уведомлением */\n" |
| 84 |
" int sival_int; /* целое */\n" |
| 85 |
" void *sival_ptr; /* указатель */\n" |
| 86 |
"};\n" |
| 87 |
|
| 88 |
#. type: Plain text |
| 89 |
#: debian-bookworm |
| 90 |
#, fuzzy, no-wrap |
| 91 |
#| msgid "" |
| 92 |
#| "struct sigevent {\n" |
| 93 |
#| " int sigev_notify; /* Notification method */\n" |
| 94 |
#| " int sigev_signo; /* Notification signal */\n" |
| 95 |
#| " union sigval sigev_value; /* Data passed with\n" |
| 96 |
#| " notification */\n" |
| 97 |
#| " void (*sigev_notify_function) (union sigval);\n" |
| 98 |
#| " /* Function used for thread\n" |
| 99 |
#| " notification (SIGEV_THREAD) */\n" |
| 100 |
#| " void *sigev_notify_attributes;\n" |
| 101 |
#| " /* Attributes for notification thread\n" |
| 102 |
#| " (SIGEV_THREAD) */\n" |
| 103 |
#| " pid_t sigev_notify_thread_id;\n" |
| 104 |
#| " /* ID of thread to signal (SIGEV_THREAD_ID) */\n" |
| 105 |
#| "};\n" |
| 106 |
msgid "" |
| 107 |
"struct sigevent {\n" |
| 108 |
" int sigev_notify; /* Notification method */\n" |
| 109 |
" int sigev_signo; /* Notification signal */\n" |
| 110 |
" union sigval sigev_value;\n" |
| 111 |
" /* Data passed with notification */\n" |
| 112 |
" void (*sigev_notify_function)(union sigval);\n" |
| 113 |
" /* Function used for thread\n" |
| 114 |
" notification (SIGEV_THREAD) */\n" |
| 115 |
" void *sigev_notify_attributes;\n" |
| 116 |
" /* Attributes for notification thread\n" |
| 117 |
" (SIGEV_THREAD) */\n" |
| 118 |
" pid_t sigev_notify_thread_id;\n" |
| 119 |
" /* ID of thread to signal\n" |
| 120 |
" (SIGEV_THREAD_ID); Linux-specific */\n" |
| 121 |
"};\n" |
| 122 |
msgstr "" |
| 123 |
"struct sigevent {\n" |
| 124 |
" int sigev_notify; /* метод уведомления */\n" |
| 125 |
" int sigev_signo; /* сигнал уведомления */\n" |
| 126 |
" union sigval sigev_value; /* данные, передаваемые\n" |
| 127 |
" с уведомлением */\n" |
| 128 |
" void (*sigev_notify_function) (union sigval);\n" |
| 129 |
" /* функция, используемая для нити\n" |
| 130 |
" notification (SIGEV_THREAD) */\n" |
| 131 |
" void *sigev_notify_attributes;\n" |
| 132 |
" /* атрибуты для уведомления нити\n" |
| 133 |
" (SIGEV_THREAD) */\n" |
| 134 |
" pid_t sigev_notify_thread_id;\n" |
| 135 |
" /* ID нити для уведомления (SIGEV_THREAD_ID) */\n" |
| 136 |
"};\n" |
| 137 |
|
| 138 |
#. type: SH |
| 139 |
#: debian-bookworm |
| 140 |
#, no-wrap |
| 141 |
msgid "DESCRIPTION" |
| 142 |
msgstr "ОПИСАНИЕ" |
| 143 |
|
| 144 |
#. type: Plain text |
| 145 |
#: debian-bookworm |
| 146 |
msgid "" |
| 147 |
"The I<sigevent> structure is used by various APIs to describe the way a " |
| 148 |
"process is to be notified about an event (e.g., completion of an " |
| 149 |
"asynchronous request, expiration of a timer, or the arrival of a message)." |
| 150 |
msgstr "" |
| 151 |
"Структура I<sigevent> используется в различных программных интерфейсах для " |
| 152 |
"описания способа, которым нужно уведомлять процесс о событии (например, " |
| 153 |
"окончание асинхронного запроса, истечение таймера или поступление сообщения)." |
| 154 |
|
| 155 |
#. type: Plain text |
| 156 |
#: debian-bookworm |
| 157 |
msgid "" |
| 158 |
"The definition shown in the SYNOPSIS is approximate: some of the fields in " |
| 159 |
"the I<sigevent> structure may be defined as part of a union. Programs " |
| 160 |
"should employ only those fields relevant to the value specified in " |
| 161 |
"I<sigev_notify>." |
| 162 |
msgstr "" |
| 163 |
"Определение, приведённое в ОБЗОРЕ, приблизительно: некоторые поля в " |
| 164 |
"структуре I<sigevent> могут быть определены как часть объединения. Программы " |
| 165 |
"должны использовать только те поля, которые применимы к значению, заданном в " |
| 166 |
"I<sigev_notify>." |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: debian-bookworm |
| 170 |
msgid "" |
| 171 |
"The I<sigev_notify> field specifies how notification is to be performed. " |
| 172 |
"This field can have one of the following values:" |
| 173 |
msgstr "" |
| 174 |
"В поле I<sigev_notify> задаётся как выполняется уведомление. Значением поля " |
| 175 |
"может быть:" |
| 176 |
|
| 177 |
#. type: TP |
| 178 |
#: debian-bookworm |
| 179 |
#, no-wrap |
| 180 |
msgid "B<SIGEV_NONE>" |
| 181 |
msgstr "B<SIGEV_NONE>" |
| 182 |
|
| 183 |
#. type: Plain text |
| 184 |
#: debian-bookworm |
| 185 |
msgid "A \"null\" notification: don't do anything when the event occurs." |
| 186 |
msgstr "«Пустое» уведомление: ничего не делать при возникновении события." |
| 187 |
|
| 188 |
#. type: TP |
| 189 |
#: debian-bookworm |
| 190 |
#, no-wrap |
| 191 |
msgid "B<SIGEV_SIGNAL>" |
| 192 |
msgstr "B<SIGEV_SIGNAL>" |
| 193 |
|
| 194 |
#. type: Plain text |
| 195 |
#: debian-bookworm |
| 196 |
msgid "Notify the process by sending the signal specified in I<sigev_signo>." |
| 197 |
msgstr "Уведомить процесс, отправив сигнал, указанный в I<sigev_signo>." |
| 198 |
|
| 199 |
#. type: Plain text |
| 200 |
#: debian-bookworm |
| 201 |
msgid "" |
| 202 |
"If the signal is caught with a signal handler that was registered using the " |
| 203 |
"B<sigaction>(2) B<SA_SIGINFO> flag, then the following fields are set in " |
| 204 |
"the I<siginfo_t> structure that is passed as the second argument of the " |
| 205 |
"handler:" |
| 206 |
msgstr "" |
| 207 |
"Если сигнал пойман обработчиком сигнала, который зарегистрирован с помощью " |
| 208 |
"B<sigaction>(2) с флагом B<SA_SIGINFO>, то следующим полям назначаются " |
| 209 |
"значения в структуре I<siginfo_t>, передаваемой во втором аргументе " |
| 210 |
"обработчика:" |
| 211 |
|
| 212 |
#. type: TP |
| 213 |
#: debian-bookworm |
| 214 |
#, no-wrap |
| 215 |
msgid "I<si_code>" |
| 216 |
msgstr "I<si_code>" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: debian-bookworm |
| 220 |
msgid "" |
| 221 |
"This field is set to a value that depends on the API delivering the " |
| 222 |
"notification." |
| 223 |
msgstr "" |
| 224 |
"В этом поле задаётся значение, которое зависит от программного интерфейса, " |
| 225 |
"доставляющего уведомление." |
| 226 |
|
| 227 |
#. type: TP |
| 228 |
#: debian-bookworm |
| 229 |
#, no-wrap |
| 230 |
msgid "I<si_signo>" |
| 231 |
msgstr "I<si_signo>" |
| 232 |
|
| 233 |
#. type: Plain text |
| 234 |
#: debian-bookworm |
| 235 |
msgid "" |
| 236 |
"This field is set to the signal number (i.e., the same value as in " |
| 237 |
"I<sigev_signo>)." |
| 238 |
msgstr "" |
| 239 |
"В этом поле указывается номер сигнала (т. е., тоже значение, что и в " |
| 240 |
"I<sigev_signo>)." |
| 241 |
|
| 242 |
#. type: TP |
| 243 |
#: debian-bookworm |
| 244 |
#, no-wrap |
| 245 |
msgid "I<si_value>" |
| 246 |
msgstr "I<si_value>" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: debian-bookworm |
| 250 |
msgid "This field is set to the value specified in I<sigev_value>." |
| 251 |
msgstr "В этом поле содержится значение, указанное в I<sigev_value>." |
| 252 |
|
| 253 |
#. type: Plain text |
| 254 |
#: debian-bookworm |
| 255 |
msgid "" |
| 256 |
"Depending on the API, other fields may also be set in the I<siginfo_t> " |
| 257 |
"structure." |
| 258 |
msgstr "" |
| 259 |
"В зависимости от программного интерфейса остальным полям в структуре " |
| 260 |
"I<siginfo_t> также могут быть присвоены значения." |
| 261 |
|
| 262 |
#. type: Plain text |
| 263 |
#: debian-bookworm |
| 264 |
msgid "" |
| 265 |
"The same information is also available if the signal is accepted using " |
| 266 |
"B<sigwaitinfo>(2)." |
| 267 |
msgstr "" |
| 268 |
"Эта информация также доступна, если сигнал принимается с помощью " |
| 269 |
"B<sigwaitinfo>(2)." |
| 270 |
|
| 271 |
#. type: TP |
| 272 |
#: debian-bookworm |
| 273 |
#, no-wrap |
| 274 |
msgid "B<SIGEV_THREAD>" |
| 275 |
msgstr "B<SIGEV_THREAD>" |
| 276 |
|
| 277 |
#. type: Plain text |
| 278 |
#: debian-bookworm |
| 279 |
msgid "" |
| 280 |
"Notify the process by invoking I<sigev_notify_function> \"as if\" it were " |
| 281 |
"the start function of a new thread. (Among the implementation possibilities " |
| 282 |
"here are that each timer notification could result in the creation of a new " |
| 283 |
"thread, or that a single thread is created to receive all notifications.) " |
| 284 |
"The function is invoked with I<sigev_value> as its sole argument. If " |
| 285 |
"I<sigev_notify_attributes> is not NULL, it should point to a " |
| 286 |
"I<pthread_attr_t> structure that defines attributes for the new thread (see " |
| 287 |
"B<pthread_attr_init>(3))." |
| 288 |
msgstr "" |
| 289 |
"Уведомить процесс с помощью вызова I<sigev_notify_function> «как если бы» " |
| 290 |
"это была бы начальная функция новой нити (среди возможностей реализации " |
| 291 |
"здесь может быть: каждое уведомление таймера приводит к созданию новой нити, " |
| 292 |
"или создаётся нить для получения всех уведомлений). Функция вызывается с " |
| 293 |
"единственным аргументом I<sigev_value>. Если I<sigev_notify_attributes> не " |
| 294 |
"равно NULL, то значение должно указывать на структуру I<pthread_attr_t>, в " |
| 295 |
"которой определены атрибуты новой нити (смотрите B<pthread_attr_init>(3))." |
| 296 |
|
| 297 |
#. type: TP |
| 298 |
#: debian-bookworm |
| 299 |
#, no-wrap |
| 300 |
msgid "B<SIGEV_THREAD_ID> (Linux-specific)" |
| 301 |
msgstr "B<SIGEV_THREAD_ID> (есть только в Linux)" |
| 302 |
|
| 303 |
#. | SIGEV_SIGNAL vs not? |
| 304 |
#. type: Plain text |
| 305 |
#: debian-bookworm |
| 306 |
msgid "Currently used only by POSIX timers; see B<timer_create>(2)." |
| 307 |
msgstr "" |
| 308 |
"В настоящее время используется только таймерами POSIX; смотрите " |
| 309 |
"B<timer_create>(2)." |
| 310 |
|
| 311 |
#. type: SH |
| 312 |
#: debian-bookworm |
| 313 |
#, no-wrap |
| 314 |
msgid "SEE ALSO" |
| 315 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 316 |
|
| 317 |
#. type: Plain text |
| 318 |
#: debian-bookworm |
| 319 |
msgid "" |
| 320 |
"B<timer_create>(2), B<aio_fsync>(3), B<aio_read>(3), B<aio_write>(3), " |
| 321 |
"B<getaddrinfo_a>(3), B<lio_listio>(3), B<mq_notify>(3), B<aio>(7), " |
| 322 |
"B<pthreads>(7)" |
| 323 |
msgstr "" |
| 324 |
"B<timer_create>(2), B<aio_fsync>(3), B<aio_read>(3), B<aio_write>(3), " |
| 325 |
"B<getaddrinfo_a>(3), B<lio_listio>(3), B<mq_notify>(3), B<aio>(7), " |
| 326 |
"B<pthreads>(7)" |