| 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 |
# Azamat Hackimov <[email protected]>, 2013-2014, 2017. |
| 5 |
# Dmitry Bolkhovskikh <[email protected]>, 2017. |
| 6 |
# Vladislav <[email protected]>, 2015. |
| 7 |
# Yuri Kozlov <[email protected]>, 2011-2019. |
| 8 |
# Иван Павлов <[email protected]>, 2017, 2019. |
| 9 |
msgid "" |
| 10 |
msgstr "" |
| 11 |
"Project-Id-Version: manpages-l10n\n" |
| 12 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 13 |
"PO-Revision-Date: 2024-12-21 19:50+0300\n" |
| 14 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 15 |
"Language-Team: Russian <[email protected]>\n" |
| 16 |
"Language: ru\n" |
| 17 |
"MIME-Version: 1.0\n" |
| 18 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 19 |
"Content-Transfer-Encoding: 8bit\n" |
| 20 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 21 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 22 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 23 |
"X-Generator: Lokalize 2.0\n" |
| 24 |
|
| 25 |
#. type: TH |
| 26 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 27 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 28 |
#, no-wrap |
| 29 |
msgid "getcontext" |
| 30 |
msgstr "" |
| 31 |
|
| 32 |
#. type: TH |
| 33 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 34 |
#: opensuse-tumbleweed |
| 35 |
#, no-wrap |
| 36 |
msgid "2026-02-08" |
| 37 |
msgstr "8 февраля 2026 г." |
| 38 |
|
| 39 |
#. type: TH |
| 40 |
#: archlinux debian-unstable |
| 41 |
#, fuzzy, no-wrap |
| 42 |
#| msgid "Linux man-pages 6.17" |
| 43 |
msgid "Linux man-pages 6.18" |
| 44 |
msgstr "Справочные страницы Linux 6.17" |
| 45 |
|
| 46 |
#. type: SH |
| 47 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 48 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 49 |
#, no-wrap |
| 50 |
msgid "NAME" |
| 51 |
msgstr "НАИМЕНОВАНИЕ" |
| 52 |
|
| 53 |
#. type: Plain text |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
msgid "getcontext, setcontext - get or set the user context" |
| 57 |
msgstr "" |
| 58 |
"getcontext, setcontext - получить или установить пользовательский контекст" |
| 59 |
|
| 60 |
#. type: SH |
| 61 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 62 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
#, no-wrap |
| 64 |
msgid "LIBRARY" |
| 65 |
msgstr "БИБЛИОТЕКА" |
| 66 |
|
| 67 |
#. type: Plain text |
| 68 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 69 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 71 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 72 |
|
| 73 |
#. type: SH |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "SYNOPSIS" |
| 78 |
msgstr "СИНТАКСИС" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "B<#include E<lt>ucontext.hE<gt>>\n" |
| 85 |
msgstr "B<#include E<lt>ucontext.hE<gt>>\n" |
| 86 |
|
| 87 |
#. type: Plain text |
| 88 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 89 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 90 |
#, fuzzy, no-wrap |
| 91 |
#| msgid "B<int setcontext(const ucontext_t *>I<ucp>B<);>" |
| 92 |
msgid "" |
| 93 |
"B<int getcontext(ucontext_t *>I<ucp>B<);>\n" |
| 94 |
"B<int setcontext(const ucontext_t *>I<ucp>B<);>\n" |
| 95 |
msgstr "B<int setcontext(const ucontext_t *>I<ucp>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 |
"In a System V-like environment, one has the two types I<mcontext_t> and " |
| 109 |
"I<ucontext_t> defined in I<E<lt>ucontext.hE<gt>> and the four functions " |
| 110 |
"B<getcontext>(), B<setcontext>(), B<makecontext>(3), and B<swapcontext>(3) " |
| 111 |
"that allow user-level context switching between multiple threads of control " |
| 112 |
"within a process." |
| 113 |
msgstr "" |
| 114 |
"В окружении, подобном SysV, существует два типа данных —I<mcontext_t> и " |
| 115 |
"I<ucontext_t>, которые определены в файле I<E<lt>ucontext.hE<gt>> и четыре " |
| 116 |
"функции — B<getcontext>(), B<setcontext>(), B<makecontext>(3) и " |
| 117 |
"B<swapcontext>(3), которые позволяют контексту пользовательского уровня " |
| 118 |
"переключаться между несколькими нитями внутри одного процесса." |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 122 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 123 |
msgid "" |
| 124 |
"The I<mcontext_t> type is machine-dependent and opaque. The I<ucontext_t> " |
| 125 |
"type is a structure that has at least the following fields:" |
| 126 |
msgstr "" |
| 127 |
"Тип I<mcontext_t> является машинно-зависимым и примитивным типом данных. Тип " |
| 128 |
"I<ucontext_t> является структурой, которая по крайней мере имеет следующие " |
| 129 |
"поля:" |
| 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 |
#, no-wrap |
| 135 |
msgid "" |
| 136 |
"typedef struct ucontext_t {\n" |
| 137 |
" struct ucontext_t *uc_link;\n" |
| 138 |
" sigset_t uc_sigmask;\n" |
| 139 |
" stack_t uc_stack;\n" |
| 140 |
" mcontext_t uc_mcontext;\n" |
| 141 |
" ...\n" |
| 142 |
"} ucontext_t;\n" |
| 143 |
msgstr "" |
| 144 |
"typedef struct ucontext_t {\n" |
| 145 |
" struct ucontext_t *uc_link;\n" |
| 146 |
" sigset_t uc_sigmask;\n" |
| 147 |
" stack_t uc_stack;\n" |
| 148 |
" mcontext_t uc_mcontext;\n" |
| 149 |
" ...\n" |
| 150 |
"} ucontext_t;\n" |
| 151 |
|
| 152 |
#. type: Plain text |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
msgid "" |
| 156 |
"with I<sigset_t> and I<stack_t> defined in I<E<lt>signal.hE<gt>>. Here " |
| 157 |
"I<uc_link> points to the context that will be resumed when the current " |
| 158 |
"context terminates (in case the current context was created using " |
| 159 |
"B<makecontext>(3)), I<uc_sigmask> is the set of signals blocked in this " |
| 160 |
"context (see B<sigprocmask>(2)), I<uc_stack> is the stack used by this " |
| 161 |
"context (see B<sigaltstack>(2)), and I<uc_mcontext> is the machine-specific " |
| 162 |
"representation of the saved context, that includes the calling thread's " |
| 163 |
"machine registers." |
| 164 |
msgstr "" |
| 165 |
"где I<sigset_t> и I<stack_t> определены в файле I<E<lt>signal.hE<gt>>. В " |
| 166 |
"этой структуре I<uc_link> указывает на контекст, к которому будет " |
| 167 |
"осуществлён переход, когда завершается текущий контекст (в случае, если " |
| 168 |
"текущий контекст был создан с помощью B<makecontext>(3)), в I<uc_sigmask> " |
| 169 |
"задаётся список сигналов, которые блокируются в этом контексте (см. " |
| 170 |
"B<sigprocmask>(2)), I<uc_stack> \\(em это стек, который используется этим " |
| 171 |
"контекстом (см. B<sigaltstack>(2)), а I<uc_mcontext> является машинно-" |
| 172 |
"зависимым представлением сохранённого контекста, который содержит регистры " |
| 173 |
"вызываемой нити." |
| 174 |
|
| 175 |
#. type: Plain text |
| 176 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 177 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 178 |
#, fuzzy |
| 179 |
#| msgid "" |
| 180 |
#| "The function B<getcontext>() initializes the structure pointed at by " |
| 181 |
#| "I<ucp> to the currently active context." |
| 182 |
msgid "" |
| 183 |
"The function B<getcontext>() initializes the structure pointed to by I<ucp> " |
| 184 |
"to the currently active context." |
| 185 |
msgstr "" |
| 186 |
"Функция B<getcontext>() инициализирует вышеописанную структуру, указывая " |
| 187 |
"через I<ucp> на текущий активный контекст." |
| 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 |
#, fuzzy |
| 193 |
#| msgid "" |
| 194 |
#| "The function B<setcontext>() restores the user context pointed at by " |
| 195 |
#| "I<ucp>. A successful call does not return. The context should have been " |
| 196 |
#| "obtained by a call of B<getcontext>(), or B<makecontext>(3), or passed as " |
| 197 |
#| "third argument to a signal handler." |
| 198 |
msgid "" |
| 199 |
"The function B<setcontext>() restores the user context pointed to by " |
| 200 |
"I<ucp>. A successful call does not return. The context should have been " |
| 201 |
"obtained by a call of B<getcontext>(), or B<makecontext>(3), or received as " |
| 202 |
"the third argument to a signal handler (see the discussion of the " |
| 203 |
"B<SA_SIGINFO> flag in B<sigaction>(2))." |
| 204 |
msgstr "" |
| 205 |
"Функция B<setcontext>() восстанавливает пользовательский контекст, на " |
| 206 |
"который указывает I<ucp>. При успешном вызове управление не возвращается " |
| 207 |
"обратно. Контекст должен быть получен с помощью вызова B<getcontext>() или " |
| 208 |
"B<makecontext>(3) или передан как третий аргумент обработчика сигнала." |
| 209 |
|
| 210 |
#. type: Plain text |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
msgid "" |
| 214 |
"If the context was obtained by a call of B<getcontext>(), program execution " |
| 215 |
"continues as if this call just returned." |
| 216 |
msgstr "" |
| 217 |
"Если контекст был получен через вызов B<getcontext>(), то выполнение " |
| 218 |
"программы продолжается как если бы этот вызов завершился простым возвратом." |
| 219 |
|
| 220 |
#. type: Plain text |
| 221 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 222 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 223 |
msgid "" |
| 224 |
"If the context was obtained by a call of B<makecontext>(3), program " |
| 225 |
"execution continues by a call to the function I<func> specified as the " |
| 226 |
"second argument of that call to B<makecontext>(3). When the function " |
| 227 |
"I<func> returns, we continue with the I<uc_link> member of the structure " |
| 228 |
"I<ucp> specified as the first argument of that call to B<makecontext>(3). " |
| 229 |
"When this member is NULL, the thread exits." |
| 230 |
msgstr "" |
| 231 |
"Если контекст был получен через вызов B<makecontext>(3), выполнение " |
| 232 |
"программы продолжается с помощью вызова функции I<func>, которая задаётся " |
| 233 |
"как второй аргумент вызова B<makecontext>(3). Когда происходит возврат из " |
| 234 |
"функции I<func>, выполнение продолжается с поля I<uc_link> структуры I<ucp>, " |
| 235 |
"которая задаётся как первый аргумент вызова B<makecontext>(3). Если это поле " |
| 236 |
"равно NULL, осуществляется выход из нити." |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
msgid "" |
| 242 |
"If the context was obtained by a call to a signal handler, then old standard " |
| 243 |
"text says that \"program execution continues with the program instruction " |
| 244 |
"following the instruction interrupted by the signal\". However, this " |
| 245 |
"sentence was removed in SUSv2, and the present verdict is \"the result is " |
| 246 |
"unspecified\"." |
| 247 |
msgstr "" |
| 248 |
"Если контекст был получен с помощью вызова обработчика сигнала, то старый " |
| 249 |
"текст стандарта говорит, что \"выполнение программы продолжается с " |
| 250 |
"инструкции программы, которая следует за инструкцией, прерванной сигналом\". " |
| 251 |
"Однако, этот текст был удалён в SUSv2 с вердиктом \"результат не определён\"." |
| 252 |
|
| 253 |
#. type: SH |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
#, no-wrap |
| 257 |
msgid "RETURN VALUE" |
| 258 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 259 |
|
| 260 |
#. type: Plain text |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
#, fuzzy |
| 264 |
#| msgid "" |
| 265 |
#| "When successful, B<getcontext>() returns 0 and B<setcontext>() does not " |
| 266 |
#| "return. On error, both return -1 and set I<errno> appropriately." |
| 267 |
msgid "" |
| 268 |
"When successful, B<getcontext>() returns 0 and B<setcontext>() does not " |
| 269 |
"return. On error, both return -1 and set I<errno> to indicate the error." |
| 270 |
msgstr "" |
| 271 |
"В случае успеха B<getcontext>() возвращает 0, а B<setcontext>() не " |
| 272 |
"возвращает ничего. В случае ошибки, возвращается -1 и значение I<errno> " |
| 273 |
"устанавливается соответствующим образом." |
| 274 |
|
| 275 |
#. type: SH |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
#, no-wrap |
| 279 |
msgid "ERRORS" |
| 280 |
msgstr "ОШИБКИ" |
| 281 |
|
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
msgid "None defined." |
| 286 |
msgstr "Не определены. " |
| 287 |
|
| 288 |
#. type: SH |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
#, no-wrap |
| 292 |
msgid "ATTRIBUTES" |
| 293 |
msgstr "АТРИБУТЫ" |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
msgid "" |
| 299 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 300 |
msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." |
| 301 |
|
| 302 |
#. type: tbl table |
| 303 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 304 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 305 |
#, no-wrap |
| 306 |
msgid "Interface" |
| 307 |
msgstr "Интерфейс" |
| 308 |
|
| 309 |
#. type: tbl table |
| 310 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 311 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 312 |
#, no-wrap |
| 313 |
msgid "Attribute" |
| 314 |
msgstr "Атрибут" |
| 315 |
|
| 316 |
#. type: tbl table |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
#, no-wrap |
| 320 |
msgid "Value" |
| 321 |
msgstr "Значение" |
| 322 |
|
| 323 |
#. type: tbl table |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
#, no-wrap |
| 327 |
msgid ".na\n" |
| 328 |
msgstr ".na\n" |
| 329 |
|
| 330 |
#. type: tbl table |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
#, no-wrap |
| 334 |
msgid ".nh\n" |
| 335 |
msgstr ".nh\n" |
| 336 |
|
| 337 |
#. type: tbl table |
| 338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 340 |
#, no-wrap |
| 341 |
msgid "" |
| 342 |
"B<getcontext>(),\n" |
| 343 |
"B<setcontext>()" |
| 344 |
msgstr "" |
| 345 |
"B<getcontext>(),\n" |
| 346 |
"B<setcontext>()" |
| 347 |
|
| 348 |
#. type: tbl table |
| 349 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 350 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 351 |
#, no-wrap |
| 352 |
msgid "Thread safety" |
| 353 |
msgstr "Безвредность в нитях" |
| 354 |
|
| 355 |
#. type: tbl table |
| 356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 358 |
#, no-wrap |
| 359 |
msgid "MT-Safe race:ucp" |
| 360 |
msgstr "MT-Safe race:ucp" |
| 361 |
|
| 362 |
#. type: SH |
| 363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 365 |
#, no-wrap |
| 366 |
msgid "STANDARDS" |
| 367 |
msgstr "СТАНДАРТЫ" |
| 368 |
|
| 369 |
#. type: Plain text |
| 370 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 371 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 372 |
msgid "None." |
| 373 |
msgstr "Отсутствуют." |
| 374 |
|
| 375 |
#. type: SH |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
#, no-wrap |
| 379 |
msgid "HISTORY" |
| 380 |
msgstr "ИСТОРИЯ" |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
#, fuzzy |
| 386 |
#| msgid "C99, POSIX.1-2001." |
| 387 |
msgid "SUSv2, POSIX.1-2001." |
| 388 |
msgstr "C99, POSIX.1-2001." |
| 389 |
|
| 390 |
#. type: Plain text |
| 391 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 392 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 393 |
#, fuzzy |
| 394 |
#| msgid "" |
| 395 |
#| "SUSv2, POSIX.1-2001. POSIX.1-2008 removes the specification of " |
| 396 |
#| "B<getcontext>(), citing portability issues, and recommending that " |
| 397 |
#| "applications be rewritten to use POSIX threads instead." |
| 398 |
msgid "" |
| 399 |
"POSIX.1-2008 removes these functions, citing portability issues, and " |
| 400 |
"recommending that applications be rewritten to use POSIX threads instead." |
| 401 |
msgstr "" |
| 402 |
"SUSv2, POSIX.1-2001. В POSIX.1-2008 удалено определение B<getcontext>() со " |
| 403 |
"ссылкой на проблемы с переносимостью и рекомендацией переписать приложение с " |
| 404 |
"использование нитей POSIX." |
| 405 |
|
| 406 |
#. type: SH |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
#, no-wrap |
| 410 |
msgid "NOTES" |
| 411 |
msgstr "ПРИМЕЧАНИЯ" |
| 412 |
|
| 413 |
#. type: Plain text |
| 414 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 415 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 416 |
#, fuzzy |
| 417 |
#| msgid "" |
| 418 |
#| "The earliest incarnation of this mechanism was the B<setjmp>(3)/" |
| 419 |
#| "B<longjmp>(3) mechanism. Since that does not define the handling of the " |
| 420 |
#| "signal context, the next stage was the B<sigsetjmp>(3)/B<siglongjmp>(3) " |
| 421 |
#| "pair. The present mechanism gives much more control. On the other hand, " |
| 422 |
#| "there is no easy way to detect whether a return from B<getcontext>() is " |
| 423 |
#| "from the first call, or via a B<setcontext>() call. The user has to " |
| 424 |
#| "invent their own bookkeeping device, and a register variable won't do " |
| 425 |
#| "since registers are restored." |
| 426 |
msgid "" |
| 427 |
"The earliest incarnation of this mechanism was the B<setjmp>(3)/ " |
| 428 |
"B<longjmp>(3) mechanism. Since that does not define the handling of the " |
| 429 |
"signal context, the next stage was the B<sigsetjmp>(3)/ B<siglongjmp>(3) " |
| 430 |
"pair. The present mechanism gives much more control. On the other hand, " |
| 431 |
"there is no easy way to detect whether a return from B<getcontext>() is " |
| 432 |
"from the first call, or via a B<setcontext>() call. The user has to invent " |
| 433 |
"their own bookkeeping device, and a register variable won't do since " |
| 434 |
"registers are restored." |
| 435 |
msgstr "" |
| 436 |
"В ранних версиях этого механизма использовался механизм B<setjmp>(3)/" |
| 437 |
"B<longjmp>(3). Так как в нём нет обработки контекста сигнала, было решено " |
| 438 |
"использовать следующий вариант пары B<sigsetjmp>(3)/B<siglongjmp>(3). " |
| 439 |
"Текущий механизм даёт много больше контроля. С другой стороны, не существует " |
| 440 |
"лёгкого способа определить какое из двух значений возвращает при первом " |
| 441 |
"запуске вызов B<getcontext>() или вызов B<setcontext>(). Пользователь должен " |
| 442 |
"придумать собственный способ и через регистровую переменную это сделать " |
| 443 |
"нельзя, так как значения регистров восстанавливаются." |
| 444 |
|
| 445 |
#. type: Plain text |
| 446 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 447 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 448 |
msgid "" |
| 449 |
"When a signal occurs, the current user context is saved and a new context is " |
| 450 |
"created by the kernel for the signal handler. Do not leave the handler " |
| 451 |
"using B<longjmp>(3): it is undefined what would happen with contexts. Use " |
| 452 |
"B<siglongjmp>(3) or B<setcontext>() instead." |
| 453 |
msgstr "" |
| 454 |
"Если возникнет сигнал, текущий пользовательский контекст сохраняется и для " |
| 455 |
"обработчика сигнала ядром создаётся новый контекст. Не выходите из этого " |
| 456 |
"обработчика, используя B<longjmp>(3) \\(em неизвестно, что может случиться с " |
| 457 |
"контекстами. Вместо этого используйте вызовы B<siglongjmp>(3) или " |
| 458 |
"B<setcontext>()." |
| 459 |
|
| 460 |
#. type: SH |
| 461 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 462 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 463 |
#, no-wrap |
| 464 |
msgid "SEE ALSO" |
| 465 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 466 |
|
| 467 |
#. type: Plain text |
| 468 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 469 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 470 |
#, fuzzy |
| 471 |
#| msgid "" |
| 472 |
#| "B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), " |
| 473 |
#| "B<makecontext>(3), B<sigsetjmp>(3)" |
| 474 |
msgid "" |
| 475 |
"B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), " |
| 476 |
"B<makecontext>(3), B<sigsetjmp>(3), B<signal>(7)" |
| 477 |
msgstr "" |
| 478 |
"B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), " |
| 479 |
"B<makecontext>(3), B<sigsetjmp>(3)" |
| 480 |
|
| 481 |
#. type: TH |
| 482 |
#: debian-trixie |
| 483 |
#, no-wrap |
| 484 |
msgid "2024-05-02" |
| 485 |
msgstr "2 мая 2024 г." |
| 486 |
|
| 487 |
#. type: TH |
| 488 |
#: debian-trixie |
| 489 |
#, no-wrap |
| 490 |
msgid "Linux man-pages 6.9.1" |
| 491 |
msgstr "Страницы руководства Linux 6.9.1" |
| 492 |
|
| 493 |
#. type: Plain text |
| 494 |
#: debian-trixie |
| 495 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 496 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 497 |
|
| 498 |
#. type: TH |
| 499 |
#: fedora-44 fedora-rawhide |
| 500 |
#, no-wrap |
| 501 |
msgid "2024-07-23" |
| 502 |
msgstr "23 июля 2024 г." |
| 503 |
|
| 504 |
#. type: TH |
| 505 |
#: fedora-44 fedora-rawhide |
| 506 |
#, no-wrap |
| 507 |
msgid "Linux man-pages 6.13" |
| 508 |
msgstr "Страницы руководства Linux 6.13" |
| 509 |
|
| 510 |
#. type: TH |
| 511 |
#: mageia-cauldron |
| 512 |
#, no-wrap |
| 513 |
msgid "Linux man-pages 6.17" |
| 514 |
msgstr "Страницы руководства Linux 6.17" |
| 515 |
|
| 516 |
#. type: TH |
| 517 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 518 |
#, no-wrap |
| 519 |
msgid "Linux man-pages (unreleased)" |
| 520 |
msgstr "Страницы руководства Linux (не выпущены)" |