Debian Codegraph @

po/ru/man2/setsid.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 # Alexander Golubev <[email protected]>, 2018.
5 # Azamat Hackimov <[email protected]>, 2011, 2014-2016.
6 # Hotellook, 2014.
7 # Nikita <[email protected]>, 2014.
8 # Spiros Georgaras <[email protected]>, 2016.
9 # Vladislav <[email protected]>, 2015.
10 # Yuri Kozlov <[email protected]>, 2011-2019.
11 # Иван Павлов <[email protected]>, 2017.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:43+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:49+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "setsid"
33 msgstr "setsid"
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2026-02-08"
40 msgstr "8 февраля 2026 г."
41
42 #. type: TH
43 #: archlinux debian-unstable
44 #, fuzzy, no-wrap
45 #| msgid "Linux man-pages 6.17"
46 msgid "Linux man-pages 6.18"
47 msgstr "Справочные страницы Linux 6.17"
48
49 #. type: SH
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 #, no-wrap
53 msgid "NAME"
54 msgstr "НАИМЕНОВАНИЕ"
55
56 #. type: Plain text
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 msgid "setsid - creates a session and sets the process group ID"
60 msgstr "setsid - создает сеанс и устанавливает идентификатор группы процесса"
61
62 #. type: SH
63 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
64 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
65 #, no-wrap
66 msgid "LIBRARY"
67 msgstr "БИБЛИОТЕКА"
68
69 #. type: Plain text
70 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
71 #: opensuse-leap-16-1 opensuse-tumbleweed
72 msgid "Standard C library (I<libc>,\\ I<-lc>)"
73 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
74
75 #. type: SH
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "SYNOPSIS"
80 msgstr "СИНТАКСИС"
81
82 #. type: Plain text
83 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
84 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<#include E<lt>unistd.hE<gt>>\n"
87 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
88
89 #. type: Plain text
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "B<pid_t setsid(void);>\n"
94 msgstr "B<pid_t setsid(void);>\n"
95
96 #. type: SH
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 #, no-wrap
100 msgid "DESCRIPTION"
101 msgstr "ОПИСАНИЕ"
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 msgid ""
107 "B<setsid>() creates a new session if the calling process is not a process "
108 "group leader. The calling process is the leader of the new session (i.e., "
109 "its session ID is made the same as its process ID). The calling process "
110 "also becomes the process group leader of a new process group in the session "
111 "(i.e., its process group ID is made the same as its process ID)."
112 msgstr ""
113 "Вызов B<setsid>() создаёт новый сеанс, если вызывающий процесс не является "
114 "лидером группы процессов. Вызывающий процесс становится лидером нового "
115 "сеанса (то есть, его ID сеанса становится равным ID самого процесса). "
116 "Вызывающий процесс также становится лидером группы процессов новой группы "
117 "процессов в сеансе (то есть, его ID группы процессов становится равным ID "
118 "самого процесса)."
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "The calling process will be the only process in the new process group and in "
125 "the new session."
126 msgstr ""
127 "Вызывающий процесс будет единственным в новой группе процессов и новом "
128 "сеансе."
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "Initially, the new session has no controlling terminal. For details of how "
135 "a session acquires a controlling terminal, see B<credentials>(7)."
136 msgstr ""
137 "Изначально, новый сеанс не имеет управляющего терминала. О том, как сеанс "
138 "получает управляющий терминал, смотрите в B<credentials>(7)."
139
140 #. type: SH
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 #, no-wrap
144 msgid "RETURN VALUE"
145 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
146
147 #. type: Plain text
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 msgid ""
151 "On success, the (new) session ID of the calling process is returned. On "
152 "error, I<(pid_t)\\ -1> is returned, and I<errno> is set to indicate the "
153 "error."
154 msgstr ""
155 "При успешном выполнении возвращается идентификатор (нового) сеанса "
156 "вызывающего процесса. В случае ошибки возвращается I<(pid_t)\\ -1>, а "
157 "I<errno> устанавливается в соответствующее значение."
158
159 #. type: SH
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid "ERRORS"
164 msgstr "ОШИБКИ"
165
166 #. type: TP
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid "B<EPERM>"
171 msgstr "B<EPERM>"
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "The process group ID of any process equals the PID of the calling process. "
178 "Thus, in particular, B<setsid>() fails if the calling process is already a "
179 "process group leader."
180 msgstr ""
181 "Идентификатор группы процессов любого процесса равен PID вызывающего "
182 "процесса. В этом случае, в частности, B<setsid>() завершается неудачно, если "
183 "вызывающий процесс уже является лидером группы процессов."
184
185 #. type: SH
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, no-wrap
189 msgid "STANDARDS"
190 msgstr "СТАНДАРТЫ"
191
192 #. type: Plain text
193 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
194 #: opensuse-tumbleweed
195 msgid "POSIX.1-2024."
196 msgstr "POSIX.1-2024."
197
198 #. type: SH
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "HISTORY"
203 msgstr "ИСТОРИЯ"
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 msgid "POSIX.1-2001, SVr4."
209 msgstr "POSIX.1-2001, SVr4."
210
211 #. type: SH
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "NOTES"
216 msgstr "ПРИМЕЧАНИЯ"
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 "A child created via B<fork>(2) inherits its parent's session ID. The "
223 "session ID is preserved across an B<execve>(2)."
224 msgstr ""
225 "Потомок, создаваемый с помощью B<fork>(2), наследует ID сеанса своего "
226 "родителя. Идентификатор сеанса сохраняется при вызове B<execve>(2)."
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid ""
232 "A process group leader is a process whose process group ID equals its PID. "
233 "Disallowing a process group leader from calling B<setsid>() prevents the "
234 "possibility that a process group leader places itself in a new session while "
235 "other processes in the process group remain in the original session; such a "
236 "scenario would break the strict two-level hierarchy of sessions and process "
237 "groups. In order to be sure that B<setsid>() will succeed, call "
238 "B<fork>(2) and have the parent B<_exit>(2), while the child (which by "
239 "definition can't be a process group leader) calls B<setsid>()."
240 msgstr ""
241 "Лидер группы процессов — это процесс, идентификатор группы процессов "
242 "которого равен идентификатору самого процесса (PID). Отказ лидера группы "
243 "процессов выполнять B<setsid>() предотвращает возможность того, что сам "
244 "лидер группы процессов переместится в новый сеанс, в то время как другие "
245 "процессы в группе останутся в первоначальном сеансе; это поломало бы жёсткую "
246 "двухуровневую иерархию сценариев и групп процессов. Для того, чтобы "
247 "B<setsid>() выполнился успешно, вызовите B<fork>(2) и в родителе "
248 "B<_exit>(2), а затем в дочернем процессе (который по определению не может "
249 "быть лидером группы процессов) вызовите B<setsid>()."
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 "If a session has a controlling terminal, and the B<CLOCAL> flag for that "
256 "terminal is not set, and a terminal hangup occurs, then the session leader "
257 "is sent a B<SIGHUP> signal."
258 msgstr ""
259 "Если сеанс имеет управляющий терминал, у которого не установлен флаг "
260 "B<CLOCAL> и возникает зависание (hangup) терминала, то лидеру сеанса "
261 "посылается B<SIGHUP>."
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "If a process that is a session leader terminates, then a B<SIGHUP> signal is "
268 "sent to each process in the foreground process group of the controlling "
269 "terminal."
270 msgstr ""
271 "Если завершается процесс, который является лидером сеанса, то сигнал "
272 "B<SIGHUP> посылается каждому процессу в приоритетной (foreground) группе "
273 "процессов управляющего терминала."
274
275 #. type: SH
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "SEE ALSO"
280 msgstr "СМОТРИТЕ ТАКЖЕ"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid ""
286 "B<setsid>(1), B<getsid>(2), B<setpgid>(2), B<setpgrp>(2), B<tcgetsid>(3), "
287 "B<credentials>(7), B<sched>(7)"
288 msgstr ""
289 "B<setsid>(1), B<getsid>(2), B<setpgid>(2), B<setpgrp>(2), B<tcgetsid>(3), "
290 "B<credentials>(7), B<sched>(7)"
291
292 #. type: TH
293 #: debian-trixie
294 #, no-wrap
295 msgid "2024-05-02"
296 msgstr "2 мая 2024 г."
297
298 #. type: TH
299 #: debian-trixie
300 #, no-wrap
301 msgid "Linux man-pages 6.9.1"
302 msgstr "Страницы руководства Linux 6.9.1"
303
304 #. type: Plain text
305 #: debian-trixie
306 msgid "Standard C library (I<libc>, I<-lc>)"
307 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
308
309 #. type: Plain text
310 #: debian-trixie fedora-44 fedora-rawhide
311 msgid "POSIX.1-2008."
312 msgstr "POSIX.1-2008."
313
314 #. type: TH
315 #: fedora-44 fedora-rawhide
316 #, no-wrap
317 msgid "2024-07-23"
318 msgstr "23 июля 2024 г."
319
320 #. type: TH
321 #: fedora-44 fedora-rawhide
322 #, no-wrap
323 msgid "Linux man-pages 6.13"
324 msgstr "Страницы руководства Linux 6.13"
325
326 #. type: TH
327 #: mageia-cauldron
328 #, no-wrap
329 msgid "Linux man-pages 6.17"
330 msgstr "Страницы руководства Linux 6.17"
331
332 #. type: TH
333 #: opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "Linux man-pages (unreleased)"
336 msgstr "Страницы руководства Linux (не выпущены)"