| 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]>, 2016. |
| 5 |
# Yuri Kozlov <[email protected]>, 2011-2015, 2017-2019. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:50+0200\n" |
| 10 |
"PO-Revision-Date: 2024-12-21 19:49+0300\n" |
| 11 |
"Last-Translator: Yuri Kozlov <[email protected]>\n" |
| 12 |
"Language-Team: Russian <[email protected]>\n" |
| 13 |
"Language: ru\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " |
| 18 |
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " |
| 19 |
"(n%100>=11 && n%100<=14)? 2 : 3);\n" |
| 20 |
"X-Generator: Lokalize 2.0\n" |
| 21 |
|
| 22 |
#. type: TH |
| 23 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 24 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 25 |
#, no-wrap |
| 26 |
msgid "wait" |
| 27 |
msgstr "wait" |
| 28 |
|
| 29 |
#. type: TH |
| 30 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 31 |
#: opensuse-tumbleweed |
| 32 |
#, no-wrap |
| 33 |
msgid "2026-02-08" |
| 34 |
msgstr "8 февраля 2026 г." |
| 35 |
|
| 36 |
#. type: TH |
| 37 |
#: archlinux debian-unstable |
| 38 |
#, fuzzy, no-wrap |
| 39 |
#| msgid "Linux man-pages 6.17" |
| 40 |
msgid "Linux man-pages 6.18" |
| 41 |
msgstr "Справочные страницы Linux 6.17" |
| 42 |
|
| 43 |
#. type: SH |
| 44 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 45 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 46 |
#, no-wrap |
| 47 |
msgid "NAME" |
| 48 |
msgstr "НАИМЕНОВАНИЕ" |
| 49 |
|
| 50 |
#. type: Plain text |
| 51 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 52 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 53 |
msgid "wait, waitpid, waitid - wait for process to change state" |
| 54 |
msgstr "wait, waitpid, waitid - ожидает смену состояния процесса" |
| 55 |
|
| 56 |
#. type: SH |
| 57 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 58 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 59 |
#, no-wrap |
| 60 |
msgid "LIBRARY" |
| 61 |
msgstr "БИБЛИОТЕКА" |
| 62 |
|
| 63 |
#. type: Plain text |
| 64 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 65 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 66 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 67 |
msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 71 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 72 |
#, no-wrap |
| 73 |
msgid "SYNOPSIS" |
| 74 |
msgstr "СИНТАКСИС" |
| 75 |
|
| 76 |
#. type: Plain text |
| 77 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 78 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 79 |
#, no-wrap |
| 80 |
msgid "B<#include E<lt>sys/wait.hE<gt>>\n" |
| 81 |
msgstr "B<#include E<lt>sys/wait.hE<gt>>\n" |
| 82 |
|
| 83 |
#. type: Plain text |
| 84 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 85 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 86 |
#, fuzzy, no-wrap |
| 87 |
#| msgid "" |
| 88 |
#| "B<pid_t wait(int *>I<wstatus>B<);>\n" |
| 89 |
#| "B<pid_t waitpid(pid_t >I<pid>B<, int *>I<wstatus>B<, int >I<options>B<);>\n" |
| 90 |
msgid "" |
| 91 |
"B<pid_t wait(int *_Nullable >I<wstatus>B<);>\n" |
| 92 |
"B<pid_t waitpid(pid_t >I<pid>B<, int *_Nullable >I<wstatus>B<, int >I<options>B<);>\n" |
| 93 |
msgstr "" |
| 94 |
"B<pid_t wait(int *>I<wstatus>B<);>\n" |
| 95 |
"B<pid_t waitpid(pid_t >I<pid>B<, int *>I<wstatus>B<, int >I<options>B<);>\n" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 99 |
#: opensuse-tumbleweed |
| 100 |
#, fuzzy, no-wrap |
| 101 |
#| msgid "" |
| 102 |
#| "B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n" |
| 103 |
#| " /* This is the glibc and POSIX interface; see\n" |
| 104 |
#| " NOTES for information on the raw system call. */\n" |
| 105 |
msgid "" |
| 106 |
"B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n" |
| 107 |
" /* This is the glibc and POSIX interface; see\n" |
| 108 |
" VERSIONS for information on the raw system call. */\n" |
| 109 |
msgstr "" |
| 110 |
"B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n" |
| 111 |
" /* Это интерфейс glibc и POSIX; информацию по\n" |
| 112 |
" системному вызову ядра смотрите в ЗАМЕЧАНИЯ. */\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 |
msgid "B<waitid>():" |
| 127 |
msgstr "B<waitid>():" |
| 128 |
|
| 129 |
#. (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) |
| 130 |
#. type: Plain text |
| 131 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 132 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 133 |
#, fuzzy, no-wrap |
| 134 |
#| msgid "" |
| 135 |
#| "Glibc 2.25 and earlier:\n" |
| 136 |
#| " _XOPEN_SOURCE\n" |
| 137 |
#| " || /* Since glibc 2.12: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L\n" |
| 138 |
#| " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 139 |
msgid "" |
| 140 |
" Since glibc 2.26:\n" |
| 141 |
" _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 142 |
" glibc 2.25 and earlier:\n" |
| 143 |
" _XOPEN_SOURCE\n" |
| 144 |
" || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 145 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 146 |
msgstr "" |
| 147 |
"в glibc 2.25 и старее:\n" |
| 148 |
" _XOPEN_SOURCE\n" |
| 149 |
" || /* начиная с glibc 2.12: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L\n" |
| 150 |
" || /* в версиях glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 151 |
|
| 152 |
#. type: SH |
| 153 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 154 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 155 |
#, no-wrap |
| 156 |
msgid "DESCRIPTION" |
| 157 |
msgstr "ОПИСАНИЕ" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
msgid "" |
| 163 |
"All of these system calls are used to wait for state changes in a child of " |
| 164 |
"the calling process, and obtain information about the child whose state has " |
| 165 |
"changed. A state change is considered to be: the child terminated; the " |
| 166 |
"child was stopped by a signal; or the child was resumed by a signal. In the " |
| 167 |
"case of a terminated child, performing a wait allows the system to release " |
| 168 |
"the resources associated with the child; if a wait is not performed, then " |
| 169 |
"the terminated child remains in a \"zombie\" state (see NOTES below)." |
| 170 |
msgstr "" |
| 171 |
"Данные системные вызовы используются для ожидания изменения состояния " |
| 172 |
"процесса-потомка вызвавшего процесса и получения информации о потомке, чьё " |
| 173 |
"состояние изменилось. Сменой состояния считается: прекращение работы " |
| 174 |
"потомка, останов потомка по сигналу, продолжение работы потомка по сигналу. " |
| 175 |
"Ожидание прекращения работы потомка позволяет системе освободить ресурсы, " |
| 176 |
"использовавшиеся потомком; если ожидание не выполняется, то прекративший " |
| 177 |
"работу потомок остаётся в системе в состоянии \"зомби (zombie)\" (см. " |
| 178 |
"ЗАМЕЧАНИЯ далее)." |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "" |
| 184 |
"If a child has already changed state, then these calls return immediately. " |
| 185 |
"Otherwise, they block until either a child changes state or a signal handler " |
| 186 |
"interrupts the call (assuming that system calls are not automatically " |
| 187 |
"restarted using the B<SA_RESTART> flag of B<sigaction>(2)). In the " |
| 188 |
"remainder of this page, a child whose state has changed and which has not " |
| 189 |
"yet been waited upon by one of these system calls is termed I<waitable>." |
| 190 |
msgstr "" |
| 191 |
"Если состояние потомка уже изменилось, то вызов сразу возвращает результат. " |
| 192 |
"В противном случае, работа приостанавливается до тех пор, пока не произойдёт " |
| 193 |
"изменение состояния потомка или обработчик сигналов не прервёт вызов " |
| 194 |
"(предполагается, что системные вызовы не перезапускаются автоматически из-за " |
| 195 |
"указания флага B<SA_RESTART> в B<sigaction>(2)). В оставшейся части страницы " |
| 196 |
"потомок, чьё состояние ещё не было получено одним из этих системных вызовов, " |
| 197 |
"называется I<ожидаемым (waitable)>." |
| 198 |
|
| 199 |
#. type: SS |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
#, no-wrap |
| 203 |
msgid "wait() and waitpid()" |
| 204 |
msgstr "wait() и waitpid()" |
| 205 |
|
| 206 |
#. type: Plain text |
| 207 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 208 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 209 |
msgid "" |
| 210 |
"The B<wait>() system call suspends execution of the calling thread until " |
| 211 |
"one of its children terminates. The call I<wait(&wstatus)> is equivalent to:" |
| 212 |
msgstr "" |
| 213 |
"Системный вызов B<wait>() приостанавливает выполнение вызвавшей нити до тех " |
| 214 |
"пор, пока не прекратит выполнение один из её потомков. Вызов " |
| 215 |
"I<wait(&wstatus)> эквивалентен:" |
| 216 |
|
| 217 |
#. type: Plain text |
| 218 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 219 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 220 |
#, no-wrap |
| 221 |
msgid "waitpid(-1, &wstatus, 0);\n" |
| 222 |
msgstr "waitpid(-1, &wstatus, 0);\n" |
| 223 |
|
| 224 |
#. type: Plain text |
| 225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 227 |
msgid "" |
| 228 |
"The B<waitpid>() system call suspends execution of the calling thread until " |
| 229 |
"a child specified by I<pid> argument has changed state. By default, " |
| 230 |
"B<waitpid>() waits only for terminated children, but this behavior is " |
| 231 |
"modifiable via the I<options> argument, as described below." |
| 232 |
msgstr "" |
| 233 |
"Системный вызов B<waitpid>() приостанавливает выполнение вызвавшей нити до " |
| 234 |
"тех пор, пока не изменится состояние потомка, заданного аргументом I<pid>. " |
| 235 |
"По умолчанию B<waitpid>() ожидает только прекращения работы потомка, но это " |
| 236 |
"можно изменить через аргумент I<options> как описано далее." |
| 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 "The value of I<pid> can be:" |
| 242 |
msgstr "Значением I<pid> может быть:" |
| 243 |
|
| 244 |
#. type: TP |
| 245 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 246 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 247 |
#, fuzzy, no-wrap |
| 248 |
#| msgid "E<lt> -1" |
| 249 |
msgid "E<lt> B<-1>" |
| 250 |
msgstr "E<lt> -1" |
| 251 |
|
| 252 |
#. type: Plain text |
| 253 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 254 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 255 |
msgid "" |
| 256 |
"meaning wait for any child process whose process group ID is equal to the " |
| 257 |
"absolute value of I<pid>." |
| 258 |
msgstr "" |
| 259 |
"означает, что нужно ждать любого потомка, чей идентификатор группы процессов " |
| 260 |
"равен абсолютному значению I<pid>." |
| 261 |
|
| 262 |
#. type: TP |
| 263 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 264 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
#, no-wrap |
| 266 |
msgid "B<-1>" |
| 267 |
msgstr "B<-1>" |
| 268 |
|
| 269 |
#. type: Plain text |
| 270 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 271 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 272 |
msgid "meaning wait for any child process." |
| 273 |
msgstr "означает, что нужно ждать любого потомка." |
| 274 |
|
| 275 |
#. type: TP |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
#, no-wrap |
| 279 |
msgid "B<0>" |
| 280 |
msgstr "B<0>" |
| 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 |
#, fuzzy |
| 286 |
#| msgid "" |
| 287 |
#| "meaning wait for any child process whose process group ID is equal to " |
| 288 |
#| "that of the calling process." |
| 289 |
msgid "" |
| 290 |
"meaning wait for any child process whose process group ID is equal to that " |
| 291 |
"of the calling process at the time of the call to B<waitpid>()." |
| 292 |
msgstr "" |
| 293 |
"означает, что нужно ждать любого потомка, чей идентификатор группы процессов " |
| 294 |
"равен таковому у вызвавшего процесса." |
| 295 |
|
| 296 |
#. type: TP |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
#, no-wrap |
| 300 |
msgid "E<gt> B<0>" |
| 301 |
msgstr "E<gt> B<0>" |
| 302 |
|
| 303 |
#. type: Plain text |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
msgid "" |
| 307 |
"meaning wait for the child whose process ID is equal to the value of I<pid>." |
| 308 |
msgstr "" |
| 309 |
"означает, что нужно ждать любого потомка, чей идентификатор процесса равен " |
| 310 |
"I<pid>." |
| 311 |
|
| 312 |
#. type: Plain text |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
msgid "" |
| 316 |
"The value of I<options> is an OR of zero or more of the following constants:" |
| 317 |
msgstr "" |
| 318 |
"Значение I<options> создаётся путем битовой операции ИЛИ над следующими " |
| 319 |
"константами:" |
| 320 |
|
| 321 |
#. type: TP |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
#, no-wrap |
| 325 |
msgid "B<WNOHANG>" |
| 326 |
msgstr "B<WNOHANG>" |
| 327 |
|
| 328 |
#. type: Plain text |
| 329 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 330 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 331 |
msgid "return immediately if no child has exited." |
| 332 |
msgstr "" |
| 333 |
"означает немедленный возврат, если ни один потомок не завершил выполнение." |
| 334 |
|
| 335 |
#. type: TP |
| 336 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 337 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 338 |
#, no-wrap |
| 339 |
msgid "B<WUNTRACED>" |
| 340 |
msgstr "B<WUNTRACED>" |
| 341 |
|
| 342 |
#. type: Plain text |
| 343 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 344 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 345 |
msgid "" |
| 346 |
"also return if a child has stopped (but not traced via B<ptrace>(2)). " |
| 347 |
"Status for I<traced> children which have stopped is provided even if this " |
| 348 |
"option is not specified." |
| 349 |
msgstr "" |
| 350 |
"также возвращаться, если есть остановленный потомок (но не трассируемый " |
| 351 |
"через B<ptrace>(2)). Состояние I<трассируемого> остановленного потомка " |
| 352 |
"предоставляется даже если этот аргумент не указан." |
| 353 |
|
| 354 |
#. type: TP |
| 355 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 356 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 357 |
#, no-wrap |
| 358 |
msgid "B<WCONTINUED> (since Linux 2.6.10)" |
| 359 |
msgstr "B<WCONTINUED> (начиная с Linux 2.6.10)" |
| 360 |
|
| 361 |
#. type: Plain text |
| 362 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 363 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 364 |
msgid "" |
| 365 |
"also return if a stopped child has been resumed by delivery of B<SIGCONT>." |
| 366 |
msgstr "" |
| 367 |
"также возвращаться, если работа остановленного потомка возобновилась из-за " |
| 368 |
"получения сигнала B<SIGCONT>." |
| 369 |
|
| 370 |
#. type: Plain text |
| 371 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 372 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 373 |
msgid "(For Linux-only options, see below.)" |
| 374 |
msgstr "(Аргументы, имеющиеся только в Linux, см. далее.)" |
| 375 |
|
| 376 |
#. type: Plain text |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
msgid "" |
| 380 |
"If I<wstatus> is not NULL, B<wait>() and B<waitpid>() store status " |
| 381 |
"information in the I<int> to which it points. This integer can be inspected " |
| 382 |
"with the following macros (which take the integer itself as an argument, not " |
| 383 |
"a pointer to it, as is done in B<wait>() and B<waitpid>()!):" |
| 384 |
msgstr "" |
| 385 |
"Если I<wstatus> не равен NULL, то B<wait>() и B<waitpid>() сохраняют " |
| 386 |
"информацию о состоянии в переменной типа I<int>, на которую указывает " |
| 387 |
"I<wstatus>. Это целое число можно исследовать с помощью следующих макросов " |
| 388 |
"(они принимают в качестве аргумента само целое, а не указатель на него как " |
| 389 |
"B<wait>() и B<waitpid>()!):" |
| 390 |
|
| 391 |
#. type: TP |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
#, no-wrap |
| 395 |
msgid "B<WIFEXITED(>I<wstatus>B<)>" |
| 396 |
msgstr "B<WIFEXITED(>I<wstatus>B<)>" |
| 397 |
|
| 398 |
#. type: Plain text |
| 399 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 400 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 401 |
msgid "" |
| 402 |
"returns true if the child terminated normally, that is, by calling " |
| 403 |
"B<exit>(3) or B<_exit>(2), or by returning from main()." |
| 404 |
msgstr "" |
| 405 |
"возвращает истинное значение, если потомок нормально завершился, то есть " |
| 406 |
"вызвал B<exit>(3) или B<_exit>(2), или вернулся из функции main()." |
| 407 |
|
| 408 |
#. type: TP |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
#, no-wrap |
| 412 |
msgid "B<WEXITSTATUS(>I<wstatus>B<)>" |
| 413 |
msgstr "B<WEXITSTATUS(>I<wstatus>B<)>" |
| 414 |
|
| 415 |
#. type: Plain text |
| 416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
msgid "" |
| 419 |
"returns the exit status of the child. This consists of the least " |
| 420 |
"significant 8 bits of the I<status> argument that the child specified in a " |
| 421 |
"call to B<exit>(3) or B<_exit>(2) or as the argument for a return " |
| 422 |
"statement in main(). This macro should be employed only if B<WIFEXITED> " |
| 423 |
"returned true." |
| 424 |
msgstr "" |
| 425 |
"возвращает код завершения потомка. Он состоит из восьми младших бит " |
| 426 |
"аргумента I<status>, который потомок указал при вызове B<exit>(3) или " |
| 427 |
"B<_exit>(2) или в аргументе оператора return в функции main(). Этот макрос " |
| 428 |
"можно использовать, только если B<WIFEXITED> вернул истинное значение." |
| 429 |
|
| 430 |
#. type: TP |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
#, no-wrap |
| 434 |
msgid "B<WIFSIGNALED(>I<wstatus>B<)>" |
| 435 |
msgstr "B<WIFSIGNALED(>I<wstatus>B<)>" |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
msgid "returns true if the child process was terminated by a signal." |
| 441 |
msgstr "возвращает истинное значение, если потомок завершился из-за сигнала." |
| 442 |
|
| 443 |
#. type: TP |
| 444 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 445 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 446 |
#, no-wrap |
| 447 |
msgid "B<WTERMSIG(>I<wstatus>B<)>" |
| 448 |
msgstr "B<WTERMSIG(>I<wstatus>B<)>" |
| 449 |
|
| 450 |
#. type: Plain text |
| 451 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 452 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 453 |
msgid "" |
| 454 |
"returns the number of the signal that caused the child process to " |
| 455 |
"terminate. This macro should be employed only if B<WIFSIGNALED> returned " |
| 456 |
"true." |
| 457 |
msgstr "" |
| 458 |
"возвращает номер сигнала, который привел к завершению потомка. Этот макрос " |
| 459 |
"можно использовать, только если B<WIFSIGNALED> вернул истинное значение." |
| 460 |
|
| 461 |
#. type: TP |
| 462 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 463 |
#: opensuse-tumbleweed |
| 464 |
#, fuzzy, no-wrap |
| 465 |
#| msgid "B<WCOREDUMP(>I<wstatus>B<)>" |
| 466 |
msgid "B<WCOREDUMP(>I<wstatus>B<)>I< >\\f[R]// POSIX.1-2024\\fR" |
| 467 |
msgstr "B<WCOREDUMP(>I<wstatus>B<)>" |
| 468 |
|
| 469 |
#. type: Plain text |
| 470 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 471 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 472 |
msgid "" |
| 473 |
"returns true if the child produced a core dump (see B<core>(5)). This macro " |
| 474 |
"should be employed only if B<WIFSIGNALED> returned true." |
| 475 |
msgstr "" |
| 476 |
"возвращает истину, если потомок создал дамп памяти (смотрите B<core>(5)). " |
| 477 |
"Этот макрос можно использовать только, если при B<WIFSIGNALED> возвращается " |
| 478 |
"истинное значение." |
| 479 |
|
| 480 |
#. type: TP |
| 481 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 482 |
#: opensuse-tumbleweed |
| 483 |
#, fuzzy, no-wrap |
| 484 |
#| msgid "B<WIFSTOPPED(>I<wstatus>B<)>" |
| 485 |
msgid "B<WIFSTOPPED(>I<wstatus>B<)>I< >\\f[R]// POSIX.1-2024\\fR" |
| 486 |
msgstr "B<WIFSTOPPED(>I<wstatus>B<)>" |
| 487 |
|
| 488 |
#. type: Plain text |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
msgid "" |
| 492 |
"returns true if the child process was stopped by delivery of a signal; this " |
| 493 |
"is possible only if the call was done using B<WUNTRACED> or when the child " |
| 494 |
"is being traced (see B<ptrace>(2))." |
| 495 |
msgstr "" |
| 496 |
"возвращает истинное значение, если потомок остановлен по сигналу; это " |
| 497 |
"возможно только, если при вызове был указан флаг B<WUNTRACED> или если над " |
| 498 |
"потомком выполняется трассировка (см. B<ptrace>(2))." |
| 499 |
|
| 500 |
#. type: TP |
| 501 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 502 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 503 |
#, no-wrap |
| 504 |
msgid "B<WSTOPSIG(>I<wstatus>B<)>" |
| 505 |
msgstr "B<WSTOPSIG(>I<wstatus>B<)>" |
| 506 |
|
| 507 |
#. type: Plain text |
| 508 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 509 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 510 |
msgid "" |
| 511 |
"returns the number of the signal which caused the child to stop. This macro " |
| 512 |
"should be employed only if B<WIFSTOPPED> returned true." |
| 513 |
msgstr "" |
| 514 |
"возвращает номер сигнала, из-за которого потомок был остановлен. Этот макрос " |
| 515 |
"можно использовать только, если при B<WIFSTOPPED> возвращается истинное " |
| 516 |
"значение." |
| 517 |
|
| 518 |
#. type: TP |
| 519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
#, no-wrap |
| 522 |
msgid "B<WIFCONTINUED(>I<wstatus>B<)>" |
| 523 |
msgstr "B<WIFCONTINUED(>I<wstatus>B<)>" |
| 524 |
|
| 525 |
#. type: Plain text |
| 526 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 527 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 528 |
msgid "" |
| 529 |
"(since Linux 2.6.10) returns true if the child process was resumed by " |
| 530 |
"delivery of B<SIGCONT>." |
| 531 |
msgstr "" |
| 532 |
"(начиная с Linux 2.6.10) возвращает истинное значение, если потомок " |
| 533 |
"продолжил работу, получив сигнал B<SIGCONT>." |
| 534 |
|
| 535 |
#. type: SS |
| 536 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 537 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 538 |
#, no-wrap |
| 539 |
msgid "waitid()" |
| 540 |
msgstr "waitid()" |
| 541 |
|
| 542 |
#. type: Plain text |
| 543 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 544 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 545 |
msgid "" |
| 546 |
"The B<waitid>() system call (available since Linux 2.6.9) provides more " |
| 547 |
"precise control over which child state changes to wait for." |
| 548 |
msgstr "" |
| 549 |
"Системный вызов B<waitid>() (доступен, начиная с Linux 2.6.9) предоставляет " |
| 550 |
"более полный контроль над тем, какого изменения состояния нужно ждать у " |
| 551 |
"потомка." |
| 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 "" |
| 557 |
"The I<idtype> and I<id> arguments select the child(ren) to wait for, as " |
| 558 |
"follows:" |
| 559 |
msgstr "Аргументы I<idtype> и I<id> определяют какого(их) потомков ждать:" |
| 560 |
|
| 561 |
#. type: TP |
| 562 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 563 |
#: opensuse-tumbleweed |
| 564 |
#, fuzzy, no-wrap |
| 565 |
#| msgid "I<idtype> == B<P_PID>" |
| 566 |
msgid "I<idtype> == \\f[B]P_PID\\fR" |
| 567 |
msgstr "I<idtype> == B<P_PID>" |
| 568 |
|
| 569 |
#. type: Plain text |
| 570 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 571 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 572 |
msgid "Wait for the child whose process ID matches I<id>." |
| 573 |
msgstr "Ждать потомка, чей ID процесса совпадает с I<id>." |
| 574 |
|
| 575 |
#. type: TP |
| 576 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 577 |
#: opensuse-tumbleweed |
| 578 |
#, fuzzy, no-wrap |
| 579 |
#| msgid "I<idtype> == B<P_PIDFD> (since Linux 5.4)" |
| 580 |
msgid "I<idtype> == \\f[B]P_PIDFD\\fR (since Linux 5.4)" |
| 581 |
msgstr "I<idtype> == B<P_PIDFD> (начиная с Linux 5.4)" |
| 582 |
|
| 583 |
#. commit 3695eae5fee0605f316fbaad0b9e3de791d7dfaf |
| 584 |
#. type: Plain text |
| 585 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 586 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 587 |
msgid "" |
| 588 |
"Wait for the child referred to by the PID file descriptor specified in " |
| 589 |
"I<id>. (See B<pidfd_open>(2) for further information on PID file " |
| 590 |
"descriptors.)" |
| 591 |
msgstr "" |
| 592 |
|
| 593 |
#. type: TP |
| 594 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 595 |
#: opensuse-tumbleweed |
| 596 |
#, fuzzy, no-wrap |
| 597 |
#| msgid "I<idtype> == B<P_PGID>" |
| 598 |
msgid "I<idtype> == \\f[B]P_PGID\\fR" |
| 599 |
msgstr "I<idtype> == B<P_PGID>" |
| 600 |
|
| 601 |
#. commit 821cc7b0b205c0df64cce59aacc330af251fa8f7 |
| 602 |
#. type: Plain text |
| 603 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 604 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 605 |
msgid "" |
| 606 |
"Wait for any child whose process group ID matches I<id>. Since Linux 5.4, " |
| 607 |
"if I<id> is zero, then wait for any child that is in the same process group " |
| 608 |
"as the caller's process group at the time of the call." |
| 609 |
msgstr "" |
| 610 |
|
| 611 |
#. type: TP |
| 612 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 613 |
#: opensuse-tumbleweed |
| 614 |
#, fuzzy, no-wrap |
| 615 |
#| msgid "I<idtype> == B<P_ALL>" |
| 616 |
msgid "I<idtype> == \\f[B]P_ALL\\fR" |
| 617 |
msgstr "I<idtype> == B<P_ALL>" |
| 618 |
|
| 619 |
#. type: Plain text |
| 620 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 621 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 622 |
msgid "Wait for any child; I<id> is ignored." |
| 623 |
msgstr "Ждать любого потомка; значение I<id> игнорируется." |
| 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 |
"The child state changes to wait for are specified by ORing one or more of " |
| 630 |
"the following flags in I<options>:" |
| 631 |
msgstr "" |
| 632 |
"Ожидаемые изменения состояния потомков задаются следующими флагами в " |
| 633 |
"I<options> (объединяются через OR):" |
| 634 |
|
| 635 |
#. type: TP |
| 636 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 637 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 638 |
#, no-wrap |
| 639 |
msgid "B<WEXITED>" |
| 640 |
msgstr "B<WEXITED>" |
| 641 |
|
| 642 |
#. type: Plain text |
| 643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 645 |
msgid "Wait for children that have terminated." |
| 646 |
msgstr "Ждать завершения потомков." |
| 647 |
|
| 648 |
#. type: TP |
| 649 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 650 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 651 |
#, no-wrap |
| 652 |
msgid "B<WSTOPPED>" |
| 653 |
msgstr "B<WSTOPPED>" |
| 654 |
|
| 655 |
#. type: Plain text |
| 656 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 657 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 658 |
msgid "Wait for children that have been stopped by delivery of a signal." |
| 659 |
msgstr "Ждать потомков, которые завершатся по получению сигнала." |
| 660 |
|
| 661 |
#. type: TP |
| 662 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 663 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 664 |
#, no-wrap |
| 665 |
msgid "B<WCONTINUED>" |
| 666 |
msgstr "B<WCONTINUED>" |
| 667 |
|
| 668 |
#. type: Plain text |
| 669 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 670 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 671 |
msgid "" |
| 672 |
"Wait for (previously stopped) children that have been resumed by delivery of " |
| 673 |
"B<SIGCONT>." |
| 674 |
msgstr "" |
| 675 |
"Ждать возобновления работы потомков (ранее остановленных) при получении " |
| 676 |
"сигнала B<SIGCONT>." |
| 677 |
|
| 678 |
#. type: Plain text |
| 679 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 680 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 681 |
msgid "The following flags may additionally be ORed in I<options>:" |
| 682 |
msgstr "" |
| 683 |
"Дополнительно с помощью OR в I<options> могут задаваться следующие флаги:" |
| 684 |
|
| 685 |
#. type: Plain text |
| 686 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 687 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 688 |
msgid "As for B<waitpid>()." |
| 689 |
msgstr "Как в B<waitpid>()." |
| 690 |
|
| 691 |
#. type: TP |
| 692 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 693 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 694 |
#, no-wrap |
| 695 |
msgid "B<WNOWAIT>" |
| 696 |
msgstr "B<WNOWAIT>" |
| 697 |
|
| 698 |
#. type: Plain text |
| 699 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 700 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 701 |
msgid "" |
| 702 |
"Leave the child in a waitable state; a later wait call can be used to again " |
| 703 |
"retrieve the child status information." |
| 704 |
msgstr "" |
| 705 |
"Оставить потомка в состоянии ожидания; последующий вызов wait сможет снова " |
| 706 |
"получить информацию о состоянии потомка." |
| 707 |
|
| 708 |
#. type: Plain text |
| 709 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 710 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 711 |
msgid "" |
| 712 |
"Upon successful return, B<waitid>() fills in the following fields of the " |
| 713 |
"I<siginfo_t> structure pointed to by I<infop>:" |
| 714 |
msgstr "" |
| 715 |
"При успешном возврате, B<waitid>() заполняет следующие поля в структуре " |
| 716 |
"I<siginfo_t>, указываемой из I<infop>:" |
| 717 |
|
| 718 |
#. type: TP |
| 719 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 720 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 721 |
#, no-wrap |
| 722 |
msgid "I<si_pid>" |
| 723 |
msgstr "I<si_pid>" |
| 724 |
|
| 725 |
#. type: Plain text |
| 726 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 727 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 728 |
msgid "The process ID of the child." |
| 729 |
msgstr "ID процесса потомка." |
| 730 |
|
| 731 |
#. type: TP |
| 732 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 733 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 734 |
#, no-wrap |
| 735 |
msgid "I<si_uid>" |
| 736 |
msgstr "I<si_uid>" |
| 737 |
|
| 738 |
#. type: Plain text |
| 739 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 740 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 741 |
msgid "" |
| 742 |
"The real user ID of the child. (This field is not set on most other " |
| 743 |
"implementations.)" |
| 744 |
msgstr "" |
| 745 |
"Реальный пользовательский ID потомка. (Это поле не заполняется в большинстве " |
| 746 |
"других реализаций.)" |
| 747 |
|
| 748 |
#. type: TP |
| 749 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 750 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 751 |
#, no-wrap |
| 752 |
msgid "I<si_signo>" |
| 753 |
msgstr "I<si_signo>" |
| 754 |
|
| 755 |
#. type: Plain text |
| 756 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 757 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 758 |
msgid "Always set to B<SIGCHLD>." |
| 759 |
msgstr "Всегда устанавливается в B<SIGCHLD>." |
| 760 |
|
| 761 |
#. type: TP |
| 762 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 763 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 764 |
#, no-wrap |
| 765 |
msgid "I<si_status>" |
| 766 |
msgstr "I<si_status>" |
| 767 |
|
| 768 |
#. type: Plain text |
| 769 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 770 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 771 |
msgid "" |
| 772 |
"Either the exit status of the child, as given to B<_exit>(2) (or " |
| 773 |
"B<exit>(3)), or the signal that caused the child to terminate, stop, or " |
| 774 |
"continue. The I<si_code> field can be used to determine how to interpret " |
| 775 |
"this field." |
| 776 |
msgstr "" |
| 777 |
"Заполняется кодом завершения потомка, заданном в B<_exit>(2) (или в " |
| 778 |
"B<exit>(3)), или номером сигнала, который прервал, остановил или продолжил " |
| 779 |
"работу потомка. Что записано в данном поле можно определить по значению поля " |
| 780 |
"I<si_code>." |
| 781 |
|
| 782 |
#. type: TP |
| 783 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 784 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 785 |
#, no-wrap |
| 786 |
msgid "I<si_code>" |
| 787 |
msgstr "I<si_code>" |
| 788 |
|
| 789 |
#. type: Plain text |
| 790 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 791 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 792 |
msgid "" |
| 793 |
"Set to one of: B<CLD_EXITED> (child called B<_exit>(2)); B<CLD_KILLED> " |
| 794 |
"(child killed by signal); B<CLD_DUMPED> (child killed by signal, and dumped " |
| 795 |
"core); B<CLD_STOPPED> (child stopped by signal); B<CLD_TRAPPED> (traced " |
| 796 |
"child has trapped); or B<CLD_CONTINUED> (child continued by B<SIGCONT>)." |
| 797 |
msgstr "" |
| 798 |
"Устанавливается в одно из: B<CLD_EXITED> (потомок вызвал B<_exit>(2)); " |
| 799 |
"B<CLD_KILLED> (потомок завершил работу по сигналу); B<CLD_DUMPED> (потомок " |
| 800 |
"завершил работу по сигналу и был создан дамп памяти); B<CLD_STOPPED> " |
| 801 |
"(потомок приостановлен по сигналу); B<CLD_TRAPPED> (трассируемый потомок был " |
| 802 |
"захвачен); или B<CLD_CONTINUED> (потомок продолжил работу по сигналу " |
| 803 |
"B<SIGCONT>)." |
| 804 |
|
| 805 |
#. type: Plain text |
| 806 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 807 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 808 |
msgid "" |
| 809 |
"If B<WNOHANG> was specified in I<options> and there were no children in a " |
| 810 |
"waitable state, then B<waitid>() returns 0 immediately and the state of the " |
| 811 |
"I<siginfo_t> structure pointed to by I<infop> depends on the " |
| 812 |
"implementation. To (portably) distinguish this case from that where a child " |
| 813 |
"was in a waitable state, zero out the I<si_pid> field before the call and " |
| 814 |
"check for a nonzero value in this field after the call returns." |
| 815 |
msgstr "" |
| 816 |
"Если в I<options> указан флаг B<WNOHANG> и нет потомков в состоянии " |
| 817 |
"ожидания, то B<waitid>() сразу возвращает 0, а состояние структуры " |
| 818 |
"I<siginfo_t>, на которую указывает I<infop>, зависит от реализации. Чтобы " |
| 819 |
"(точно) отличать этот случай от того, что потомок был в ожидаемом состоянии, " |
| 820 |
"обнулите поле I<si_pid> перед вызовом и проверьте ненулевое значение в этом " |
| 821 |
"поле после отработки вызова." |
| 822 |
|
| 823 |
#. POSIX.1-2001 leaves this possibility unspecified; most |
| 824 |
#. implementations (including Linux) zero out the structure |
| 825 |
#. in this case, but at least one implementation (AIX 5.1) |
| 826 |
#. does not -- MTK Nov 04 |
| 827 |
#. type: Plain text |
| 828 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 829 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 830 |
msgid "" |
| 831 |
"POSIX.1-2008 Technical Corrigendum 1 (2013) adds the requirement that when " |
| 832 |
"B<WNOHANG> is specified in I<options> and there were no children in a " |
| 833 |
"waitable state, then B<waitid>() should zero out the I<si_pid> and " |
| 834 |
"I<si_signo> fields of the structure. On Linux and other implementations " |
| 835 |
"that adhere to this requirement, it is not necessary to zero out the " |
| 836 |
"I<si_pid> field before calling B<waitid>(). However, not all " |
| 837 |
"implementations follow the POSIX.1 specification on this point." |
| 838 |
msgstr "" |
| 839 |
"В POSIX.1-2008 Technical Corrigendum 1 (2013) добавлено требование, что при " |
| 840 |
"указании B<WNOHANG> в I<options> и нет потомков в состоянии ожидания, то " |
| 841 |
"вызов B<waitid>() должен возвращать в структуре обнулённые поля I<si_pid> и " |
| 842 |
"I<si_signo>. В Linux и других реализациях придерживаются этого требования, " |
| 843 |
"поэтому не нужно обнулять поле I<si_pid> перед вызовом B<waitid>(). Однако в " |
| 844 |
"этом не все реализации следуют POSIX.1." |
| 845 |
|
| 846 |
#. type: SH |
| 847 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 848 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 849 |
#, no-wrap |
| 850 |
msgid "RETURN VALUE" |
| 851 |
msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" |
| 852 |
|
| 853 |
#. type: Plain text |
| 854 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 855 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 856 |
#, fuzzy |
| 857 |
#| msgid "" |
| 858 |
#| "B<wait>(): on success, returns the process ID of the terminated child; on " |
| 859 |
#| "error, -1 is returned." |
| 860 |
msgid "" |
| 861 |
"B<wait>(): on success, returns the process ID of the terminated child; on " |
| 862 |
"failure, -1 is returned." |
| 863 |
msgstr "" |
| 864 |
"В случае успешного выполнения B<wait>() возвращает ID процесса " |
| 865 |
"завершившегося потомка; при ошибке возвращается -1." |
| 866 |
|
| 867 |
#. type: Plain text |
| 868 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 869 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 870 |
#, fuzzy |
| 871 |
#| msgid "" |
| 872 |
#| "B<waitpid>(): on success, returns the process ID of the child whose state " |
| 873 |
#| "has changed; if B<WNOHANG> was specified and one or more child(ren) " |
| 874 |
#| "specified by I<pid> exist, but have not yet changed state, then 0 is " |
| 875 |
#| "returned. On error, -1 is returned." |
| 876 |
msgid "" |
| 877 |
"B<waitpid>(): on success, returns the process ID of the child whose state " |
| 878 |
"has changed; if B<WNOHANG> was specified and one or more child(ren) " |
| 879 |
"specified by I<pid> exist, but have not yet changed state, then 0 is " |
| 880 |
"returned. On failure, -1 is returned." |
| 881 |
msgstr "" |
| 882 |
"В случае успешного выполнения B<waitpid>() возвращает ID процесса потомка, " |
| 883 |
"чьё состояние изменилось; если задан флаг B<WNOHANG> и существует один или " |
| 884 |
"более потомков, заданных в I<pid>, без изменённого состояния, то " |
| 885 |
"возвращается 0. При ошибке возвращается -1." |
| 886 |
|
| 887 |
#. FIXME As reported by Vegard Nossum, if infop is NULL, then waitid() |
| 888 |
#. returns the PID of the child. Either this is a bug, or it is intended |
| 889 |
#. behavior that needs to be documented. See my Jan 2009 LKML mail |
| 890 |
#. "waitid() return value strangeness when infop is NULL". |
| 891 |
#. type: Plain text |
| 892 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 893 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 894 |
#, fuzzy |
| 895 |
#| msgid "" |
| 896 |
#| "B<waitid>(): returns 0 on success or if B<WNOHANG> was specified and no " |
| 897 |
#| "child(ren) specified by I<id> has yet changed state; on error, -1 is " |
| 898 |
#| "returned." |
| 899 |
msgid "" |
| 900 |
"B<waitid>(): returns 0 on success or if B<WNOHANG> was specified and no " |
| 901 |
"child(ren) specified by I<id> has yet changed state; on failure, -1 is " |
| 902 |
"returned." |
| 903 |
msgstr "" |
| 904 |
"Вызов B<waitid>() возвращает 0 в случае успешного выполнения или если задан " |
| 905 |
"флаг B<WNOHANG> и пока не существует потомка(ов), указанного в I<pid>,с " |
| 906 |
"изменённым состоянием. При ошибке возвращается -1." |
| 907 |
|
| 908 |
#. type: Plain text |
| 909 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 910 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 911 |
#, fuzzy |
| 912 |
#| msgid "" |
| 913 |
#| "Each of these calls sets I<errno> to an appropriate value in the case of " |
| 914 |
#| "an error." |
| 915 |
msgid "On failure, each of these calls sets I<errno> to indicate the error." |
| 916 |
msgstr "" |
| 917 |
"Каждый из этих вызовов записывает в I<errno> соответствующую причину ошибки." |
| 918 |
|
| 919 |
#. type: SH |
| 920 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 921 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 922 |
#, no-wrap |
| 923 |
msgid "ERRORS" |
| 924 |
msgstr "ОШИБКИ" |
| 925 |
|
| 926 |
#. type: TP |
| 927 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 928 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 929 |
#, no-wrap |
| 930 |
msgid "B<EAGAIN>" |
| 931 |
msgstr "B<EAGAIN>" |
| 932 |
|
| 933 |
#. type: Plain text |
| 934 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 935 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 936 |
msgid "" |
| 937 |
"The PID file descriptor specified in I<id> is nonblocking and the process " |
| 938 |
"that it refers to has not terminated." |
| 939 |
msgstr "" |
| 940 |
|
| 941 |
#. type: TP |
| 942 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 943 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 944 |
#, no-wrap |
| 945 |
msgid "B<ECHILD>" |
| 946 |
msgstr "B<ECHILD>" |
| 947 |
|
| 948 |
#. type: Plain text |
| 949 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 950 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 951 |
msgid "" |
| 952 |
"(for B<wait>()) The calling process does not have any unwaited-for children." |
| 953 |
msgstr "(для B<wait>()) У вызвавшего процесса нет ожидающих потомков." |
| 954 |
|
| 955 |
#. type: Plain text |
| 956 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 957 |
#: opensuse-tumbleweed |
| 958 |
#, fuzzy |
| 959 |
#| msgid "" |
| 960 |
#| "(for B<waitpid>() or B<waitid>()) The process specified by I<pid> " |
| 961 |
#| "(B<waitpid>()) or I<idtype> and I<id> (B<waitid>()) does not exist or " |
| 962 |
#| "is not a child of the calling process. (This can happen for one's own " |
| 963 |
#| "child if the action for B<SIGCHLD> is set to B<SIG_IGN>. See also the " |
| 964 |
#| "I<Linux Notes> section about threads.)" |
| 965 |
msgid "" |
| 966 |
"(for B<waitpid>() or B<waitid>()) The process specified by I<pid> " |
| 967 |
"(B<waitpid>()) or I<idtype> and I<id> (B<waitid>()) does not exist or is " |
| 968 |
"not a child of the calling process. (This can happen for one's own child if " |
| 969 |
"the action for B<SIGCHLD> is set to B<SIG_IGN>. See also the I<Linux\\ " |
| 970 |
"Notes> section about threads.)" |
| 971 |
msgstr "" |
| 972 |
"(для B<waitpid>() или B<waitid>()) Процесс, заданный I<pid> (B<waitpid>()) " |
| 973 |
"или I<idtype> и I<id> (B<waitid>()), не существует или не является потомком " |
| 974 |
"вызвавшего процесса. (Это может случиться для своего потомка, если действие " |
| 975 |
"для B<SIGCHLD> установлено в B<SIG_IGN>. См. также раздел I<Linux Notes> о " |
| 976 |
"нитях.)" |
| 977 |
|
| 978 |
#. type: TP |
| 979 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 980 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 981 |
#, no-wrap |
| 982 |
msgid "B<EINTR>" |
| 983 |
msgstr "B<EINTR>" |
| 984 |
|
| 985 |
#. type: Plain text |
| 986 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 987 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 988 |
msgid "" |
| 989 |
"B<WNOHANG> was not set and an unblocked signal or a B<SIGCHLD> was caught; " |
| 990 |
"see B<signal>(7)." |
| 991 |
msgstr "" |
| 992 |
"Флаг B<WNOHANG> не задан и был пойман неблокируемый сигнал или B<SIGCHLD>; " |
| 993 |
"см. B<signal>(7)." |
| 994 |
|
| 995 |
#. type: TP |
| 996 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 997 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 998 |
#, no-wrap |
| 999 |
msgid "B<EINVAL>" |
| 1000 |
msgstr "B<EINVAL>" |
| 1001 |
|
| 1002 |
#. type: Plain text |
| 1003 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1004 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1005 |
msgid "The I<options> argument was invalid." |
| 1006 |
msgstr "Недопустимое значение I<options>." |
| 1007 |
|
| 1008 |
#. type: TP |
| 1009 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1010 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1011 |
#, no-wrap |
| 1012 |
msgid "B<ESRCH>" |
| 1013 |
msgstr "B<ESRCH>" |
| 1014 |
|
| 1015 |
#. type: Plain text |
| 1016 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1017 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1018 |
msgid "(for B<wait>() or B<waitpid>()) I<pid> is equal to B<INT_MIN>." |
| 1019 |
msgstr "" |
| 1020 |
|
| 1021 |
#. type: SH |
| 1022 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1023 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1024 |
#, no-wrap |
| 1025 |
msgid "VERSIONS" |
| 1026 |
msgstr "ВЕРСИИ" |
| 1027 |
|
| 1028 |
#. type: SS |
| 1029 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1030 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1031 |
#, no-wrap |
| 1032 |
msgid "C library/kernel differences" |
| 1033 |
msgstr "Отличия между библиотекой C и ядром" |
| 1034 |
|
| 1035 |
#. type: Plain text |
| 1036 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1037 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1038 |
msgid "" |
| 1039 |
"B<wait>() is actually a library function that (in glibc) is implemented as " |
| 1040 |
"a call to B<wait4>(2)." |
| 1041 |
msgstr "" |
| 1042 |
"В действительности, B<wait>() — библиотечная функция, которая (в glibc) " |
| 1043 |
"реализована через вызов B<wait4>(2)." |
| 1044 |
|
| 1045 |
#. e.g., i386 has the system call, but not x86-64 |
| 1046 |
#. type: Plain text |
| 1047 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1048 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1049 |
msgid "" |
| 1050 |
"On some architectures, there is no B<waitpid>() system call; instead, this " |
| 1051 |
"interface is implemented via a C library wrapper function that calls " |
| 1052 |
"B<wait4>(2)." |
| 1053 |
msgstr "" |
| 1054 |
"Для некоторых архитектур нет системного вызова B<waitpid>(); его заменяет " |
| 1055 |
"интерфейс, реализованный через обёрточную функцию библиотеки C, которая " |
| 1056 |
"вызывает B<wait4>(2)." |
| 1057 |
|
| 1058 |
#. type: Plain text |
| 1059 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1060 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1061 |
msgid "" |
| 1062 |
"The raw B<waitid>() system call takes a fifth argument, of type I<struct " |
| 1063 |
"rusage\\ *>. If this argument is non-NULL, then it is used to return " |
| 1064 |
"resource usage information about the child, in the same manner as " |
| 1065 |
"B<wait4>(2). See B<getrusage>(2) for details." |
| 1066 |
msgstr "" |
| 1067 |
"Системный вызов ядра B<waitid>() имеет пятый аргумент с типом I<struct " |
| 1068 |
"rusage\\ *>. Если его значение не равно NULL, то он используется для " |
| 1069 |
"возврата информации по используемым ресурсам в потомке, в том же виде что и " |
| 1070 |
"B<wait4>(2). Подробности смотрите в B<getrusage>(2)." |
| 1071 |
|
| 1072 |
#. type: SH |
| 1073 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1074 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1075 |
#, no-wrap |
| 1076 |
msgid "STANDARDS" |
| 1077 |
msgstr "СТАНДАРТЫ" |
| 1078 |
|
| 1079 |
#. type: Plain text |
| 1080 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 1081 |
#: opensuse-tumbleweed |
| 1082 |
msgid "POSIX.1-2024." |
| 1083 |
msgstr "POSIX.1-2024." |
| 1084 |
|
| 1085 |
#. type: SH |
| 1086 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1087 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1088 |
#, no-wrap |
| 1089 |
msgid "HISTORY" |
| 1090 |
msgstr "ИСТОРИЯ" |
| 1091 |
|
| 1092 |
#. type: Plain text |
| 1093 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1094 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1095 |
msgid "SVr4, 4.3BSD, POSIX.1-2001." |
| 1096 |
msgstr "SVr4, 4.3BSD, POSIX.1-2001." |
| 1097 |
|
| 1098 |
#. type: SH |
| 1099 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1100 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1101 |
#, no-wrap |
| 1102 |
msgid "NOTES" |
| 1103 |
msgstr "ПРИМЕЧАНИЯ" |
| 1104 |
|
| 1105 |
#. type: Plain text |
| 1106 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1107 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1108 |
msgid "" |
| 1109 |
"A child that terminates, but has not been waited for becomes a \"zombie\". " |
| 1110 |
"The kernel maintains a minimal set of information about the zombie process " |
| 1111 |
"(PID, termination status, resource usage information) in order to allow the " |
| 1112 |
"parent to later perform a wait to obtain information about the child. As " |
| 1113 |
"long as a zombie is not removed from the system via a wait, it will consume " |
| 1114 |
"a slot in the kernel process table, and if this table fills, it will not be " |
| 1115 |
"possible to create further processes. If a parent process terminates, then " |
| 1116 |
"its \"zombie\" children (if any) are adopted by B<init>(1), (or by the " |
| 1117 |
"nearest \"subreaper\" process as defined through the use of the B<prctl>(2) " |
| 1118 |
"B<PR_SET_CHILD_SUBREAPER> operation); B<init>(1) automatically performs a " |
| 1119 |
"wait to remove the zombies." |
| 1120 |
msgstr "" |
| 1121 |
"Потомок, который завершился, но которого не ждали, становится «зомби» " |
| 1122 |
"(zombie). Ядро поддерживает минимальный набор информации о процессах зомби " |
| 1123 |
"(PID, состояние завершения, использованные ресурсы), чтобы позже позволить " |
| 1124 |
"родителю выполнить процесс ожидания для получения информации о потомке. До " |
| 1125 |
"тех пор, пока зомби не будет удалён из системы через процесс ожидания " |
| 1126 |
"(wait), он занимает пространство (slot) в таблице процессов ядра, и если " |
| 1127 |
"таблица заполнится, станет невозможно создавать новые процессы. Если " |
| 1128 |
"родительский процесс завершает работу, то его потомки «зомби» (если есть) " |
| 1129 |
"усыновляются процессом B<init>(1) (или ближайшим «сборщиком», определённым " |
| 1130 |
"посредством вызова B<prctl>(2)с операцией B<PR_SET_CHILD_SUBREAPER>); " |
| 1131 |
"B<init>(1) автоматически выполняет процедуру ожидания для удаления зомби." |
| 1132 |
|
| 1133 |
#. type: Plain text |
| 1134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1136 |
msgid "" |
| 1137 |
"POSIX.1-2001 specifies that if the disposition of B<SIGCHLD> is set to " |
| 1138 |
"B<SIG_IGN> or the B<SA_NOCLDWAIT> flag is set for B<SIGCHLD> (see " |
| 1139 |
"B<sigaction>(2)), then children that terminate do not become zombies and a " |
| 1140 |
"call to B<wait>() or B<waitpid>() will block until all children have " |
| 1141 |
"terminated, and then fail with I<errno> set to B<ECHILD>. (The original " |
| 1142 |
"POSIX standard left the behavior of setting B<SIGCHLD> to B<SIG_IGN> " |
| 1143 |
"unspecified. Note that even though the default disposition of B<SIGCHLD> is " |
| 1144 |
"\"ignore\", explicitly setting the disposition to B<SIG_IGN> results in " |
| 1145 |
"different treatment of zombie process children.)" |
| 1146 |
msgstr "" |
| 1147 |
"В POSIX.1-2001 указано, что если для B<SIGCHLD> указан флаг B<SIG_IGN> или " |
| 1148 |
"B<SA_NOCLDWAIT> (смотрите B<sigaction>(2)), то завершающиеся потомки не " |
| 1149 |
"становятся зомби, а вызов B<wait>() или B<waitpid>() заблокирует выполнение " |
| 1150 |
"до тех пор, пока все потомки не завершат работу, и затем завершится с " |
| 1151 |
"ошибкой I<errno>, равной B<ECHILD> (в оригинальном стандарте POSIX такое " |
| 1152 |
"значение настройки B<SIGCHLD> в B<SIG_IGN> не определено. Заметим, что хотя " |
| 1153 |
"поведение B<SIGCHLD> по умолчанию является «игнорирование», явная установка " |
| 1154 |
"в B<SIG_IGN> приводит другому обращению с потомками зомби)." |
| 1155 |
|
| 1156 |
#. type: Plain text |
| 1157 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1158 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1159 |
msgid "" |
| 1160 |
"Linux 2.6 conforms to the POSIX requirements. However, Linux 2.4 (and " |
| 1161 |
"earlier) does not: if a B<wait>() or B<waitpid>() call is made while " |
| 1162 |
"B<SIGCHLD> is being ignored, the call behaves just as though B<SIGCHLD> were " |
| 1163 |
"not being ignored, that is, the call blocks until the next child terminates " |
| 1164 |
"and then returns the process ID and status of that child." |
| 1165 |
msgstr "" |
| 1166 |
"Linux 2.6 соответствует данной спецификации. Однако, Linux 2.4 (и ранее) не " |
| 1167 |
"соответствует: если вызов B<wait>() или B<waitpid>() сделан при " |
| 1168 |
"игнорировании B<SIGCHLD>, вызов работает как если бы B<SIGCHLD> не " |
| 1169 |
"игнорировался, то есть, вызов блокирует работу до тех пор, пока следующий " |
| 1170 |
"потомок не завершит работу и затем возвращает ID процесса и состояние этого " |
| 1171 |
"потомка." |
| 1172 |
|
| 1173 |
#. type: SS |
| 1174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1176 |
#, no-wrap |
| 1177 |
msgid "Linux notes" |
| 1178 |
msgstr "Замечания, касающиеся Linux" |
| 1179 |
|
| 1180 |
#. type: Plain text |
| 1181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1183 |
msgid "" |
| 1184 |
"In the Linux kernel, a kernel-scheduled thread is not a distinct construct " |
| 1185 |
"from a process. Instead, a thread is simply a process that is created using " |
| 1186 |
"the Linux-unique B<clone>(2) system call; other routines such as the " |
| 1187 |
"portable B<pthread_create>(3) call are implemented using B<clone>(2). " |
| 1188 |
"Before Linux 2.4, a thread was just a special case of a process, and as a " |
| 1189 |
"consequence one thread could not wait on the children of another thread, " |
| 1190 |
"even when the latter belongs to the same thread group. However, POSIX " |
| 1191 |
"prescribes such functionality, and since Linux 2.4 a thread can, and by " |
| 1192 |
"default will, wait on children of other threads in the same thread group." |
| 1193 |
msgstr "" |
| 1194 |
"В ядре Linux нити, управляемые ядром, устройством не отличаются от процесса. " |
| 1195 |
"Нить \\(em это просто процесс, который создан уникальным (существующим " |
| 1196 |
"только в Linux) системным вызовом B<clone>(2); другие процедуры, такие как " |
| 1197 |
"переносимая версия B<pthread_create>(3), также реализованы с помощью " |
| 1198 |
"B<clone>(2). До Linux 2.4, нить представляла собой специализированный " |
| 1199 |
"вариант процесса, и, как следствие, нить не могла ждать потомков другой " |
| 1200 |
"нити, даже когда последняя принадлежала той же группе нитей. Однако, в POSIX " |
| 1201 |
"вписали такую функциональность, и, начиная с Linux 2.4, нить может, и по " |
| 1202 |
"умолчанию будет ждать потомков других нитей в той же группе нитей." |
| 1203 |
|
| 1204 |
#. commit 91c4e8ea8f05916df0c8a6f383508ac7c9e10dba |
| 1205 |
#. type: Plain text |
| 1206 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1207 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1208 |
msgid "" |
| 1209 |
"The following Linux-specific I<options> are for use with children created " |
| 1210 |
"using B<clone>(2); they can also, since Linux 4.7, be used with B<waitid>():" |
| 1211 |
msgstr "" |
| 1212 |
"Следующие значения I<options>, присущие только Linux, используются для " |
| 1213 |
"потомков, созданных с помощью B<clone>(2); начиная с Linux 4.7, они также " |
| 1214 |
"могут использоваться с B<waitid>():" |
| 1215 |
|
| 1216 |
#. type: TP |
| 1217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1219 |
#, no-wrap |
| 1220 |
msgid "B<__WCLONE>" |
| 1221 |
msgstr "B<__WCLONE>" |
| 1222 |
|
| 1223 |
#. since 0.99pl10 |
| 1224 |
#. type: Plain text |
| 1225 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1226 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1227 |
msgid "" |
| 1228 |
"Wait for \"clone\" children only. If omitted, then wait for \"non-clone\" " |
| 1229 |
"children only. (A \"clone\" child is one which delivers no signal, or a " |
| 1230 |
"signal other than B<SIGCHLD> to its parent upon termination.) This option " |
| 1231 |
"is ignored if B<__WALL> is also specified." |
| 1232 |
msgstr "" |
| 1233 |
"Ждать только «клонированных (clone)» потомков. Если не указано, то ожидаются " |
| 1234 |
"только «не клонированные» потомки («клонированным» считается потомок, " |
| 1235 |
"который не доставляет сигнал, или сигнал, отличный от B<SIGCHLD>, своему " |
| 1236 |
"родителю при завершении). Этот аргумент игнорируется, если также указано " |
| 1237 |
"B<__WALL>." |
| 1238 |
|
| 1239 |
#. type: TP |
| 1240 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1241 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1242 |
#, no-wrap |
| 1243 |
msgid "B<__WALL> (since Linux 2.4)" |
| 1244 |
msgstr "B<__WALL> (начиная с Linux 2.4)" |
| 1245 |
|
| 1246 |
#. since patch-2.3.48 |
| 1247 |
#. type: Plain text |
| 1248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1250 |
msgid "Wait for all children, regardless of type (\"clone\" or \"non-clone\")." |
| 1251 |
msgstr "" |
| 1252 |
"Ждать всех потомков независимо от типа (\"клонированный\" или " |
| 1253 |
"\"неклонированный\")." |
| 1254 |
|
| 1255 |
#. type: TP |
| 1256 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1257 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1258 |
#, no-wrap |
| 1259 |
msgid "B<__WNOTHREAD> (since Linux 2.4)" |
| 1260 |
msgstr "B<__WNOTHREAD> (начиная с Linux 2.4)" |
| 1261 |
|
| 1262 |
#. since patch-2.4.0-test8 |
| 1263 |
#. type: Plain text |
| 1264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1266 |
msgid "" |
| 1267 |
"Do not wait for children of other threads in the same thread group. This " |
| 1268 |
"was the default before Linux 2.4." |
| 1269 |
msgstr "" |
| 1270 |
"Не ждать потомков других нитей в той же группе нитей. Это поведение по " |
| 1271 |
"умолчанию до Linux 2.4." |
| 1272 |
|
| 1273 |
#. commit bf959931ddb88c4e4366e96dd22e68fa0db9527c |
| 1274 |
#. prevents cases where an unreapable zombie is created if |
| 1275 |
#. /sbin/init doesn't use __WALL. |
| 1276 |
#. type: Plain text |
| 1277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1279 |
msgid "" |
| 1280 |
"Since Linux 4.7, the B<__WALL> flag is automatically implied if the child is " |
| 1281 |
"being ptraced." |
| 1282 |
msgstr "" |
| 1283 |
"Начиная с Linux 4.7, в случае, когда потомок был вызван с помощью ptrace, " |
| 1284 |
"флаг B<__WALL> назначается автоматически." |
| 1285 |
|
| 1286 |
#. type: SH |
| 1287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1289 |
#, no-wrap |
| 1290 |
msgid "BUGS" |
| 1291 |
msgstr "ПРОГРАММНЫЕ ОШИБКИ" |
| 1292 |
|
| 1293 |
#. type: Plain text |
| 1294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1296 |
msgid "" |
| 1297 |
"According to POSIX.1-2008, an application calling B<waitid>() must ensure " |
| 1298 |
"that I<infop> points to a I<siginfo_t> structure (i.e., that it is a non-" |
| 1299 |
"null pointer). On Linux, if I<infop> is NULL, B<waitid>() succeeds, and " |
| 1300 |
"returns the process ID of the waited-for child. Applications should avoid " |
| 1301 |
"relying on this inconsistent, nonstandard, and unnecessary feature." |
| 1302 |
msgstr "" |
| 1303 |
"Согласно POSIX.1-2008, приложение, вызывающее B<waitid>(), должно убедиться, " |
| 1304 |
"что I<infop> указывает на структуру I<siginfo_t> (т. е., что это указатель " |
| 1305 |
"не равен null). В Linux, если I<infop> равно NULL, то B<waitid>() " |
| 1306 |
"выполняется успешно и возвращает ID процесса ожидавшегося потомка. " |
| 1307 |
"Приложения не должны полагаться на это несогласованное, нестандартное и " |
| 1308 |
"ненужное свойство." |
| 1309 |
|
| 1310 |
#. type: SH |
| 1311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1313 |
#, no-wrap |
| 1314 |
msgid "EXAMPLES" |
| 1315 |
msgstr "ПРИМЕРЫ" |
| 1316 |
|
| 1317 |
#. fork.2 refers to this example program. |
| 1318 |
#. type: Plain text |
| 1319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1321 |
msgid "" |
| 1322 |
"The following program demonstrates the use of B<fork>(2) and B<waitpid>(). " |
| 1323 |
"The program creates a child process. If no command-line argument is " |
| 1324 |
"supplied to the program, then the child suspends its execution using " |
| 1325 |
"B<pause>(2), to allow the user to send signals to the child. Otherwise, if " |
| 1326 |
"a command-line argument is supplied, then the child exits immediately, using " |
| 1327 |
"the integer supplied on the command line as the exit status. The parent " |
| 1328 |
"process executes a loop that monitors the child using B<waitpid>(), and uses " |
| 1329 |
"the W*() macros described above to analyze the wait status value." |
| 1330 |
msgstr "" |
| 1331 |
"В следующей программе показано использование B<fork>(2) и B<waitpid>(). " |
| 1332 |
"Программа создаёт процесс потомок. Если программа запущена без параметров, " |
| 1333 |
"то потомок приостанавливает выполнение с помощью B<pause>(2), чтобы " |
| 1334 |
"позволить пользователю послать сигнал потомку. Иначе, если в командной " |
| 1335 |
"строке задан параметр, то потомок завершает работу сразу, используя " |
| 1336 |
"переданное в параметре командной строки целое число как код завершения. " |
| 1337 |
"Процесс родитель работает в цикле, следя за потомком с помощью B<waitpid>(), " |
| 1338 |
"и использует макросы W*(), описанные ранее, для анализа значения состояния " |
| 1339 |
"ожидания." |
| 1340 |
|
| 1341 |
#. type: Plain text |
| 1342 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1343 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1344 |
msgid "The following shell session demonstrates the use of the program:" |
| 1345 |
msgstr "Следующий сеанс работы в оболочке показывает работу с программой:" |
| 1346 |
|
| 1347 |
#. type: Plain text |
| 1348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1350 |
#, no-wrap |
| 1351 |
msgid "" |
| 1352 |
"$B< ./a.out &>\n" |
| 1353 |
"Child PID is 32360\n" |
| 1354 |
"[1] 32359\n" |
| 1355 |
"$B< kill -STOP 32360>\n" |
| 1356 |
"stopped by signal 19\n" |
| 1357 |
"$B< kill -CONT 32360>\n" |
| 1358 |
"continued\n" |
| 1359 |
"$B< kill -TERM 32360>\n" |
| 1360 |
"killed by signal 15\n" |
| 1361 |
"[1]+ Done ./a.out\n" |
| 1362 |
"$\n" |
| 1363 |
msgstr "" |
| 1364 |
"$B< ./a.out &>\n" |
| 1365 |
"Child PID is 32360\n" |
| 1366 |
"[1] 32359\n" |
| 1367 |
"$B< kill -STOP 32360>\n" |
| 1368 |
"stopped by signal 19\n" |
| 1369 |
"$B< kill -CONT 32360>\n" |
| 1370 |
"continued\n" |
| 1371 |
"$B< kill -TERM 32360>\n" |
| 1372 |
"killed by signal 15\n" |
| 1373 |
"[1]+ Done ./a.out\n" |
| 1374 |
"$\n" |
| 1375 |
|
| 1376 |
#. type: SS |
| 1377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1379 |
#, no-wrap |
| 1380 |
msgid "Program source" |
| 1381 |
msgstr "Исходный код программы" |
| 1382 |
|
| 1383 |
#. type: Plain text |
| 1384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1386 |
#, no-wrap |
| 1387 |
msgid "" |
| 1388 |
"#include E<lt>stdint.hE<gt>\n" |
| 1389 |
"#include E<lt>stdio.hE<gt>\n" |
| 1390 |
"#include E<lt>stdlib.hE<gt>\n" |
| 1391 |
"#include E<lt>sys/types.hE<gt>\n" |
| 1392 |
"#include E<lt>sys/wait.hE<gt>\n" |
| 1393 |
"#include E<lt>unistd.hE<gt>\n" |
| 1394 |
"\\&\n" |
| 1395 |
"int\n" |
| 1396 |
"main(int argc, char *argv[])\n" |
| 1397 |
"{\n" |
| 1398 |
" int wstatus;\n" |
| 1399 |
" pid_t cpid, w;\n" |
| 1400 |
"\\&\n" |
| 1401 |
" cpid = fork();\n" |
| 1402 |
" if (cpid == -1) {\n" |
| 1403 |
" perror(\"fork\");\n" |
| 1404 |
" exit(EXIT_FAILURE);\n" |
| 1405 |
" }\n" |
| 1406 |
"\\&\n" |
| 1407 |
" if (cpid == 0) { /* Code executed by child */\n" |
| 1408 |
" printf(\"Child PID is %jd\\[rs]n\", (intmax_t) getpid());\n" |
| 1409 |
" if (argc == 1)\n" |
| 1410 |
" pause(); /* Wait for signals */\n" |
| 1411 |
" _exit(atoi(argv[1]));\n" |
| 1412 |
"\\&\n" |
| 1413 |
" } else { /* Code executed by parent */\n" |
| 1414 |
" do {\n" |
| 1415 |
" w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED);\n" |
| 1416 |
" if (w == -1) {\n" |
| 1417 |
" perror(\"waitpid\");\n" |
| 1418 |
" exit(EXIT_FAILURE);\n" |
| 1419 |
" }\n" |
| 1420 |
"\\&\n" |
| 1421 |
" if (WIFEXITED(wstatus)) {\n" |
| 1422 |
" printf(\"exited, status=%d\\[rs]n\", WEXITSTATUS(wstatus));\n" |
| 1423 |
" } else if (WIFSIGNALED(wstatus)) {\n" |
| 1424 |
" printf(\"killed by signal %d\\[rs]n\", WTERMSIG(wstatus));\n" |
| 1425 |
" } else if (WIFSTOPPED(wstatus)) {\n" |
| 1426 |
" printf(\"stopped by signal %d\\[rs]n\", WSTOPSIG(wstatus));\n" |
| 1427 |
" } else if (WIFCONTINUED(wstatus)) {\n" |
| 1428 |
" printf(\"continued\\[rs]n\");\n" |
| 1429 |
" }\n" |
| 1430 |
" } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus));\n" |
| 1431 |
" exit(EXIT_SUCCESS);\n" |
| 1432 |
" }\n" |
| 1433 |
"}\n" |
| 1434 |
msgstr "" |
| 1435 |
|
| 1436 |
#. SRC END |
| 1437 |
#. type: SH |
| 1438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1440 |
#, no-wrap |
| 1441 |
msgid "SEE ALSO" |
| 1442 |
msgstr "СМОТРИТЕ ТАКЖЕ" |
| 1443 |
|
| 1444 |
#. type: Plain text |
| 1445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1447 |
msgid "" |
| 1448 |
"B<_exit>(2), B<clone>(2), B<fork>(2), B<kill>(2), B<ptrace>(2), " |
| 1449 |
"B<sigaction>(2), B<signal>(2), B<wait4>(2), B<pthread_create>(3), " |
| 1450 |
"B<core>(5), B<credentials>(7), B<signal>(7)" |
| 1451 |
msgstr "" |
| 1452 |
"B<_exit>(2), B<clone>(2), B<fork>(2), B<kill>(2), B<ptrace>(2), " |
| 1453 |
"B<sigaction>(2), B<signal>(2), B<wait4>(2), B<pthread_create>(3), " |
| 1454 |
"B<core>(5), B<credentials>(7), B<signal>(7)" |
| 1455 |
|
| 1456 |
#. type: TH |
| 1457 |
#: debian-trixie |
| 1458 |
#, no-wrap |
| 1459 |
msgid "2024-06-15" |
| 1460 |
msgstr "15 июня 2024 г." |
| 1461 |
|
| 1462 |
#. type: TH |
| 1463 |
#: debian-trixie |
| 1464 |
#, no-wrap |
| 1465 |
msgid "Linux man-pages 6.9.1" |
| 1466 |
msgstr "Страницы руководства Linux 6.9.1" |
| 1467 |
|
| 1468 |
#. type: Plain text |
| 1469 |
#: debian-trixie |
| 1470 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1471 |
msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)" |
| 1472 |
|
| 1473 |
#. type: Plain text |
| 1474 |
#: debian-trixie |
| 1475 |
#, no-wrap |
| 1476 |
msgid "" |
| 1477 |
"B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n" |
| 1478 |
" /* This is the glibc and POSIX interface; see\n" |
| 1479 |
" NOTES for information on the raw system call. */\n" |
| 1480 |
msgstr "" |
| 1481 |
"B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n" |
| 1482 |
" /* Это интерфейс glibc и POSIX; информацию по\n" |
| 1483 |
" системному вызову ядра смотрите в ЗАМЕЧАНИЯ. */\n" |
| 1484 |
|
| 1485 |
#. type: TP |
| 1486 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1487 |
#, no-wrap |
| 1488 |
msgid "B<WCOREDUMP(>I<wstatus>B<)>" |
| 1489 |
msgstr "B<WCOREDUMP(>I<wstatus>B<)>" |
| 1490 |
|
| 1491 |
#. type: Plain text |
| 1492 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1493 |
msgid "" |
| 1494 |
"This macro is not specified in POSIX.1-2001 and is not available on some " |
| 1495 |
"UNIX implementations (e.g., AIX, SunOS). Therefore, enclose its use inside " |
| 1496 |
"I<#ifdef WCOREDUMP ... #endif>." |
| 1497 |
msgstr "" |
| 1498 |
"Данный макрос не описан в POSIX.1-2001 и недоступен в некоторых реализациях " |
| 1499 |
"UNIX (например, AIX, SunOS). Поэтому указывайте его внутри I<#ifdef " |
| 1500 |
"WCOREDUMP ... #endif>." |
| 1501 |
|
| 1502 |
#. type: TP |
| 1503 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1504 |
#, no-wrap |
| 1505 |
msgid "B<WIFSTOPPED(>I<wstatus>B<)>" |
| 1506 |
msgstr "B<WIFSTOPPED(>I<wstatus>B<)>" |
| 1507 |
|
| 1508 |
#. type: TP |
| 1509 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1510 |
#, no-wrap |
| 1511 |
msgid "I<idtype> == B<P_PID>" |
| 1512 |
msgstr "I<idtype> == B<P_PID>" |
| 1513 |
|
| 1514 |
#. type: TP |
| 1515 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1516 |
#, no-wrap |
| 1517 |
msgid "I<idtype> == B<P_PIDFD> (since Linux 5.4)" |
| 1518 |
msgstr "I<idtype> == B<P_PIDFD> (начиная с Linux 5.4)" |
| 1519 |
|
| 1520 |
#. type: TP |
| 1521 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1522 |
#, no-wrap |
| 1523 |
msgid "I<idtype> == B<P_PGID>" |
| 1524 |
msgstr "I<idtype> == B<P_PGID>" |
| 1525 |
|
| 1526 |
#. type: TP |
| 1527 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1528 |
#, no-wrap |
| 1529 |
msgid "I<idtype> == B<P_ALL>" |
| 1530 |
msgstr "I<idtype> == B<P_ALL>" |
| 1531 |
|
| 1532 |
#. type: Plain text |
| 1533 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1534 |
msgid "" |
| 1535 |
"(for B<waitpid>() or B<waitid>()) The process specified by I<pid> " |
| 1536 |
"(B<waitpid>()) or I<idtype> and I<id> (B<waitid>()) does not exist or is " |
| 1537 |
"not a child of the calling process. (This can happen for one's own child if " |
| 1538 |
"the action for B<SIGCHLD> is set to B<SIG_IGN>. See also the I<Linux Notes> " |
| 1539 |
"section about threads.)" |
| 1540 |
msgstr "" |
| 1541 |
"(для B<waitpid>() или B<waitid>()) Процесс, заданный I<pid> (B<waitpid>()) " |
| 1542 |
"или I<idtype> и I<id> (B<waitid>()), не существует или не является потомком " |
| 1543 |
"вызвавшего процесса. (Это может случиться для своего потомка, если действие " |
| 1544 |
"для B<SIGCHLD> установлено в B<SIG_IGN>. См. также раздел I<Linux Notes> о " |
| 1545 |
"нитях.)" |
| 1546 |
|
| 1547 |
#. type: Plain text |
| 1548 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1549 |
msgid "POSIX.1-2008." |
| 1550 |
msgstr "POSIX.1-2008." |
| 1551 |
|
| 1552 |
#. type: TH |
| 1553 |
#: fedora-44 fedora-rawhide |
| 1554 |
#, no-wrap |
| 1555 |
msgid "2024-07-23" |
| 1556 |
msgstr "23 июля 2024 г." |
| 1557 |
|
| 1558 |
#. type: TH |
| 1559 |
#: fedora-44 fedora-rawhide |
| 1560 |
#, no-wrap |
| 1561 |
msgid "Linux man-pages 6.13" |
| 1562 |
msgstr "Страницы руководства Linux 6.13" |
| 1563 |
|
| 1564 |
#. type: Plain text |
| 1565 |
#: fedora-44 fedora-rawhide |
| 1566 |
#, fuzzy, no-wrap |
| 1567 |
#| msgid "" |
| 1568 |
#| "B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n" |
| 1569 |
#| " /* This is the glibc and POSIX interface; see\n" |
| 1570 |
#| " NOTES for information on the raw system call. */\n" |
| 1571 |
msgid "" |
| 1572 |
"B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n" |
| 1573 |
" /* This is the glibc and POSIX interface; see\n" |
| 1574 |
" VERSIONS for information on the raw system call. */\n" |
| 1575 |
msgstr "" |
| 1576 |
"B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n" |
| 1577 |
" /* Это интерфейс glibc и POSIX; информацию по\n" |
| 1578 |
" системному вызову ядра смотрите в ЗАМЕЧАНИЯ. */\n" |
| 1579 |
|
| 1580 |
#. type: TH |
| 1581 |
#: mageia-cauldron |
| 1582 |
#, no-wrap |
| 1583 |
msgid "Linux man-pages 6.17" |
| 1584 |
msgstr "Страницы руководства Linux 6.17" |
| 1585 |
|
| 1586 |
#. type: TH |
| 1587 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1588 |
#, no-wrap |
| 1589 |
msgid "Linux man-pages (unreleased)" |
| 1590 |
msgstr "Страницы руководства Linux (не выпущены)" |