| 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: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 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 30 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 31 |
#, no-wrap |
| 32 |
msgid "setjmp" |
| 33 |
msgstr "" |
| 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 "setjmp, sigsetjmp, longjmp, siglongjmp - performing a nonlocal goto" |
| 60 |
msgstr "setjmp, sigsetjmp, longjmp, siglongjmp - выполняет нелокальный переход" |
| 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>setjmp.hE<gt>>\n" |
| 87 |
msgstr "B<#include E<lt>setjmp.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 |
#, no-wrap |
| 93 |
msgid "" |
| 94 |
"B<int setjmp(jmp_buf >I<env>B<);>\n" |
| 95 |
"B<int sigsetjmp(sigjmp_buf >I<env>B<, int >I<savesigs>B<);>\n" |
| 96 |
msgstr "" |
| 97 |
"B<int setjmp(jmp_buf >I<env>B<);>\n" |
| 98 |
"B<int sigsetjmp(sigjmp_buf >I<env>B<, int >I<savesigs>B<);>\n" |
| 99 |
|
| 100 |
#. type: Plain text |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
#, fuzzy, no-wrap |
| 104 |
#| msgid "" |
| 105 |
#| "B<void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n" |
| 106 |
#| "B<void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n" |
| 107 |
msgid "" |
| 108 |
"B<[[noreturn]] void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n" |
| 109 |
"B<[[noreturn]] void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n" |
| 110 |
msgstr "" |
| 111 |
"B<void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n" |
| 112 |
"B<void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n" |
| 113 |
|
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
msgid "" |
| 118 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 119 |
msgstr "" |
| 120 |
"Требования макроса тестирования свойств для glibc (см. " |
| 121 |
"B<feature_test_macros>(7)):" |
| 122 |
|
| 123 |
#. type: Plain text |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
#, fuzzy |
| 127 |
#| msgid "B<setjmp>(): see NOTES." |
| 128 |
msgid "B<setjmp>(): see HISTORY." |
| 129 |
msgstr "B<setjmp>(): смотрите ЗАМЕЧАНИЯ." |
| 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 |
#, fuzzy |
| 135 |
#| msgid "B<sigset>(3)" |
| 136 |
msgid "B<sigsetjmp>():" |
| 137 |
msgstr "B<sigset>(3)" |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
#, no-wrap |
| 143 |
msgid " _POSIX_C_SOURCE\n" |
| 144 |
msgstr " _POSIX_C_SOURCE\n" |
| 145 |
|
| 146 |
#. type: SH |
| 147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 149 |
#, no-wrap |
| 150 |
msgid "DESCRIPTION" |
| 151 |
msgstr "ОПИСАНИЕ" |
| 152 |
|
| 153 |
#. type: Plain text |
| 154 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 155 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 156 |
msgid "" |
| 157 |
"The functions described on this page are used for performing \"nonlocal " |
| 158 |
"gotos\": transferring execution from one function to a predetermined " |
| 159 |
"location in another function. The B<setjmp>() function dynamically " |
| 160 |
"establishes the target to which control will later be transferred, and " |
| 161 |
"B<longjmp>() performs the transfer of execution." |
| 162 |
msgstr "" |
| 163 |
"Функции, описываемые в этой странице, используются для выполнения " |
| 164 |
"«нелокального goto»: передачи исполнения из одной функции в заранее " |
| 165 |
"определённое место другой. Функция B<setjmp>() динамически устанавливает " |
| 166 |
"точку для будущей передачи исполнения, а B<longjmp>() выполняет передачу " |
| 167 |
"исполнения." |
| 168 |
|
| 169 |
#. type: Plain text |
| 170 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 171 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 172 |
msgid "" |
| 173 |
"The B<setjmp>() function saves various information about the calling " |
| 174 |
"environment (typically, the stack pointer, the instruction pointer, possibly " |
| 175 |
"the values of other registers and the signal mask) in the buffer I<env> for " |
| 176 |
"later use by B<longjmp>(). In this case, B<setjmp>() returns 0." |
| 177 |
msgstr "" |
| 178 |
"Функция B<setjmp>() сохраняет различную информацию об окружении вызова " |
| 179 |
"(обычно, указатель стека, указатель инструкции, значения других регистров и " |
| 180 |
"маску сигналов) в буфер I<env> для последующего использования в " |
| 181 |
"B<longjmp>(). В этом случае B<setjmp>() возвращает 0." |
| 182 |
|
| 183 |
#. type: Plain text |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
#, fuzzy |
| 187 |
#| msgid "" |
| 188 |
#| "The B<longjmp>() function uses the information saved in I<env> to " |
| 189 |
#| "transfer control back to the point where B<setjmp>() was called and to " |
| 190 |
#| "restore (\"rewind\") the stack to its state at the time of the " |
| 191 |
#| "B<setjmp>() call. In addition, and depending on the implementation (see " |
| 192 |
#| "NOTES), the values of some other registers and the process signal mask " |
| 193 |
#| "may be restored to their state at the time of the B<setjmp>() call." |
| 194 |
msgid "" |
| 195 |
"The B<longjmp>() function uses the information saved in I<env> to transfer " |
| 196 |
"control back to the point where B<setjmp>() was called and to restore " |
| 197 |
"(\"rewind\") the stack to its state at the time of the B<setjmp>() call. " |
| 198 |
"In addition, and depending on the implementation (see NOTES and HISTORY), " |
| 199 |
"the values of some other registers and the process signal mask may be " |
| 200 |
"restored to their state at the time of the B<setjmp>() call." |
| 201 |
msgstr "" |
| 202 |
"Функция B<longjmp>() использует информацию, сохранённую в I<env>, для " |
| 203 |
"передачи управления обратно в точку, откуда была вызвана B<setjmp>(), и " |
| 204 |
"восстанавливает («отматывает») стек до состояния на время вызова " |
| 205 |
"B<setjmp>(). Также, в зависимости от реализации (смотрите ЗАМЕЧАНИЯ), " |
| 206 |
"значения некоторых регистров маска сигналов процесса могут быть " |
| 207 |
"восстановлены в их состояние на момент вызова B<setjmp>()." |
| 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 "" |
| 213 |
"Following a successful B<longjmp>(), execution continues as if B<setjmp>() " |
| 214 |
"had returned for a second time. This \"fake\" return can be distinguished " |
| 215 |
"from a true B<setjmp>() call because the \"fake\" return returns the value " |
| 216 |
"provided in I<val>. If the programmer mistakenly passes the value 0 in " |
| 217 |
"I<val>, the \"fake\" return will instead return 1." |
| 218 |
msgstr "" |
| 219 |
"После успешного вызова B<longjmp>() выполнение продолжается как если бы " |
| 220 |
"B<setjmp>() была вызвана второй раз. Этот «фиктивный» возврат можно " |
| 221 |
"распознать от настоящего вызова B<setjmp>(), так как «фиктивный» возврат " |
| 222 |
"возвращает значение, указанное в I<val>. Если программист ошибочно передаст " |
| 223 |
"значение 0 в I<val>, то «фиктивный» возврат вернёт вместо него 1." |
| 224 |
|
| 225 |
#. type: SS |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
#, no-wrap |
| 229 |
msgid "sigsetjmp() and siglongjmp()" |
| 230 |
msgstr "sigsetjmp() и siglongjmp()" |
| 231 |
|
| 232 |
#. type: Plain text |
| 233 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 234 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 235 |
msgid "" |
| 236 |
"B<sigsetjmp>() and B<siglongjmp>() also perform nonlocal gotos, but " |
| 237 |
"provide predictable handling of the process signal mask." |
| 238 |
msgstr "" |
| 239 |
"Функции B<sigsetjmp>() и B<siglongjmp>() также выполняют нелокальные " |
| 240 |
"переходы, но предоставляют предсказуемую обработку сигнальной маски процесса." |
| 241 |
|
| 242 |
#. type: Plain text |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
msgid "" |
| 246 |
"If, and only if, the I<savesigs> argument provided to B<sigsetjmp>() is " |
| 247 |
"nonzero, the process's current signal mask is saved in I<env> and will be " |
| 248 |
"restored if a B<siglongjmp>() is later performed with this I<env>." |
| 249 |
msgstr "" |
| 250 |
"Если, и только если, аргумент I<savesigs>, передаваемый в B<sigsetjmp>(), не " |
| 251 |
"равен нулю, то текущая маска сигналов процесса сохраняется в I<env> и будет " |
| 252 |
"восстановлена, если позднее будет запущена B<siglongjmp>() с этим I<env>." |
| 253 |
|
| 254 |
#. type: SH |
| 255 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 256 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 257 |
#, no-wrap |
| 258 |
msgid "RETURN VALUE" |
| 259 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 260 |
|
| 261 |
#. type: Plain text |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
msgid "" |
| 265 |
"B<setjmp>() and B<sigsetjmp>() return 0 when called directly; on the " |
| 266 |
"\"fake\" return that occurs after B<longjmp>() or B<siglongjmp>(), the " |
| 267 |
"nonzero value specified in I<val> is returned." |
| 268 |
msgstr "" |
| 269 |
"Функции B<setjmp>() и B<sigsetjmp>() возвращают 0, если вызывают явно; при " |
| 270 |
"«фиктивном» возврате, который возникает после B<longjmp>() или " |
| 271 |
"B<siglongjmp>(), возвращается ненулевое значение, указанное в I<val>." |
| 272 |
|
| 273 |
#. type: Plain text |
| 274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 276 |
msgid "The B<longjmp>() or B<siglongjmp>() functions do not return." |
| 277 |
msgstr "Функции B<longjmp>() и B<siglongjmp>() не выполняют возврат." |
| 278 |
|
| 279 |
#. type: SH |
| 280 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 281 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 282 |
#, no-wrap |
| 283 |
msgid "ATTRIBUTES" |
| 284 |
msgstr "АТРИБУТЫ" |
| 285 |
|
| 286 |
#. type: Plain text |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
msgid "" |
| 290 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 291 |
msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." |
| 292 |
|
| 293 |
#. type: tbl table |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid "Interface" |
| 298 |
msgstr "Интерфейс" |
| 299 |
|
| 300 |
#. type: tbl table |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
#, no-wrap |
| 304 |
msgid "Attribute" |
| 305 |
msgstr "Атрибут" |
| 306 |
|
| 307 |
#. type: tbl table |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "Value" |
| 312 |
msgstr "Значение" |
| 313 |
|
| 314 |
#. type: tbl table |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
#, no-wrap |
| 318 |
msgid ".na\n" |
| 319 |
msgstr ".na\n" |
| 320 |
|
| 321 |
#. type: tbl table |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
#, no-wrap |
| 325 |
msgid ".nh\n" |
| 326 |
msgstr ".nh\n" |
| 327 |
|
| 328 |
#. type: tbl table |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
#, no-wrap |
| 332 |
msgid "" |
| 333 |
"B<setjmp>(),\n" |
| 334 |
"B<sigsetjmp>()" |
| 335 |
msgstr "" |
| 336 |
"B<setjmp>(),\n" |
| 337 |
"B<sigsetjmp>()" |
| 338 |
|
| 339 |
#. type: tbl table |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
#, no-wrap |
| 343 |
msgid "Thread safety" |
| 344 |
msgstr "Безвредность в нитях" |
| 345 |
|
| 346 |
#. type: tbl table |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
#, no-wrap |
| 350 |
msgid "MT-Safe" |
| 351 |
msgstr "MT-Safe" |
| 352 |
|
| 353 |
#. type: tbl table |
| 354 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 355 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 356 |
#, no-wrap |
| 357 |
msgid "" |
| 358 |
"B<longjmp>(),\n" |
| 359 |
"B<siglongjmp>()" |
| 360 |
msgstr "" |
| 361 |
"B<longjmp>(),\n" |
| 362 |
"B<siglongjmp>()" |
| 363 |
|
| 364 |
#. type: SH |
| 365 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 366 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 367 |
#, no-wrap |
| 368 |
msgid "STANDARDS" |
| 369 |
msgstr "СТАНДАРТЫ" |
| 370 |
|
| 371 |
#. type: TP |
| 372 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 373 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 374 |
#, fuzzy, no-wrap |
| 375 |
#| msgid "B<sigset>(3)" |
| 376 |
msgid "B<setjmp>()" |
| 377 |
msgstr "B<sigset>(3)" |
| 378 |
|
| 379 |
#. type: TQ |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
#, fuzzy, no-wrap |
| 383 |
#| msgid "B<sigset>(3)" |
| 384 |
msgid "B<longjmp>()" |
| 385 |
msgstr "B<sigset>(3)" |
| 386 |
|
| 387 |
#. type: Plain text |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
msgid "C11, POSIX.1-2008." |
| 391 |
msgstr "C11, POSIX.1-2008." |
| 392 |
|
| 393 |
#. type: TP |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
#, fuzzy, no-wrap |
| 397 |
#| msgid "B<sigset>(3)" |
| 398 |
msgid "B<sigsetjmp>()" |
| 399 |
msgstr "B<sigset>(3)" |
| 400 |
|
| 401 |
#. type: TQ |
| 402 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 403 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 404 |
#, fuzzy, no-wrap |
| 405 |
#| msgid "B<sigset>(3)" |
| 406 |
msgid "B<siglongjmp>()" |
| 407 |
msgstr "B<sigset>(3)" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 412 |
msgid "POSIX.1-2008." |
| 413 |
msgstr "POSIX.1-2008." |
| 414 |
|
| 415 |
#. type: SH |
| 416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
#, no-wrap |
| 419 |
msgid "HISTORY" |
| 420 |
msgstr "ИСТОРИЯ" |
| 421 |
|
| 422 |
#. type: Plain text |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
msgid "POSIX.1-2001, C89." |
| 426 |
msgstr "POSIX.1-2001, C89." |
| 427 |
|
| 428 |
#. type: Plain text |
| 429 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 430 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 431 |
msgid "POSIX.1-2001." |
| 432 |
msgstr "POSIX.1-2001." |
| 433 |
|
| 434 |
#. so that _FAVOR_BSD is triggered |
| 435 |
#. .BR _XOPEN_SOURCE_EXTENDED , |
| 436 |
#. type: Plain text |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
#, fuzzy |
| 440 |
#| msgid "" |
| 441 |
#| "POSIX does not specify whether B<setjmp>() will save the signal mask (to " |
| 442 |
#| "be later restored during B<longjmp>()). In System V it will not. In " |
| 443 |
#| "4.3BSD it will, and there is a function B<_setjmp>() that will not. The " |
| 444 |
#| "behavior under Linux depends on the glibc version and the setting of " |
| 445 |
#| "feature test macros. On Linux with glibc versions before 2.19, " |
| 446 |
#| "B<setjmp>() follows the System V behavior by default, but the BSD " |
| 447 |
#| "behavior is provided if the B<_BSD_SOURCE> feature test macro is " |
| 448 |
#| "explicitly defined and none of B<_POSIX_SOURCE>, B<_POSIX_C_SOURCE>, " |
| 449 |
#| "B<_XOPEN_SOURCE>, B<_GNU_SOURCE>, or B<_SVID_SOURCE> is defined. Since " |
| 450 |
#| "glibc 2.19, I<E<lt>setjmp.hE<gt>> exposes only the System V version of " |
| 451 |
#| "B<setjmp>(). Programs that need the BSD semantics should replace calls " |
| 452 |
#| "to B<setjmp>() with calls to B<sigsetjmp>() with a nonzero I<savesigs> " |
| 453 |
#| "argument." |
| 454 |
msgid "" |
| 455 |
"POSIX does not specify whether B<setjmp>() will save the signal mask (to be " |
| 456 |
"later restored during B<longjmp>()). In System V it will not. In 4.3BSD it " |
| 457 |
"will, and there is a function B<_setjmp>() that will not. The behavior " |
| 458 |
"under Linux depends on the glibc version and the setting of feature test " |
| 459 |
"macros. Before glibc 2.19, B<setjmp>() follows the System V behavior by " |
| 460 |
"default, but the BSD behavior is provided if the B<_BSD_SOURCE> feature test " |
| 461 |
"macro is explicitly defined and none of B<_POSIX_SOURCE>, " |
| 462 |
"B<_POSIX_C_SOURCE>, B<_XOPEN_SOURCE>, B<_GNU_SOURCE>, or B<_SVID_SOURCE> is " |
| 463 |
"defined. Since glibc 2.19, I<E<lt>setjmp.hE<gt>> exposes only the System V " |
| 464 |
"version of B<setjmp>(). Programs that need the BSD semantics should replace " |
| 465 |
"calls to B<setjmp>() with calls to B<sigsetjmp>() with a nonzero " |
| 466 |
"I<savesigs> argument." |
| 467 |
msgstr "" |
| 468 |
"В POSIX не уточняется, должна ли B<setjmp>() сохранять сигнальную маску " |
| 469 |
"(чтобы позднее восстановить её при B<longjmp>()). В System V — не должна. В " |
| 470 |
"4.3BSD сохранение выполняется и есть функция B<_setjmp>, в которой этого не " |
| 471 |
"происходит. Поведение в Linux зависит от версии glibc и установленных " |
| 472 |
"макросов тестирования свойств. В Linux с glibc до версии 2.19 функция " |
| 473 |
"B<setjmp>() по умолчанию ведёт себя как в System V, но можно включить " |
| 474 |
"поведение как в BSD, если определить макрос тестирования свойств " |
| 475 |
"B<_BSD_SOURCE> и будут не определены B<_POSIX_SOURCE>, B<_POSIX_C_SOURCE>, " |
| 476 |
"B<_XOPEN_SOURCE>, B<_GNU_SOURCE> или B<_SVID_SOURCE>. Начиная с glibc 2.19, " |
| 477 |
"в I<E<lt>setjmp.hE<gt>> представляется только версия System V для " |
| 478 |
"B<setjmp>(). Если в программе нужно задействовать семантику BSD, замените " |
| 479 |
"вызовы B<setjmp>() на вызовы B<sigsetjmp>() с ненулевым аргументом " |
| 480 |
"I<savesigs>." |
| 481 |
|
| 482 |
#. type: SH |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
#, no-wrap |
| 486 |
msgid "NOTES" |
| 487 |
msgstr "ПРИМЕЧАНИЯ" |
| 488 |
|
| 489 |
#. type: Plain text |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
msgid "" |
| 493 |
"B<setjmp>() and B<longjmp>() can be useful for dealing with errors inside " |
| 494 |
"deeply nested function calls or to allow a signal handler to pass control to " |
| 495 |
"a specific point in the program, rather than returning to the point where " |
| 496 |
"the handler interrupted the main program. In the latter case, if you want " |
| 497 |
"to portably save and restore signal masks, use B<sigsetjmp>() and " |
| 498 |
"B<siglongjmp>(). See also the discussion of program readability below." |
| 499 |
msgstr "" |
| 500 |
"Функции B<setjmp>() и B<longjmp>() можно использовать для обработки ошибок " |
| 501 |
"внутри глубоко вложенных вызовов функций или чтобы позволить обработчику " |
| 502 |
"сигналов передать управление в определённую точку программы, и не возвращать " |
| 503 |
"исполнение главной программе в точку прерывания обработчиком. В последнем " |
| 504 |
"случае, если вы хотите сохранить и восстановить маску сигналов переносимым " |
| 505 |
"образом, то используйте B<sigsetjmp>() и B<siglongjmp>(). Также смотрите " |
| 506 |
"раздел про читаемость программы далее." |
| 507 |
|
| 508 |
#. type: SH |
| 509 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 510 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 511 |
#, no-wrap |
| 512 |
msgid "CAVEATS" |
| 513 |
msgstr "" |
| 514 |
|
| 515 |
#. type: Plain text |
| 516 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 517 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 518 |
msgid "" |
| 519 |
"The compiler may optimize variables into registers, and B<longjmp>() may " |
| 520 |
"restore the values of other registers in addition to the stack pointer and " |
| 521 |
"program counter. Consequently, the values of automatic variables are " |
| 522 |
"unspecified after a call to B<longjmp>() if they meet all the following " |
| 523 |
"criteria:" |
| 524 |
msgstr "" |
| 525 |
"Компилятор может оптимизировать переменные в регистрах и B<longjmp>() может " |
| 526 |
"восстановить значения регистров помимо указателя стека и счётчика программы. " |
| 527 |
"Следовательно, значения автоматических переменных непредсказуемы после " |
| 528 |
"вызова B<longjmp>(), если они удовлетворяют следующим критериям:" |
| 529 |
|
| 530 |
#. type: IP |
| 531 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 532 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 533 |
#, no-wrap |
| 534 |
msgid "\\[bu]" |
| 535 |
msgstr "\\[bu]" |
| 536 |
|
| 537 |
#. type: Plain text |
| 538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
msgid "" |
| 541 |
"they are local to the function that made the corresponding B<setjmp>() call;" |
| 542 |
msgstr "" |
| 543 |
"они локальны для функции, которая сделала соответствующий вызов B<setjmp>();" |
| 544 |
|
| 545 |
#. type: Plain text |
| 546 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 547 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 548 |
msgid "" |
| 549 |
"their values are changed between the calls to B<setjmp>() and B<longjmp>(); " |
| 550 |
"and" |
| 551 |
msgstr "их значения изменились между вызовами B<setjmp>() и B<longjmp>(); и" |
| 552 |
|
| 553 |
#. type: Plain text |
| 554 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 555 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 556 |
msgid "they are not declared as I<volatile>." |
| 557 |
msgstr "они не объявлены как I<volatile>." |
| 558 |
|
| 559 |
#. type: Plain text |
| 560 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 561 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 562 |
msgid "Analogous remarks apply for B<siglongjmp>()." |
| 563 |
msgstr "Аналогичные замечания относятся и к B<siglongjmp>()." |
| 564 |
|
| 565 |
#. type: SS |
| 566 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 567 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 568 |
#, no-wrap |
| 569 |
msgid "Nonlocal gotos and program readability" |
| 570 |
msgstr "Нелокальные переходы и читаемость программы" |
| 571 |
|
| 572 |
#. type: Plain text |
| 573 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 574 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 575 |
msgid "" |
| 576 |
"While it can be abused, the traditional C \"goto\" statement at least has " |
| 577 |
"the benefit that lexical cues (the goto statement and the target label) " |
| 578 |
"allow the programmer to easily perceive the flow of control. Nonlocal gotos " |
| 579 |
"provide no such cues: multiple B<setjmp>() calls might employ the same " |
| 580 |
"I<jmp_buf> variable so that the content of the variable may change over the " |
| 581 |
"lifetime of the application. Consequently, the programmer may be forced to " |
| 582 |
"perform detailed reading of the code to determine the dynamic target of a " |
| 583 |
"particular B<longjmp>() call. (To make the programmer's life easier, each " |
| 584 |
"B<setjmp>() call should employ a unique I<jmp_buf> variable.)" |
| 585 |
msgstr "" |
| 586 |
"Хотя этим и можно злоупотребить, обычный оператор C «goto» имеет " |
| 587 |
"преимущество в виде лексических отметок (оператор goto и метка перехода), " |
| 588 |
"которые позволяют программисту легко понять поток выполнения. Нелокальные " |
| 589 |
"переходы не имеют таких отметок: многократные вызовы B<setjmp>() могут " |
| 590 |
"использовать одну переменную I<jmp_buf>, то есть контекст переменной может " |
| 591 |
"изменяться на протяжении времени работы приложения. Следовательно, " |
| 592 |
"программисту придёт вчитываться в код для определения динамической точки " |
| 593 |
"перехода определённого вызова B<longjmp>() (для облегчения жизни " |
| 594 |
"программиста в каждом вызове B<setjmp>() должна использоваться уникальная " |
| 595 |
"переменная I<jmp_buf>)." |
| 596 |
|
| 597 |
#. type: Plain text |
| 598 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 599 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 600 |
msgid "" |
| 601 |
"Adding further difficulty, the B<setjmp>() and B<longjmp>() calls may not " |
| 602 |
"even be in the same source code module." |
| 603 |
msgstr "" |
| 604 |
"Дополнительная сложность: вызовы B<setjmp>() и B<longjmp>() даже могут быть " |
| 605 |
"в разных модулях исходного кода." |
| 606 |
|
| 607 |
#. type: Plain text |
| 608 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 609 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 610 |
msgid "" |
| 611 |
"In summary, nonlocal gotos can make programs harder to understand and " |
| 612 |
"maintain, and an alternative should be used if possible." |
| 613 |
msgstr "" |
| 614 |
"Таким образом, нелокальные переходы могут сделать программу тяжелее для " |
| 615 |
"понимания и поддержки, и, если это возможно, нужно использовать " |
| 616 |
"альтернативные варианты." |
| 617 |
|
| 618 |
#. type: SS |
| 619 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 620 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 621 |
#, no-wrap |
| 622 |
msgid "Undefined behavior" |
| 623 |
msgstr "" |
| 624 |
|
| 625 |
#. type: Plain text |
| 626 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 627 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 628 |
msgid "" |
| 629 |
"If the function which called B<setjmp>() returns before B<longjmp>() is " |
| 630 |
"called, the behavior is undefined. Some kind of subtle or unsubtle chaos is " |
| 631 |
"sure to result." |
| 632 |
msgstr "" |
| 633 |
"Если функция, вызвавшая B<setjmp>() завершилась до вызова B<longjmp>(), то " |
| 634 |
"поведение не определено. Результатом может стать маленький (или не очень) " |
| 635 |
"хаос." |
| 636 |
|
| 637 |
#. The following statement appeared in versions up to POSIX.1-2008 TC1, |
| 638 |
#. but is set to be removed in POSIX.1-2008 TC2: |
| 639 |
#. According to POSIX.1, if a |
| 640 |
#. .BR longjmp () |
| 641 |
#. call is performed from a nested signal handler |
| 642 |
#. (i.e., from a handler that was invoked in response to a signal that was |
| 643 |
#. generated while another signal was already in the process of being |
| 644 |
#. handled), the behavior is undefined. |
| 645 |
#. type: Plain text |
| 646 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 647 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 648 |
msgid "" |
| 649 |
"If, in a multithreaded program, a B<longjmp>() call employs an I<env> " |
| 650 |
"buffer that was initialized by a call to B<setjmp>() in a different thread, " |
| 651 |
"the behavior is undefined." |
| 652 |
msgstr "" |
| 653 |
"Если в многонитевой программе вызов B<longjmp>() использует буфер I<env>, " |
| 654 |
"инициализированный вызовом B<setjmp>() в другой нити, то поведение не " |
| 655 |
"определено." |
| 656 |
|
| 657 |
#. http://austingroupbugs.net/view.php?id=516#c1195 |
| 658 |
#. type: Plain text |
| 659 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 660 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 661 |
msgid "" |
| 662 |
"POSIX.1-2008 Technical Corrigendum 2 adds B<longjmp>() and B<siglongjmp>() " |
| 663 |
"to the list of async-signal-safe functions. However, the standard " |
| 664 |
"recommends avoiding the use of these functions from signal handlers and goes " |
| 665 |
"on to point out that if these functions are called from a signal handler " |
| 666 |
"that interrupted a call to a non-async-signal-safe function (or some " |
| 667 |
"equivalent, such as the steps equivalent to B<exit>(3) that occur upon a " |
| 668 |
"return from the initial call to I<main>()), the behavior is undefined if the " |
| 669 |
"program subsequently makes a call to a non-async-signal-safe function. The " |
| 670 |
"only way of avoiding undefined behavior is to ensure one of the following:" |
| 671 |
msgstr "" |
| 672 |
"В POSIX.1-2008 Technical Corrigendum 2 вызовы B<longjmp>() и B<siglongjmp>() " |
| 673 |
"добавлены в список функций async-signal-safe. Однако стандарт рекомендует " |
| 674 |
"избегать использования этих функций в обработчиках сигналов и указывает, что " |
| 675 |
"если эти функции вызваны из обработчика сигналов, который прервал вызов " |
| 676 |
"функции не async-signal-safe (или её эквивалент, например шагам B<exit>(3), " |
| 677 |
"который возникают при возврате из начального вызова I<main>()), то " |
| 678 |
"поведение не определено, если программа далее вызывает функцию не async-" |
| 679 |
"signal-safe. Единственным способом избежать неопределённого поведения, " |
| 680 |
"является проверка следующего:" |
| 681 |
|
| 682 |
#. type: Plain text |
| 683 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 684 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 685 |
msgid "" |
| 686 |
"After long jumping from the signal handler, the program does not call any " |
| 687 |
"non-async-signal-safe functions and does not return from the initial call to " |
| 688 |
"I<main>()." |
| 689 |
msgstr "" |
| 690 |
"После длинного перехода из обработчика сигналов программа не вызывает каких-" |
| 691 |
"либо функций не async-signal-safe и не возвращается из первоначального " |
| 692 |
"вызова в I<main>()." |
| 693 |
|
| 694 |
#. type: Plain text |
| 695 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 696 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 697 |
msgid "" |
| 698 |
"Any signal whose handler performs a long jump must be blocked during " |
| 699 |
"I<every> call to a non-async-signal-safe function and no non-async-signal-" |
| 700 |
"safe functions are called after returning from the initial call to I<main>()." |
| 701 |
msgstr "" |
| 702 |
"Любой сигнал, чей обработчик выполняет длинный переход, должен быть " |
| 703 |
"заблокирован на время I<каждого> вызова функции не async-signal-safe и не " |
| 704 |
"вызывать функции не async-signal-safe после возврата из начального вызова в " |
| 705 |
"I<main>()." |
| 706 |
|
| 707 |
#. type: SH |
| 708 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 709 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 710 |
#, no-wrap |
| 711 |
msgid "SEE ALSO" |
| 712 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 713 |
|
| 714 |
#. type: Plain text |
| 715 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 716 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 717 |
msgid "B<signal>(7), B<signal-safety>(7)" |
| 718 |
msgstr "B<signal>(7), B<signal-safety>(7)" |
| 719 |
|
| 720 |
#. type: TH |
| 721 |
#: debian-trixie |
| 722 |
#, no-wrap |
| 723 |
msgid "2024-06-16" |
| 724 |
msgstr "16 июня 2024 г." |
| 725 |
|
| 726 |
#. type: TH |
| 727 |
#: debian-trixie |
| 728 |
#, no-wrap |
| 729 |
msgid "Linux man-pages 6.9.1" |
| 730 |
msgstr "Страницы руководства Linux 6.9.1" |
| 731 |
|
| 732 |
#. type: Plain text |
| 733 |
#: debian-trixie |
| 734 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 735 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 736 |
|
| 737 |
#. type: SS |
| 738 |
#: debian-trixie |
| 739 |
#, no-wrap |
| 740 |
msgid "Undefined Behavior" |
| 741 |
msgstr "" |
| 742 |
|
| 743 |
#. type: TH |
| 744 |
#: fedora-44 fedora-rawhide |
| 745 |
#, no-wrap |
| 746 |
msgid "2024-11-17" |
| 747 |
msgstr "17 ноября 2024 г." |
| 748 |
|
| 749 |
#. type: TH |
| 750 |
#: fedora-44 fedora-rawhide |
| 751 |
#, no-wrap |
| 752 |
msgid "Linux man-pages 6.13" |
| 753 |
msgstr "Страницы руководства Linux 6.13" |
| 754 |
|
| 755 |
#. type: TH |
| 756 |
#: mageia-cauldron |
| 757 |
#, no-wrap |
| 758 |
msgid "Linux man-pages 6.17" |
| 759 |
msgstr "Страницы руководства Linux 6.17" |
| 760 |
|
| 761 |
#. type: TH |
| 762 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 763 |
#, no-wrap |
| 764 |
msgid "Linux man-pages (unreleased)" |
| 765 |
msgstr "Страницы руководства Linux (не выпущены)" |