Debian Codegraph @

po/ru/man2/fork.2.po

raw
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]>, 2017.
5 # Dmitry Bolkhovskikh <[email protected]>, 2017.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:24+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
13 "Last-Translator: Yuri Kozlov <[email protected]>\n"
14 "Language-Team: Russian <[email protected]>\n"
15 "Language: ru\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
20 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
21 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
22 "X-Generator: Lokalize 2.0\n"
23
24 #. type: TH
25 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
26 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
27 #, no-wrap
28 msgid "fork"
29 msgstr "fork"
30
31 #. type: TH
32 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
33 #: opensuse-tumbleweed
34 #, no-wrap
35 msgid "2026-02-08"
36 msgstr "8 февраля 2026 г."
37
38 #. type: TH
39 #: archlinux debian-unstable
40 #, fuzzy, no-wrap
41 #| msgid "Linux man-pages 6.17"
42 msgid "Linux man-pages 6.18"
43 msgstr "Справочные страницы Linux 6.17"
44
45 #. type: SH
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 #, no-wrap
49 msgid "NAME"
50 msgstr "НАИМЕНОВАНИЕ"
51
52 #. type: Plain text
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 msgid "fork - create a child process"
56 msgstr "fork - создаёт дочерний процесс"
57
58 #. type: SH
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 #, no-wrap
62 msgid "LIBRARY"
63 msgstr "БИБЛИОТЕКА"
64
65 #. type: Plain text
66 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
67 #: opensuse-leap-16-1 opensuse-tumbleweed
68 msgid "Standard C library (I<libc>,\\ I<-lc>)"
69 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
70
71 #. type: SH
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "SYNOPSIS"
76 msgstr "СИНТАКСИС"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "B<#include E<lt>unistd.hE<gt>>\n"
83 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
84
85 #. type: Plain text
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "B<pid_t fork(void);>\n"
90 msgstr "B<pid_t fork(void);>\n"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "ОПИСАНИЕ"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid ""
103 "B<fork>() creates a new process by duplicating the calling process. The "
104 "new process is referred to as the I<child> process. The calling process is "
105 "referred to as the I<parent> process."
106 msgstr ""
107 "Вызов B<fork>() создаёт новый процесс посредством копирования вызывающего "
108 "процесса. Новый процесс считается I<дочерним> процессом. Вызывающий процесс "
109 "считается I<родительским> процессом."
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "The child process and the parent process run in separate memory spaces. At "
116 "the time of B<fork>() both memory spaces have the same content. Memory "
117 "writes, file mappings (B<mmap>(2)), and unmappings (B<munmap>(2)) performed "
118 "by one of the processes do not affect the other."
119 msgstr ""
120 "Дочерний и родительский процессы находятся в отдельных пространствах памяти. "
121 "Сразу после B<fork>() эти пространства имеют одинаковое содержимое. Запись в "
122 "память, отображение файлов (B<mmap>(2)) и снятие отображения (B<munmap>(2)), "
123 "выполненных в одном процессе, ничего не изменяет в другом."
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "The child process is an exact duplicate of the parent process except for the "
130 "following points:"
131 msgstr ""
132 "Дочерний процесс является точной копией родительского процесса за "
133 "исключением следующих моментов:"
134
135 #. type: IP
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid "\\[bu]"
140 msgstr "\\[bu]"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "The child has its own unique process ID, and this PID does not match the ID "
147 "of any existing process group (B<setpgid>(2)) or session."
148 msgstr ""
149 "Потомок имеет свой уникальный идентификатор процесса, и этот PID "
150 "(идентификатор процесса) не совпадает ни с одним существующим "
151 "идентификатором группы процессов (B<setpgid>(2)) или сеансов."
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 "The child's parent process ID is the same as the parent's process ID."
157 msgstr ""
158 "Идентификатор родительского процесса у потомка равен идентификатору "
159 "родительского процесса."
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid ""
165 "The child does not inherit its parent's memory locks (B<mlock>(2), "
166 "B<mlockall>(2))."
167 msgstr ""
168 "Потомок не наследует блокировки памяти родителя (B<mlock>(2), "
169 "B<mlockall>(2))."
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "Process resource utilizations (B<getrusage>(2)) and CPU time counters "
176 "(B<times>(2)) are reset to zero in the child."
177 msgstr ""
178 "Счётчики использования ресурсов (B<getrusage>(2)) и времени ЦП у потомка "
179 "сброшены в 0."
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "The child's set of pending signals is initially empty (B<sigpending>(2))."
186 msgstr "Набор ожидающих сигналов потомка изначально пуст (B<sigpending>(2))."
187
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "The child does not inherit semaphore adjustments from its parent "
193 "(B<semop>(2))."
194 msgstr "Потомок не наследует значения семафоров родителя (B<semop>(2))."
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "The child does not inherit process-associated record locks from its parent "
201 "(B<fcntl>(2)). (On the other hand, it does inherit B<fcntl>(2) open file "
202 "description locks and B<flock>(2) locks from its parent.)"
203 msgstr ""
204 "Потомок не наследует связанные с процессом блокировки родителя (B<fcntl>(2)) "
205 "(с другой стороны, он наследует блокировки файловых описаний B<fcntl>(2) и "
206 "блокировки B<flock>(2))."
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 msgid ""
212 "The child does not inherit timers from its parent (B<setitimer>(2), "
213 "B<alarm>(2), B<timer_create>(2))."
214 msgstr ""
215 "Потомок не наследует таймеры родителя (B<setitimer>(2), B<alarm>(2), "
216 "B<timer_create>(2))."
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "The child does not inherit outstanding asynchronous I/O operations from its "
223 "parent (B<aio_read>(3), B<aio_write>(3)), nor does it inherit any "
224 "asynchronous I/O contexts from its parent (see B<io_setup>(2))."
225 msgstr ""
226 "Потомок не наследует ожидающие выполнения операции асинхронного ввода-вывода "
227 "(B<aio_read>(3), B<aio_write>(3)) и контексты асинхронного ввода-вывода "
228 "родителя (см. B<io_setup>(2))."
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 msgid ""
234 "The process attributes in the preceding list are all specified in POSIX.1. "
235 "The parent and child also differ with respect to the following Linux-"
236 "specific process attributes:"
237 msgstr ""
238 "Все перечисленные атрибуты указаны в POSIX.1. Родитель и потомок также "
239 "отличаются по следующим атрибутам процесса, которые есть только в Linux:"
240
241 #. type: Plain text
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 msgid ""
245 "The child does not inherit directory change notifications (dnotify) from "
246 "its parent (see the description of B<F_NOTIFY> in B<fcntl>(2))."
247 msgstr ""
248 "Потомок не наследует уведомления об изменении каталога (dnotify) родителя "
249 "(смотрите описание B<F_NOTIFY> в B<fcntl>(2))."
250
251 #. type: Plain text
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 msgid ""
255 "The B<prctl>(2) B<PR_SET_PDEATHSIG> setting is reset so that the child does "
256 "not receive a signal when its parent terminates."
257 msgstr ""
258 "Настройка B<PR_SET_PDEATHSIG> у B<prctl>(2) сбрасывается, и поэтому потомок "
259 "не принимает сигнал о завершении работы родителя."
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 "The default timer slack value is set to the parent's current timer slack "
266 "value. See the description of B<PR_SET_TIMERSLACK> in B<prctl>(2)."
267 msgstr ""
268 "Резервное значение по умолчанию устанавливается равным родительскому "
269 "текущему резервному значению таймера. Смотрите описание B<PR_SET_TIMERSLACK> "
270 "в B<prctl>(2)."
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "Memory mappings that have been marked with the B<madvise>(2) "
277 "B<MADV_DONTFORK> flag are not inherited across a B<fork>()."
278 msgstr ""
279 "Отображение памяти, помеченное с помощью флага B<MADV_DONTFORK> через "
280 "B<madvise>(2), при B<fork>() не наследуется."
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "Memory in address ranges that have been marked with the B<madvise>(2) "
287 "B<MADV_WIPEONFORK> flag is zeroed in the child after a B<fork>(). (The "
288 "B<MADV_WIPEONFORK> setting remains in place for those address ranges in the "
289 "child.)"
290 msgstr ""
291 "Память в диапазонах адресов, которые были помечены с помощью B<madvise>(2) "
292 "флагом B<MADV_WIPEONFORK>, обнуляются в потомке после B<fork>() (флаг "
293 "B<MADV_WIPEONFORK> остаётся в потомке у этих диапазонов адресов)."
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "The termination signal of the child is always B<SIGCHLD> (see B<clone>(2))."
300 msgstr "Сигнал завершения работы потомка всегда B<SIGCHLD> (см. B<clone>(2))."
301
302 #. type: Plain text
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 msgid ""
306 "The port access permission bits set by B<ioperm>(2) are not inherited by "
307 "the child; the child must turn on any bits that it requires using "
308 "B<ioperm>(2)."
309 msgstr ""
310 "Биты прав доступа к порту, установленные с помощью B<ioperm>(2), не "
311 "наследуются потомком; потомок должен установить все нужные ему биты с "
312 "помощью B<ioperm>(2)."
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 msgid "Note the following further points:"
318 msgstr "Также стоит учитывать следующее:"
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, fuzzy
324 #| msgid ""
325 #| "The child process is created with a single thread\\(emthe one that called "
326 #| "B<fork>(). The entire virtual address space of the parent is replicated "
327 #| "in the child, including the states of mutexes, condition variables, and "
328 #| "other pthreads objects; the use of B<pthread_atfork>(3) may be helpful "
329 #| "for dealing with problems that this can cause."
330 msgid ""
331 "The child process is created with a single thread\\[em]the one that called "
332 "B<fork>(). The entire virtual address space of the parent is replicated in "
333 "the child, including the states of mutexes, condition variables, and other "
334 "pthreads objects; the use of B<pthread_atfork>(3) may be helpful for "
335 "dealing with problems that this can cause."
336 msgstr ""
337 "Процесс потомка создаётся с одиночной нитью — той, которая вызвала "
338 "B<fork>(). Всё виртуальное адресное пространство родителя копируется в "
339 "потомок, включая состояние мьютексов, условных переменных и других объектов "
340 "pthreads; в случае проблем с этим может помочь B<pthread_atfork>(3)."
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 "After a B<fork>() in a multithreaded program, the child can safely call "
347 "only async-signal-safe functions (see B<signal-safety>(7)) until such time "
348 "as it calls B<execve>(2)."
349 msgstr ""
350 "В многонитевой программе после B<fork>() потомок может безопасно вызывать "
351 "только безопасные-асинхронные-сигнальные функции (смотрите B<signal-"
352 "safety>(7)) до тех пор, пока не вызовет B<execve>(2)."
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid ""
358 "The child inherits copies of the parent's set of open file descriptors. "
359 "Each file descriptor in the child refers to the same open file description "
360 "(see B<open>(2)) as the corresponding file descriptor in the parent. This "
361 "means that the two file descriptors share open file status flags, file "
362 "offset, and signal-driven I/O attributes (see the description of B<F_SETOWN> "
363 "and B<F_SETSIG> in B<fcntl>(2))."
364 msgstr ""
365 "Потомок наследует копии набора открытых файловых дескрипторов родителя. "
366 "Каждый файловый дескриптор в потомке ссылается на то же описание файла что и "
367 "родитель (смотрите B<open>(2)). Это означает, что два файловых дескриптора "
368 "совместно используют флаги состояния открытого файла, смещение файла и "
369 "атрибуты ввода-вывода, управляемые сигналами (смотрите описание B<F_SETOWN> "
370 "и B<F_SETSIG> в B<fcntl>(2))."
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "The child inherits copies of the parent's set of open message queue "
377 "descriptors (see B<mq_overview>(7)). Each file descriptor in the child "
378 "refers to the same open message queue description as the corresponding file "
379 "descriptor in the parent. This means that the two file descriptors share "
380 "the same flags (I<mq_flags>)."
381 msgstr ""
382 "Потомок наследует копии набора файловых дескрипторов открытых очередей "
383 "сообщений родителя (смотрите B<mq_overview>(7)). Каждый файловый дескриптор "
384 "в потомке ссылается на то же описание открытой очереди сообщений что и "
385 "родитель. Это означает, что два файловых дескриптора совместно используют "
386 "флаги (I<mq_flags>)."
387
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 msgid ""
392 "The child inherits copies of the parent's set of open directory streams (see "
393 "B<opendir>(3)). POSIX.1 says that the corresponding directory streams in "
394 "the parent and child I<may> share the directory stream positioning; on Linux/"
395 "glibc they do not."
396 msgstr ""
397 "Потомок наследует копии набора потоков открытых каталогов родителя (смотрите "
398 "B<opendir>(3)). В POSIX.1 сказано, что соответствующие потоки каталогов в "
399 "родителе и потомке I<могут> совместно использовать позицию в потоке "
400 "каталога; в Linux/glibc они не могут этого делать."
401
402 #. type: SH
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "RETURN VALUE"
407 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
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 #, fuzzy
413 #| msgid ""
414 #| "On success, the PID of the child process is returned in the parent, and 0 "
415 #| "is returned in the child. On failure, -1 is returned in the parent, no "
416 #| "child process is created, and I<errno> is set appropriately."
417 msgid ""
418 "On success, the PID of the child process is returned in the parent, and 0 is "
419 "returned in the child. On failure, -1 is returned in the parent, no child "
420 "process is created, and I<errno> is set to indicate the error."
421 msgstr ""
422 "При успешном завершении родителю возвращается PID процесса-потомка, а "
423 "процессу-потомку возвращается 0. При ошибке родительскому процессу "
424 "возвращается -1, процесс-потомок не создаётся, а значение I<errno> "
425 "устанавливается в соответствующее значение."
426
427 #. type: SH
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "ERRORS"
432 msgstr "ОШИБКИ"
433
434 #. type: TP
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 #, no-wrap
438 msgid "B<EAGAIN>"
439 msgstr "B<EAGAIN>"
440
441 #. NOTE! The following should match the description in pthread_create(3)
442 #. type: Plain text
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 msgid ""
446 "A system-imposed limit on the number of threads was encountered. There are "
447 "a number of limits that may trigger this error:"
448 msgstr ""
449 "Возникло системного ограничение на количество нитей. Есть несколько "
450 "ограничений, которые могут вызвать эту ошибку:"
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid ""
456 "the B<RLIMIT_NPROC> soft resource limit (set via B<setrlimit>(2)), which "
457 "limits the number of processes and threads for a real user ID, was reached;"
458 msgstr ""
459 "B<RLIMIT_NPROC> (задаётся с помощью B<setrlimit>(2)), который ограничивает "
460 "количество процессов и ните для реального ID пользователя;"
461
462 #. type: Plain text
463 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
464 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
465 msgid ""
466 "the kernel's system-wide limit on the number of processes and threads, I</"
467 "proc/sys/kernel/threads-max>, was reached (see B<proc>(5));"
468 msgstr ""
469 "было достигнуто системное ограничение ядра на количество процессов и нитей, "
470 "I</proc/sys/kernel/threads-max> (смотрите B<proc>(5));"
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 msgid ""
476 "the maximum number of PIDs, I</proc/sys/kernel/pid_max>, was reached (see "
477 "B<proc>(5)); or"
478 msgstr ""
479 "достигнуто максимальное количество PID, I</proc/sys/kernel/pid_max> "
480 "(смотрите B<proc>(5)); или"
481
482 #. type: Plain text
483 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
484 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
485 msgid ""
486 "the PID limit (I<pids.max>) imposed by the cgroup \"process number\" (PIDs) "
487 "controller was reached."
488 msgstr ""
489 "достигнуто ограничение на PID (I<pids.max>), наложенное контроллером cgroup "
490 "на «номер процесса» (PID)."
491
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 msgid ""
496 "The caller is operating under the B<SCHED_DEADLINE> scheduling policy and "
497 "does not have the reset-on-fork flag set. See B<sched>(7)."
498 msgstr ""
499 "Вызывающий работает по алгоритму планирования B<SCHED_DEADLINE> и у него не "
500 "установлен флаг сброса-при-fork (reset-on-fork). Смотрите B<sched>(7)."
501
502 #. type: TP
503 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
504 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
505 #, no-wrap
506 msgid "B<ENOMEM>"
507 msgstr "B<ENOMEM>"
508
509 #. type: Plain text
510 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
511 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
512 msgid ""
513 "B<fork>() failed to allocate the necessary kernel structures because memory "
514 "is tight."
515 msgstr ""
516 "Вызов B<fork>() завершился с ошибкой из-за невозможности разместить "
517 "необходимые структуры ядра, потому что слишком мало памяти."
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid ""
523 "An attempt was made to create a child process in a PID namespace whose "
524 "\"init\" process has terminated. See B<pid_namespaces>(7)."
525 msgstr ""
526 "Была попытка создания дочерний процесс в пространстве имён PID, чей процесс "
527 "«init» завершил работу. Смотрите B<pid_namespaces>(7)."
528
529 #. type: TP
530 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
531 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
532 #, no-wrap
533 msgid "B<ENOSYS>"
534 msgstr "B<ENOSYS>"
535
536 #. e.g., arm (optionally), blackfin, c6x, frv, h8300, microblaze, xtensa
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 "B<fork>() is not supported on this platform (for example, hardware without "
542 "a Memory-Management Unit)."
543 msgstr ""
544 "Вызов B<fork>() не поддерживается на этой платформе (например, из-за того, "
545 "что аппаратное обеспечение не содержит блока управления памятью (MMU))."
546
547 #. type: TP
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 #, no-wrap
551 msgid "B<ERESTARTNOINTR> (since Linux 2.6.17)"
552 msgstr "B<ERESTARTNOINTR> (начиная с Linux 2.6.17)"
553
554 #. commit 4a2c7a7837da1b91468e50426066d988050e4d56
555 #. type: Plain text
556 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
557 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
558 msgid ""
559 "System call was interrupted by a signal and will be restarted. (This can be "
560 "seen only during a trace.)"
561 msgstr ""
562 "Системный вызов был прерван сигналом и перезапущен (может быть замечено "
563 "только при трассировке)."
564
565 #. type: SH
566 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
567 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
568 #, no-wrap
569 msgid "VERSIONS"
570 msgstr "ВЕРСИИ"
571
572 #. type: SS
573 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
574 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
575 #, no-wrap
576 msgid "C library/kernel differences"
577 msgstr "Отличия между библиотекой C и ядром"
578
579 #. nptl/sysdeps/unix/sysv/linux/fork.c
580 #. and does some magic to ensure that getpid(2) returns the right value.
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, fuzzy
585 #| msgid ""
586 #| "Since version 2.3.3, rather than invoking the kernel's B<fork>() system "
587 #| "call, the glibc B<fork>() wrapper that is provided as part of the NPTL "
588 #| "threading implementation invokes B<clone>(2) with flags that provide the "
589 #| "same effect as the traditional system call. (A call to B<fork>() is "
590 #| "equivalent to a call to B<clone>(2) specifying I<flags> as just "
591 #| "B<SIGCHLD>.) The glibc wrapper invokes any fork handlers that have been "
592 #| "established using B<pthread_atfork>(3)."
593 msgid ""
594 "Since glibc 2.3.3, rather than invoking the kernel's B<fork>() system call, "
595 "the glibc B<fork>() wrapper that is provided as part of the NPTL threading "
596 "implementation invokes B<clone>(2) with flags that provide the same effect "
597 "as the traditional system call. (A call to B<fork>() is equivalent to a "
598 "call to B<clone>(2) specifying I<flags> as just B<SIGCHLD>.) The glibc "
599 "wrapper invokes any fork handlers that have been established using "
600 "B<pthread_atfork>(3)."
601 msgstr ""
602 "Начиная с версии 2.3.3, вместо того, чтобы вызывать системный вызов "
603 "B<fork>(), обёрточная функция B<fork>() в glibc, как часть реализации нитей "
604 "NPTL, вызывает B<clone>(2) с флагами, которые обеспечивают поведение "
605 "традиционного системного вызова (вызов B<fork>() эквивалентен вызову "
606 "B<clone>(2), если значение равно I<flags> B<SIGCHLD>). Обёртка в glibc "
607 "вызывает все обработчики при ветвлении (fork), которые были зарегистрированы "
608 "с помощью B<pthread_atfork>(3)."
609
610 #. type: SS
611 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
612 #: opensuse-tumbleweed
613 #, fuzzy, no-wrap
614 #| msgid "Async-cancel safety"
615 msgid "Async-signal safety"
616 msgstr "Безопасность асинхронной отмены"
617
618 #. type: Plain text
619 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
620 #: opensuse-tumbleweed
621 msgid "B<_Fork>(3) is an async-signal safe variant of B<fork>(2)."
622 msgstr ""
623
624 #. type: SH
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 #, no-wrap
628 msgid "STANDARDS"
629 msgstr "СТАНДАРТЫ"
630
631 #. type: Plain text
632 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
633 #: opensuse-tumbleweed
634 msgid "POSIX.1-2024."
635 msgstr "POSIX.1-2024."
636
637 #. type: SH
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 #, no-wrap
641 msgid "HISTORY"
642 msgstr "ИСТОРИЯ"
643
644 #. type: Plain text
645 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
646 #: opensuse-tumbleweed
647 #, fuzzy
648 #| msgid "4.4BSD, SVr4, POSIX.1-2001."
649 msgid "4.3BSD, SVr4, POSIX.1-1988."
650 msgstr "4.4BSD, SVr4, POSIX.1-2001."
651
652 #. type: SH
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "NOTES"
657 msgstr "ПРИМЕЧАНИЯ"
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 msgid ""
663 "Under Linux, B<fork>() is implemented using copy-on-write pages, so the "
664 "only penalty that it incurs is the time and memory required to duplicate the "
665 "parent's page tables, and to create a unique task structure for the child."
666 msgstr ""
667 "В Linux, B<fork>() реализован с помощью «копирования страниц при записи» "
668 "(copy-on-write, COW), поэтому расходы на вызов состоят из времени и памяти, "
669 "требуемой на копирование страничных таблиц родителя и создания уникальной "
670 "структуры, описывающей задачу."
671
672 #. type: SH
673 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
674 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
675 #, no-wrap
676 msgid "EXAMPLES"
677 msgstr "ПРИМЕРЫ"
678
679 #. type: Plain text
680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 msgid "See B<pipe>(2) and B<wait>(2) for more examples."
683 msgstr "См. B<pipe>(2) и B<wait>(2) для дополнительных примеров."
684
685 #. type: Plain text
686 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
687 #: opensuse-leap-16-1 opensuse-tumbleweed
688 #, fuzzy, no-wrap
689 #| msgid ""
690 #| "#include E<lt>signal.hE<gt>\n"
691 #| "#include E<lt>stdint.hE<gt>\n"
692 #| "#include E<lt>stdio.hE<gt>\n"
693 #| "#include E<lt>stdlib.hE<gt>\n"
694 #| "#include E<lt>sys/types.hE<gt>\n"
695 #| "#include E<lt>unistd.hE<gt>\n"
696 #| "\\&\n"
697 #| "int\n"
698 #| "main(void)\n"
699 #| "{\n"
700 #| " pid_t pid;\n"
701 #| "\\&\n"
702 #| " if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {\n"
703 #| " perror(\"signal\");\n"
704 #| " exit(EXIT_FAILURE);\n"
705 #| " }\n"
706 #| " pid = fork();\n"
707 #| " switch (pid) {\n"
708 #| " case -1:\n"
709 #| " perror(\"fork\");\n"
710 #| " exit(EXIT_FAILURE);\n"
711 #| " case 0:\n"
712 #| " puts(\"Child exiting.\");\n"
713 #| " exit(EXIT_SUCCESS);\n"
714 #| " default:\n"
715 #| " printf(\"Child is PID %jd\\[rs]n\", (intmax_t) pid);\n"
716 #| " puts(\"Parent exiting.\");\n"
717 #| " exit(EXIT_SUCCESS);\n"
718 #| " }\n"
719 #| "}\n"
720 msgid ""
721 "#include E<lt>signal.hE<gt>\n"
722 "#include E<lt>stdint.hE<gt>\n"
723 "#include E<lt>stdio.hE<gt>\n"
724 "#include E<lt>stdlib.hE<gt>\n"
725 "#include E<lt>sys/types.hE<gt>\n"
726 "#include E<lt>unistd.hE<gt>\n"
727 "\\&\n"
728 "int\n"
729 "main(void)\n"
730 "{\n"
731 " pid_t pid;\n"
732 "\\&\n"
733 " if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {\n"
734 " perror(\"signal\");\n"
735 " exit(EXIT_FAILURE);\n"
736 " }\n"
737 " pid = fork();\n"
738 " switch (pid) {\n"
739 " case -1:\n"
740 " perror(\"fork\");\n"
741 " exit(EXIT_FAILURE);\n"
742 " case 0:\n"
743 " puts(\"Child exiting.\");\n"
744 " fflush(stdout);\n"
745 " _exit(EXIT_SUCCESS);\n"
746 " default:\n"
747 " printf(\"Child is PID %jd\\[rs]n\", (intmax_t) pid);\n"
748 " puts(\"Parent exiting.\");\n"
749 " exit(EXIT_SUCCESS);\n"
750 " }\n"
751 "}\n"
752 msgstr ""
753 "#include E<lt>signal.hE<gt>\n"
754 "#include E<lt>stdint.hE<gt>\n"
755 "#include E<lt>stdio.hE<gt>\n"
756 "#include E<lt>stdlib.hE<gt>\n"
757 "#include E<lt>sys/types.hE<gt>\n"
758 "#include E<lt>unistd.hE<gt>\n"
759 "\\&\n"
760 "int\n"
761 "main(void)\n"
762 "{\n"
763 " pid_t pid;\n"
764 "\\&\n"
765 " if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {\n"
766 " perror(\"signal\");\n"
767 " exit(EXIT_FAILURE);\n"
768 " }\n"
769 " pid = fork();\n"
770 " switch (pid) {\n"
771 " case -1:\n"
772 " perror(\"fork\");\n"
773 " exit(EXIT_FAILURE);\n"
774 " case 0:\n"
775 " puts(\"Child exiting.\");\n"
776 " exit(EXIT_SUCCESS);\n"
777 " default:\n"
778 " printf(\"Child is PID %jd\\[rs]n\", (intmax_t) pid);\n"
779 " puts(\"Parent exiting.\");\n"
780 " exit(EXIT_SUCCESS);\n"
781 " }\n"
782 "}\n"
783
784 #. SRC END
785 #. type: SH
786 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
787 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
788 #, no-wrap
789 msgid "SEE ALSO"
790 msgstr "СМОТРИТЕ ТАКЖЕ"
791
792 #. type: Plain text
793 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
794 #: opensuse-tumbleweed
795 #, fuzzy
796 #| msgid ""
797 #| "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
798 #| "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
799 #| "B<capabilities>(7), B<credentials>(7)"
800 msgid ""
801 "B<clone>(2), B<execve>(2), B<exit>(2), B<_exit>(2), B<setrlimit>(2), "
802 "B<unshare>(2), B<vfork>(2), B<wait>(2), B<daemon>(3), B<_Fork>(3), "
803 "B<pthread_atfork>(3), B<capabilities>(7), B<credentials>(7)"
804 msgstr ""
805 "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
806 "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
807 "B<capabilities>(7), B<credentials>(7)"
808
809 #. type: TH
810 #: debian-trixie
811 #, no-wrap
812 msgid "2024-06-15"
813 msgstr "15 июня 2024 г."
814
815 #. type: TH
816 #: debian-trixie
817 #, no-wrap
818 msgid "Linux man-pages 6.9.1"
819 msgstr "Страницы руководства Linux 6.9.1"
820
821 #. type: Plain text
822 #: debian-trixie
823 msgid "Standard C library (I<libc>, I<-lc>)"
824 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
825
826 #. type: Plain text
827 #: debian-trixie fedora-44 fedora-rawhide
828 msgid "POSIX.1-2008."
829 msgstr "POSIX.1-2008."
830
831 #. type: Plain text
832 #: debian-trixie fedora-44 fedora-rawhide
833 msgid "POSIX.1-2001, SVr4, 4.3BSD."
834 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
835
836 #. type: Plain text
837 #: debian-trixie
838 #, no-wrap
839 msgid ""
840 "#include E<lt>signal.hE<gt>\n"
841 "#include E<lt>stdint.hE<gt>\n"
842 "#include E<lt>stdio.hE<gt>\n"
843 "#include E<lt>stdlib.hE<gt>\n"
844 "#include E<lt>sys/types.hE<gt>\n"
845 "#include E<lt>unistd.hE<gt>\n"
846 "\\&\n"
847 "int\n"
848 "main(void)\n"
849 "{\n"
850 " pid_t pid;\n"
851 "\\&\n"
852 " if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {\n"
853 " perror(\"signal\");\n"
854 " exit(EXIT_FAILURE);\n"
855 " }\n"
856 " pid = fork();\n"
857 " switch (pid) {\n"
858 " case -1:\n"
859 " perror(\"fork\");\n"
860 " exit(EXIT_FAILURE);\n"
861 " case 0:\n"
862 " puts(\"Child exiting.\");\n"
863 " exit(EXIT_SUCCESS);\n"
864 " default:\n"
865 " printf(\"Child is PID %jd\\[rs]n\", (intmax_t) pid);\n"
866 " puts(\"Parent exiting.\");\n"
867 " exit(EXIT_SUCCESS);\n"
868 " }\n"
869 "}\n"
870 msgstr ""
871 "#include E<lt>signal.hE<gt>\n"
872 "#include E<lt>stdint.hE<gt>\n"
873 "#include E<lt>stdio.hE<gt>\n"
874 "#include E<lt>stdlib.hE<gt>\n"
875 "#include E<lt>sys/types.hE<gt>\n"
876 "#include E<lt>unistd.hE<gt>\n"
877 "\\&\n"
878 "int\n"
879 "main(void)\n"
880 "{\n"
881 " pid_t pid;\n"
882 "\\&\n"
883 " if (signal(SIGCHLD, SIG_IGN) == SIG_ERR) {\n"
884 " perror(\"signal\");\n"
885 " exit(EXIT_FAILURE);\n"
886 " }\n"
887 " pid = fork();\n"
888 " switch (pid) {\n"
889 " case -1:\n"
890 " perror(\"fork\");\n"
891 " exit(EXIT_FAILURE);\n"
892 " case 0:\n"
893 " puts(\"Child exiting.\");\n"
894 " exit(EXIT_SUCCESS);\n"
895 " default:\n"
896 " printf(\"Child is PID %jd\\[rs]n\", (intmax_t) pid);\n"
897 " puts(\"Parent exiting.\");\n"
898 " exit(EXIT_SUCCESS);\n"
899 " }\n"
900 "}\n"
901
902 #. type: Plain text
903 #: debian-trixie
904 msgid ""
905 "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
906 "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
907 "B<capabilities>(7), B<credentials>(7)"
908 msgstr ""
909 "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
910 "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
911 "B<capabilities>(7), B<credentials>(7)"
912
913 #. type: TH
914 #: fedora-44 fedora-rawhide
915 #, no-wrap
916 msgid "2025-01-14"
917 msgstr "14 января 2025 г."
918
919 #. type: TH
920 #: fedora-44 fedora-rawhide
921 #, no-wrap
922 msgid "Linux man-pages 6.13"
923 msgstr "Страницы руководства Linux 6.13"
924
925 #. type: Plain text
926 #: fedora-44 fedora-rawhide
927 #, fuzzy
928 #| msgid ""
929 #| "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
930 #| "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
931 #| "B<capabilities>(7), B<credentials>(7)"
932 msgid ""
933 "B<clone>(2), B<execve>(2), B<exit>(2), B<_exit>(2), B<setrlimit>(2), "
934 "B<unshare>(2), B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
935 "B<capabilities>(7), B<credentials>(7)"
936 msgstr ""
937 "B<clone>(2), B<execve>(2), B<exit>(2), B<setrlimit>(2), B<unshare>(2), "
938 "B<vfork>(2), B<wait>(2), B<daemon>(3), B<pthread_atfork>(3), "
939 "B<capabilities>(7), B<credentials>(7)"
940
941 #. type: TH
942 #: mageia-cauldron
943 #, no-wrap
944 msgid "Linux man-pages 6.17"
945 msgstr "Страницы руководства Linux 6.17"
946
947 #. type: TH
948 #: opensuse-leap-16-1 opensuse-tumbleweed
949 #, no-wrap
950 msgid "Linux man-pages (unreleased)"
951 msgstr "Страницы руководства Linux (не выпущены)"