Debian Codegraph @

po/ru/man2/setpgid.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 "setpgid"
33 msgstr "setpgid"
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 "setpgid, getpgid, setpgrp, getpgrp - set/get process group"
60 msgstr ""
61 "setpgid, getpgid, setpgrp, getpgrp - устанавливает/получает группу процессов"
62
63 #. type: SH
64 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
65 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
66 #, no-wrap
67 msgid "LIBRARY"
68 msgstr "БИБЛИОТЕКА"
69
70 #. type: Plain text
71 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
72 #: opensuse-leap-16-1 opensuse-tumbleweed
73 msgid "Standard C library (I<libc>,\\ I<-lc>)"
74 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
75
76 #. type: SH
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "SYNOPSIS"
81 msgstr "СИНТАКСИС"
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 #, no-wrap
87 msgid "B<#include E<lt>unistd.hE<gt>>\n"
88 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
89
90 #. type: Plain text
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid ""
95 "B<int setpgid(pid_t >I<pid>B<, pid_t >I<pgid>B<);>\n"
96 "B<pid_t getpgid(pid_t >I<pid>B<);>\n"
97 msgstr ""
98 "B<int setpgid(pid_t >I<pid>B<, pid_t >I<pgid>B<);>\n"
99 "B<pid_t getpgid(pid_t >I<pid>B<);>\n"
100
101 #. type: Plain text
102 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
103 #: opensuse-tumbleweed
104 #, no-wrap
105 msgid ""
106 "B<pid_t getpgrp(void);> /* POSIX.1 version */\n"
107 "B<[[deprecated]] pid_t getpgrp(pid_t >I<pid>B<);>\\f[R] /* BSD version */\\fR\n"
108 msgstr ""
109
110 #. type: Plain text
111 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
112 #: opensuse-tumbleweed
113 #, no-wrap
114 msgid ""
115 "B<int setpgrp(void);> /* System V version */\n"
116 "B<[[deprecated]] int setpgrp(pid_t >I<pid>B<, pid_t >I<pgid>B<);>\\f[R] /* BSD version */\\fR\n"
117 msgstr ""
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid ""
123 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
124 msgstr ""
125 "Требования макроса тестирования свойств для glibc (см. "
126 "B<feature_test_macros>(7)):"
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid "B<getpgid>():"
132 msgstr "B<getpgid>():"
133
134 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid ""
140 " _XOPEN_SOURCE E<gt>= 500\n"
141 " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
142 msgstr ""
143 " _XOPEN_SOURCE E<gt>= 500\n"
144 " || /* начиная с glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid "B<setpgrp>() (POSIX.1):"
150 msgstr "B<setpgrp>() (POSIX.1):"
151
152 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 #, no-wrap
157 msgid ""
158 " _XOPEN_SOURCE E<gt>= 500\n"
159 " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n"
160 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE\n"
161 msgstr ""
162 " _XOPEN_SOURCE E<gt>= 500\n"
163 " || /* Начиная с glibc 2.19: */ _DEFAULT_SOURCE\n"
164 " || /* glibc E<lt>= 2.19: */ _SVID_SOURCE\n"
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid "B<setpgrp>() (BSD), B<getpgrp>() (BSD):"
170 msgstr "B<setpgrp>() (BSD), B<getpgrp>() (BSD):"
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid ""
177 " [These are available only before glibc 2.19]\n"
178 " _BSD_SOURCE &&\n"
179 " ! (_POSIX_SOURCE || _POSIX_C_SOURCE || _XOPEN_SOURCE\n"
180 " || _GNU_SOURCE || _SVID_SOURCE)\n"
181 msgstr ""
182 " [Доступно только в версиях glibc до 2.19]\n"
183 " _BSD_SOURCE &&\n"
184 " ! (_POSIX_SOURCE || _POSIX_C_SOURCE || _XOPEN_SOURCE\n"
185 " || _GNU_SOURCE || _SVID_SOURCE)\n"
186
187 #. type: SH
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 #, no-wrap
191 msgid "DESCRIPTION"
192 msgstr "ОПИСАНИЕ"
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "All of these interfaces are available on Linux, and are used for getting and "
199 "setting the process group ID (PGID) of a process. The preferred, POSIX.1-"
200 "specified ways of doing this are: B<getpgrp>(void), for retrieving the "
201 "calling process's PGID; and B<setpgid>(), for setting a process's PGID."
202 msgstr ""
203 "Все перечисленные интерфейсы доступны в Linux и используются для получения и "
204 "установки идентификатора группы процессов (PGID). Предпочтительней "
205 "использовать версию POSIX.1: B<getpgrp>(void) — для получения PGID "
206 "вызывающего процесса; B<setpgid>() — для установки PGID вызывающего процесса."
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 "B<setpgid>() sets the PGID of the process specified by I<pid> to I<pgid>. "
213 "If I<pid> is zero, then the process ID of the calling process is used. If "
214 "I<pgid> is zero, then the PGID of the process specified by I<pid> is made "
215 "the same as its process ID. If B<setpgid>() is used to move a process from "
216 "one process group to another (as is done by some shells when creating "
217 "pipelines), both process groups must be part of the same session (see "
218 "B<setsid>(2) and B<credentials>(7)). In this case, the I<pgid> specifies "
219 "an existing process group to be joined and the session ID of that group must "
220 "match the session ID of the joining process."
221 msgstr ""
222 "Вызов B<setpgid>() устанавливает PGID у процесса с идентификатором I<pid> "
223 "равным I<pgid>. Если значение I<pid> равно 0, то используется идентификатор "
224 "вызывающего процесса. Если значение I<pgid> равно 0, то PGID процесса, "
225 "указанного в I<pid>, становится равным его идентификатору процесса. Если "
226 "B<setpgid>() используется для перевода процесса из одной группы в другую "
227 "(это делают некоторые оболочки командной строки для объединения каналов "
228 "процессов), то обе группы процессов должны быть частью одного сеанса (см. "
229 "B<setsid>(2) и B<credentials>(7)). В этом случае в I<pgid> указывается "
230 "существующая группа процессов, в которую нужно выполнить перевод и "
231 "идентификатор сеанса этой группы должен совпадать с идентификатором сеанса "
232 "переводимого процесса."
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "The POSIX.1 version of B<getpgrp>(), which takes no arguments, returns the "
239 "PGID of the calling process."
240 msgstr ""
241 "В версии POSIX.1 вызов B<getpgrp>() без аргументов возвращает PGID "
242 "вызывающего процесса."
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "B<getpgid>() returns the PGID of the process specified by I<pid>. If "
249 "I<pid> is zero, the process ID of the calling process is used. (Retrieving "
250 "the PGID of a process other than the caller is rarely necessary, and the "
251 "POSIX.1 B<getpgrp>() is preferred for that task.)"
252 msgstr ""
253 "Вызов B<getpgid>() возвращает PGID процесса с заданным I<pid>. Если значение "
254 "I<pid> равно нулю, то используется идентификатор вызывающего процесса "
255 "(получение PGID процесса, отличного от вызывающего, требуется редко, а для "
256 "этой задачи хорошо подходит POSIX.1 B<getpgrp>())."
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid ""
262 "The System\\ V-style B<setpgrp>(), which takes no arguments, is equivalent "
263 "to I<setpgid(0,\\ 0)>."
264 msgstr ""
265 "В версии System\\ V вызов B<setpgrp>() без аргументов эквивалентен "
266 "I<setpgid(0,\\ 0)>."
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid ""
272 "The BSD-specific B<setpgrp>() call, which takes arguments I<pid> and "
273 "I<pgid>, is a wrapper function that calls"
274 msgstr ""
275 "В версии BSD вызов B<setpgrp>() с аргументами I<pid> и I<pgid> является "
276 "обёрточной функцией, которая вызывает"
277
278 #. type: Plain text
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "setpgid(pid, pgid)\n"
283 msgstr "setpgid(pid, pgid)\n"
284
285 #. The true BSD setpgrp() system call differs in allowing the PGID
286 #. to be set to arbitrary values, rather than being restricted to
287 #. PGIDs in the same session.
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid ""
292 "Since glibc 2.19, the BSD-specific B<setpgrp>() function is no longer "
293 "exposed by I<E<lt>unistd.hE<gt>>; calls should be replaced with the "
294 "B<setpgid>() call shown above."
295 msgstr ""
296 "Начиная с glibc 2.19, BSD-функция B<setpgrp>() была удалена из "
297 "I<E<lt>unistd.hE<gt>>; вызовы должны быть заменены на вызов B<setpgid>(), "
298 "как показано выше."
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid ""
304 "The BSD-specific B<getpgrp>() call, which takes a single I<pid> argument, "
305 "is a wrapper function that calls"
306 msgstr ""
307 "В версии BSD вызов B<getpgrp>() с аргументом I<pid> является обёрточной "
308 "функцией, которая вызывает"
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "getpgid(pid)\n"
315 msgstr "getpgid(pid)\n"
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "Since glibc 2.19, the BSD-specific B<getpgrp>() function is no longer "
322 "exposed by I<E<lt>unistd.hE<gt>>; calls should be replaced with calls to the "
323 "POSIX.1 B<getpgrp>() which takes no arguments (if the intent is to obtain "
324 "the caller's PGID), or with the B<getpgid>() call shown above."
325 msgstr ""
326 "Начиная с glibc 2.19, BSD-функция B<getpgrp>() была удалена из "
327 "I<E<lt>unistd.hE<gt>>; вызовы должны быть заменены на вызов POSIX.1 "
328 "B<getpgrp>(), который не имеет аргументов (если нужно получить PGID "
329 "вызывающего), или на вызов B<getpgid>(), как показано выше."
330
331 #. type: SH
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "RETURN VALUE"
336 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, fuzzy
342 #| msgid ""
343 #| "On success, B<setpgid>() and B<setpgrp>() return zero. On error, -1 is "
344 #| "returned, and I<errno> is set appropriately."
345 msgid ""
346 "On success, B<setpgid>() and B<setpgrp>() return zero. On error, -1 is "
347 "returned, and I<errno> is set to indicate the error."
348 msgstr ""
349 "При успешном выполнении B<setpgid>() and B<setpgrp>() возвращают 0. В "
350 "случае ошибки возвращается -1, а I<errno> устанавливается в соответствующее "
351 "значение."
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid "The POSIX.1 B<getpgrp>() always returns the PGID of the caller."
357 msgstr ""
358 "Вызов B<getpgrp>() (POSIX.1) всегда возвращает PGID вызывающего процесса."
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 #, fuzzy
364 #| msgid ""
365 #| "B<getpgid>(), and the BSD-specific B<getpgrp>() return a process group "
366 #| "on success. On error, -1 is returned, and I<errno> is set appropriately."
367 msgid ""
368 "B<getpgid>(), and the BSD-specific B<getpgrp>() return a process group on "
369 "success. On error, -1 is returned, and I<errno> is set to indicate the "
370 "error."
371 msgstr ""
372 "Вызовы B<getpgid>() и B<getpgrp>() (BSD) при успешном выполнении возвращают "
373 "группу процессов. При ошибке возвращается -1, а значение I<errno> "
374 "устанавливается соответствующим образом."
375
376 #. type: SH
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid "ERRORS"
381 msgstr "ОШИБКИ"
382
383 #. type: TP
384 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
385 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
386 #, no-wrap
387 msgid "B<EACCES>"
388 msgstr "B<EACCES>"
389
390 #. type: Plain text
391 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
392 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
393 msgid ""
394 "An attempt was made to change the process group ID of one of the children of "
395 "the calling process and the child had already performed an B<execve>(2) "
396 "(B<setpgid>(), B<setpgrp>())."
397 msgstr ""
398 "Попытка изменить идентификатор группы процессов у одного из потомков "
399 "вызывающего процесса, но потомок уже вызвал B<execve>(2) (B<setpgid>(), "
400 "B<setpgrp>())."
401
402 #. type: TP
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 #, no-wrap
406 msgid "B<EINVAL>"
407 msgstr "B<EINVAL>"
408
409 #. type: Plain text
410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
411 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
412 msgid "I<pgid> is less than 0 (B<setpgid>(), B<setpgrp>())."
413 msgstr "Значение I<pgid> меньше 0 (B<setpgid>(), B<setpgrp>())."
414
415 #. type: TP
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 #, no-wrap
419 msgid "B<EPERM>"
420 msgstr "B<EPERM>"
421
422 #. type: Plain text
423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
424 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
425 msgid ""
426 "An attempt was made to move a process into a process group in a different "
427 "session, or to change the process group ID of one of the children of the "
428 "calling process and the child was in a different session, or to change the "
429 "process group ID of a session leader (B<setpgid>(), B<setpgrp>())."
430 msgstr ""
431 "Попытка переместить процесс в группу процессов из другого сеанса или "
432 "изменить идентификатор группы процессов у одного из потомков вызывающего "
433 "процесса, но потомок находится в другом сеансе или изменить идентификатор "
434 "группы процессов лидера сеанса (B<setpgid>(), B<setpgrp>())."
435
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 msgid "The target process group does not exist. (B<setpgid>(), B<setpgrp>())."
440 msgstr "Целевая группа процессов не существует. (B<setpgid>(), B<setpgrp>())."
441
442 #. type: TP
443 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
444 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
445 #, no-wrap
446 msgid "B<ESRCH>"
447 msgstr "B<ESRCH>"
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 msgid ""
453 "For B<getpgid>(): I<pid> does not match any process. For B<setpgid>(): "
454 "I<pid> is not the calling process and not a child of the calling process."
455 msgstr ""
456 "Для B<getpgid>(): нет процесса с указанным I<pid>. Для B<setpgid>(): "
457 "значение I<pid> не равно идентификатору вызывающего процесса или "
458 "идентификатору потомка вызывающего процесса."
459
460 #. type: SH
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 #, no-wrap
464 msgid "STANDARDS"
465 msgstr "СТАНДАРТЫ"
466
467 #. type: TP
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 #, no-wrap
471 msgid "B<getpgid>()"
472 msgstr "B<getpgid>()"
473
474 #. type: TQ
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 #, no-wrap
478 msgid "B<setpgid>()"
479 msgstr "B<setpgid>()"
480
481 #. type: TQ
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 #, no-wrap
485 msgid "B<getpgrp>() (no args)"
486 msgstr "B<getpgrp>() (без аргументов)"
487
488 #. type: Plain text
489 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
490 #: opensuse-tumbleweed
491 msgid "POSIX.1-2024."
492 msgstr "POSIX.1-2024."
493
494 #. type: TP
495 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
496 #: opensuse-tumbleweed
497 #, fuzzy, no-wrap
498 #| msgid "B<getpgrp>(2)"
499 msgid "B<setpgrp>()"
500 msgstr "B<getpgrp>(2)"
501
502 #. type: TQ
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<getpgrp>() (1 arg)"
507 msgstr "B<getpgrp>() (1 аргумент)"
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 "None."
513 msgstr "Отсутствуют."
514
515 #. type: SH
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "HISTORY"
520 msgstr "ИСТОРИЯ"
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid "POSIX.1-2001."
526 msgstr "POSIX.1-2001."
527
528 #. type: TP
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "B<setpgrp>() (no args)"
533 msgstr "B<setpgrp>() (без аргументов)"
534
535 #. type: Plain text
536 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
537 #: opensuse-tumbleweed
538 #, fuzzy
539 #| msgid "C99, POSIX.1-2001 (XSI). Obsolete in POSIX.1-2008 (XSI)."
540 msgid "POSIX.1-2001. Obsoleted in POSIX.1-2008. Removed in POSIX.1-2024."
541 msgstr "C99, POSIX.1-2001 (XSI). Устарело в POSIX.1-2008 (XSI)."
542
543 #. type: TP
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid "B<setpgrp>() (2 args)"
548 msgstr "B<setpgrp>() (2 аргумента)"
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid "4.2BSD."
554 msgstr "4.2BSD."
555
556 #. type: SH
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 #, no-wrap
560 msgid "NOTES"
561 msgstr "ПРИМЕЧАНИЯ"
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid ""
567 "A child created via B<fork>(2) inherits its parent's process group ID. The "
568 "PGID is preserved across an B<execve>(2)."
569 msgstr ""
570 "Потомок, создаваемый с помощью B<fork>(2), наследует идентификатор группы "
571 "процессов своего родителя. Значение PGID сохраняется при вызове B<execve>(2)."
572
573 #. type: Plain text
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 msgid ""
577 "Each process group is a member of a session and each process is a member of "
578 "the session of which its process group is a member. (See B<credentials>(7).)"
579 msgstr ""
580 "Каждая группа процессов является членом сеанса и каждый процесс является "
581 "членом сеанса, в который входит его группа процессов (смотрите "
582 "B<credentials>(7))."
583
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 "A session can have a controlling terminal. At any time, one (and only one) "
589 "of the process groups in the session can be the foreground process group for "
590 "the terminal; the remaining process groups are in the background. If a "
591 "signal is generated from the terminal (e.g., typing the interrupt key to "
592 "generate B<SIGINT>), that signal is sent to the foreground process group. "
593 "(See B<termios>(3) for a description of the characters that generate "
594 "signals.) Only the foreground process group may B<read>(2) from the "
595 "terminal; if a background process group tries to B<read>(2) from the "
596 "terminal, then the group is sent a B<SIGTTIN> signal, which suspends it. "
597 "The B<tcgetpgrp>(3) and B<tcsetpgrp>(3) functions are used to get/set the "
598 "foreground process group of the controlling terminal."
599 msgstr ""
600 "Сеанс может иметь управляющий терминал. В любой момент одна (и только одна) "
601 "группа процессов в сеансе может являться приоритетной группой процессов "
602 "(foreground process group) терминала; оставшиеся группы процессов "
603 "выполняются в фоновом режиме. Если от терминала приходит сигнал (например, "
604 "нажата клавиша прерывания и сгенерирован B<SIGINT>), то сигнал посылается в "
605 "приоритетную группу процессов (смотрите в B<termios>(3) описание символов, "
606 "для которых генерируются сигналы). Только приоритетная группа процессов "
607 "может выполнять вызов B<read>(2) для терминала; если группа процессов в "
608 "фоновом режиме пытается выполнить B<read>(2) для терминала, то группе "
609 "посылается сигнал B<SIGTTIN>, который приостанавливает её выполнение. "
610 "Функции B<tcgetpgrp>(3) и B<tcsetpgrp>(3) используются для получения/"
611 "установки приоритетной группы процессов у управляющего терминала."
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid ""
617 "The B<setpgid>() and B<getpgrp>() calls are used by programs such as "
618 "B<bash>(1) to create process groups in order to implement shell job control."
619 msgstr ""
620 "Вызовы B<setpgid>() и B<getpgrp>() используются программами, например "
621 "B<bash>(1), для создания группы процессов с целью реализации управления "
622 "заданиями оболочки командной строки."
623
624 #. exit.3 refers to the following text:
625 #. type: Plain text
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 msgid ""
629 "If the termination of a process causes a process group to become orphaned, "
630 "and if any member of the newly orphaned process group is stopped, then a "
631 "B<SIGHUP> signal followed by a B<SIGCONT> signal will be sent to each "
632 "process in the newly orphaned process group. An orphaned process group is "
633 "one in which the parent of every member of process group is either itself "
634 "also a member of the process group or is a member of a process group in a "
635 "different session (see also B<credentials>(7))."
636 msgstr ""
637 "Если завершение процесса лишает группу процессов главы и если любой из такой "
638 "группы процессов остановлен, то каждому процессу в группе посылается сигнал "
639 "B<SIGHUP> с последующим B<SIGCONT>. Осиротевшей считается группа процессов, "
640 "у которой родитель каждого члена группы процессов сам является членом группы "
641 "процессов или членом группы процессов другого сеанса (см. также "
642 "B<credentials>(7))."
643
644 #. type: SH
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 #, no-wrap
648 msgid "SEE ALSO"
649 msgstr "СМОТРИТЕ ТАКЖЕ"
650
651 #. type: Plain text
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 msgid ""
655 "B<getuid>(2), B<setsid>(2), B<tcgetpgrp>(3), B<tcsetpgrp>(3), B<termios>(3), "
656 "B<credentials>(7)"
657 msgstr ""
658 "B<getuid>(2), B<setsid>(2), B<tcgetpgrp>(3), B<tcsetpgrp>(3), B<termios>(3), "
659 "B<credentials>(7)"
660
661 #. type: TH
662 #: debian-trixie
663 #, no-wrap
664 msgid "2024-05-02"
665 msgstr "2 мая 2024 г."
666
667 #. type: TH
668 #: debian-trixie
669 #, no-wrap
670 msgid "Linux man-pages 6.9.1"
671 msgstr "Страницы руководства Linux 6.9.1"
672
673 #. type: Plain text
674 #: debian-trixie
675 msgid "Standard C library (I<libc>, I<-lc>)"
676 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
677
678 #. type: Plain text
679 #: debian-trixie fedora-44 fedora-rawhide
680 #, no-wrap
681 msgid ""
682 "B<pid_t getpgrp(void);> /* POSIX.1 version */\n"
683 "B<[[deprecated]] pid_t getpgrp(pid_t >I<pid>B<);> /* BSD version */\n"
684 msgstr ""
685
686 #. type: Plain text
687 #: debian-trixie fedora-44 fedora-rawhide
688 #, no-wrap
689 msgid ""
690 "B<int setpgrp(void);> /* System V version */\n"
691 "B<[[deprecated]] int setpgrp(pid_t >I<pid>B<, pid_t >I<pgid>B<);> /* BSD version */\n"
692 msgstr ""
693
694 #. type: Plain text
695 #: debian-trixie fedora-44 fedora-rawhide
696 msgid "POSIX.1-2008 (but see HISTORY)."
697 msgstr ""
698
699 #. type: Plain text
700 #: debian-trixie fedora-44 fedora-rawhide
701 msgid "POSIX.1-2001. POSIX.1-2008 marks it as obsolete."
702 msgstr "POSIX.1-2001. POSIX.1-2008 помечает его как устаревший."
703
704 #. type: TH
705 #: fedora-44 fedora-rawhide
706 #, no-wrap
707 msgid "2024-07-23"
708 msgstr "23 июля 2024 г."
709
710 #. type: TH
711 #: fedora-44 fedora-rawhide
712 #, no-wrap
713 msgid "Linux man-pages 6.13"
714 msgstr "Страницы руководства Linux 6.13"
715
716 #. type: TH
717 #: mageia-cauldron
718 #, no-wrap
719 msgid "Linux man-pages 6.17"
720 msgstr "Страницы руководства Linux 6.17"
721
722 #. type: TH
723 #: opensuse-leap-16-1 opensuse-tumbleweed
724 #, no-wrap
725 msgid "Linux man-pages (unreleased)"
726 msgstr "Страницы руководства Linux (не выпущены)"