Debian Codegraph @

po/ru/man3/openpty.3.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]>, 2016.
5 # Konstantin Shvaykovskiy <[email protected]>, 2012.
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:33+0200\n"
12 "PO-Revision-Date: 2024-12-21 19:50+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 "openpty"
29 msgstr ""
30
31 #. type: TH
32 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
33 #: opensuse-tumbleweed
34 #, no-wrap
35 msgid "2025-05-17"
36 msgstr "17 мая 2025 г."
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 "openpty, login_tty, forkpty - terminal utility functions"
56 msgstr "openpty, login_tty, forkpty - функции для работы с терминалом"
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 #, fuzzy
69 #| msgid "Real-time library (I<librt>, I<-lrt>)"
70 msgid "System utilities library (I<libutil>,\\ I<-lutil>)"
71 msgstr "Библиотека реального времени (I<librt>, I<-lrt>)"
72
73 #. type: SH
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid "SYNOPSIS"
78 msgstr "СИНТАКСИС"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<#include E<lt>pty.hE<gt>>\n"
85 msgstr "B<#include E<lt>pty.hE<gt>>\n"
86
87 #. type: Plain text
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, fuzzy, no-wrap
91 #| msgid ""
92 #| "B<int openpty(int *>I<amaster>B<, int *>I<aslave>B<, char *>I<name>B<,>\n"
93 #| "B< const struct termios *>I<termp>B<,>\n"
94 #| "B< const struct winsize *>I<winp>B<);>\n"
95 msgid ""
96 "B<int openpty(int *>I<amaster>B<, int *>I<aslave>B<, char *>I<name>B<,>\n"
97 "B< const struct termios *>I<termp>B<,>\n"
98 "B< const struct winsize *>I<winp>B<);>\n"
99 "B<pid_t forkpty(int *>I<amaster>B<, char *>I<name>B<,>\n"
100 "B< const struct termios *>I<termp>B<,>\n"
101 "B< const struct winsize *>I<winp>B<);>\n"
102 msgstr ""
103 "B<int openpty(int *>I<amaster>B<, int *>I<aslave>B<, char *>I<name>B<,>\n"
104 "B< const struct termios *>I<termp>B<,>\n"
105 "B< const struct winsize *>I<winp>B<);>\n"
106
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 #, no-wrap
111 msgid "B<#include E<lt>utmp.hE<gt>>\n"
112 msgstr "B<#include E<lt>utmp.hE<gt>>\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 #, no-wrap
118 msgid "B<int login_tty(int >I<fd>B<);>\n"
119 msgstr "B<int login_tty(int >I<fd>B<);>\n"
120
121 #. type: SH
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid "DESCRIPTION"
126 msgstr "ОПИСАНИЕ"
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 ""
132 "The B<openpty>() function finds an available pseudoterminal and returns "
133 "file descriptors for the master and slave in I<amaster> and I<aslave>. If "
134 "I<name> is not NULL, the filename of the slave is returned in I<name>. If "
135 "I<termp> is not NULL, the terminal parameters of the slave will be set to "
136 "the values in I<termp>. If I<winp> is not NULL, the window size of the "
137 "slave will be set to the values in I<winp>."
138 msgstr ""
139 "Функция B<openpty>() ищет доступный псевдотерминал и возвращает файловые "
140 "дескрипторы для его основного и подчинённого устройств в I<amaster> и "
141 "I<aslave>. Если I<name> не равно NULL, то имя файла подчинённого устройства "
142 "возвращается в I<name>. Если I<termp> не равно NULL, то параметры терминала "
143 "подчинённого устройства будут установлены в значения, указанные в I<termp>. "
144 "Если I<winp> не равно NULL, то размер окна подчинённого устройства будет "
145 "установлен согласно значениям, указанным в I<winp>."
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 #, fuzzy
151 #| msgid ""
152 #| "The B<login_tty>() function prepares for a login on the terminal I<fd> "
153 #| "(which may be a real terminal device, or the slave of a pseudoterminal as "
154 #| "returned by B<openpty>()) by creating a new session, making I<fd> the "
155 #| "controlling terminal for the calling process, setting I<fd> to be the "
156 #| "standard input, output, and error streams of the current process, and "
157 #| "closing I<fd>."
158 msgid ""
159 "The B<login_tty>() function prepares for a login on the terminal referred "
160 "to by the file descriptor I<fd> (which may be a real terminal device, or the "
161 "slave of a pseudoterminal as returned by B<openpty>()) by creating a new "
162 "session, making I<fd> the controlling terminal for the calling process, "
163 "setting I<fd> to be the standard input, output, and error streams of the "
164 "current process, and closing I<fd>."
165 msgstr ""
166 "Функция B<login_tty>() подготавливает терминал I<fd> (который может быть "
167 "реальным устройством терминала или подчинённым псевдотерминала, возвращаемым "
168 "B<openpty>()) таким образом, чтобы через него можно было войти в систему; "
169 "для этого создаётся новый сеанс, I<fd> делается управляющим терминалом для "
170 "вызывающего процесса (при этом I<fd> служит в качестве стандартных ввода, "
171 "вывода и потока ошибок текущего процесса) и закрывает I<fd>."
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 #, fuzzy
177 #| msgid ""
178 #| "The B<forkpty>() function combines B<openpty>(), B<fork>(2), and "
179 #| "B<login_tty>() to create a new process operating in a pseudoterminal. "
180 #| "The file descriptor of the master side of the pseudoterminal is returned "
181 #| "in I<amaster>. If I<name> is not NULL, the buffer it points to is used "
182 #| "to return the filename of the slave. The I<termp> and I<winp> arguments, "
183 #| "if not NULL, will determine the terminal attributes and window size of "
184 #| "the slave side of the pseudoterminal."
185 msgid ""
186 "The B<forkpty>() function combines B<openpty>(), B<fork>(2), and "
187 "B<login_tty>() to create a new process operating in a pseudoterminal. A "
188 "file descriptor referring to master side of the pseudoterminal is returned "
189 "in I<amaster>. If I<name> is not NULL, the buffer it points to is used to "
190 "return the filename of the slave. The I<termp> and I<winp> arguments, if "
191 "not NULL, will determine the terminal attributes and window size of the "
192 "slave side of the pseudoterminal."
193 msgstr ""
194 "Функция B<forkpty>() объединяет B<openpty>(), B<fork>(2) и B<login_tty>() "
195 "для создания нового процесса, работающего в псевдотерминале. Файловый "
196 "дескриптор основной стороны псевдотерминала возвращается в I<amaster>. Если "
197 "I<name> не равно NULL, то указанный в нём буфер используется для возврата "
198 "имени файла подчинённого устройства. Если аргументы I<termp> и I<winp> не "
199 "равны NULL, то в них задаются атрибуты терминала и размеры окна подчинённой "
200 "стороны псевдотерминала."
201
202 #. type: SH
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "RETURN VALUE"
207 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "If a call to B<openpty>(), B<login_tty>(), or B<forkpty>() is not "
214 "successful, -1 is returned and I<errno> is set to indicate the error. "
215 "Otherwise, B<openpty>(), B<login_tty>(), and the child process of "
216 "B<forkpty>() return 0, and the parent process of B<forkpty>() returns the "
217 "process ID of the child process."
218 msgstr ""
219 "Если вызов B<openpty>(), B<login_tty>() или B<forkpty>() завершается с "
220 "ошибкой, то возвращается -1 и I<errno> указывает на тип ошибки. Иначе, "
221 "B<openpty>(), B<login_tty>() и дочерний процесс B<forkpty>() возвращают 0, и "
222 "родительский процесс B<forkpty>() возвращает ID дочернего процесса."
223
224 #. type: SH
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "ERRORS"
229 msgstr "ОШИБКИ"
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid "B<openpty>() fails if:"
235 msgstr "Вызов B<openpty>() завершается ошибкой если:"
236
237 #. type: TP
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "B<ENOENT>"
242 msgstr "B<ENOENT>"
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 "There are no available terminals."
248 msgstr "Нет доступных терминалов."
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "B<login_tty>() fails if B<ioctl>(2) fails to set I<fd> to the controlling "
255 "terminal of the calling process."
256 msgstr ""
257 "Завершается ошибкой функция B<login_tty>(), если B<ioctl>(2) не может "
258 "назначить I<fd> управляющему терминалу вызываемого процесса."
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid "B<forkpty>() fails if either B<openpty>() or B<fork>(2) fails."
264 msgstr ""
265 "Завершается ошибкой функция B<forkpty>(), если не сработает хотя бы одна из "
266 "функций B<openpty>() или B<fork>(2)."
267
268 #. type: SH
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "ATTRIBUTES"
273 msgstr "АТРИБУТЫ"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "For an explanation of the terms used in this section, see B<attributes>(7)."
280 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
281
282 #. type: tbl table
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid "Interface"
287 msgstr "Интерфейс"
288
289 #. type: tbl table
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "Attribute"
294 msgstr "Атрибут"
295
296 #. type: tbl table
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "Value"
301 msgstr "Значение"
302
303 #. type: tbl table
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 #, no-wrap
307 msgid ".na\n"
308 msgstr ".na\n"
309
310 #. type: tbl table
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid ".nh\n"
315 msgstr ".nh\n"
316
317 #. type: tbl table
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 #, no-wrap
321 msgid ""
322 "B<forkpty>(),\n"
323 "B<openpty>()"
324 msgstr ""
325 "B<forkpty>(),\n"
326 "B<openpty>()"
327
328 #. type: tbl table
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "Thread safety"
333 msgstr "Безвредность в нитях"
334
335 #. type: tbl table
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "MT-Safe locale"
340 msgstr "MT-Safe locale"
341
342 #. type: tbl table
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "B<login_tty>()"
347 msgstr "B<login_tty>()"
348
349 #. type: tbl table
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid "MT-Unsafe race:ttyname"
354 msgstr "MT-Unsafe race:ttyname"
355
356 #. type: SH
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "STANDARDS"
361 msgstr "СТАНДАРТЫ"
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid "BSD."
367 msgstr "BSD."
368
369 #. type: SH
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "HISTORY"
374 msgstr "ИСТОРИЯ"
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 "The B<const> modifiers were added to the structure pointer arguments of "
381 "B<openpty>() and B<forkpty>() in glibc 2.8."
382 msgstr ""
383 "Модификаторы B<const> были добавлены в аргументы указателей на структуры "
384 "B<openpty>() и B<forkpty>() в glibc 2.8."
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 #, fuzzy
390 #| msgid ""
391 #| "In versions of glibc before 2.0.92, B<openpty>() returns file "
392 #| "descriptors for a BSD pseudoterminal pair; since glibc 2.0.92, it first "
393 #| "attempts to open a UNIX 98 pseudoterminal pair, and falls back to opening "
394 #| "a BSD pseudoterminal pair if that fails."
395 msgid ""
396 "Before glibc 2.0.92, B<openpty>() returns file descriptors for a BSD "
397 "pseudoterminal pair; since glibc 2.0.92, it first attempts to open a UNIX 98 "
398 "pseudoterminal pair, and falls back to opening a BSD pseudoterminal pair if "
399 "that fails."
400 msgstr ""
401 "В версиях glibc до 2.0.92, B<openpty>() возвращает файловые дескрипторы для "
402 "псевдотерминальной пары BSD; начиная с glibc 2.0.92, сначала производится "
403 "попытка открыть псевдотерминальную пару UNIX 98, а если это не удаётся, то "
404 "происходит возвращение к открытию псевдотерминальной пары BSD."
405
406 #. type: SH
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 #, no-wrap
410 msgid "BUGS"
411 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "Nobody knows how much space should be reserved for I<name>. So, calling "
418 "B<openpty>() or B<forkpty>() with non-NULL I<name> may not be secure."
419 msgstr ""
420 "Невозможно определить сколько места должно быть зарезервировано для I<name>. "
421 "Поэтому, вызов B<openpty>() или B<forkpty>() со значением I<name> не равным "
422 "NULL может быть небезопасен."
423
424 #. type: SH
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid "SEE ALSO"
429 msgstr "СМОТРИТЕ ТАКЖЕ"
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid "B<fork>(2), B<ttyname>(3), B<pty>(7)"
435 msgstr "B<fork>(2), B<ttyname>(3), B<pty>(7)"
436
437 #. type: TH
438 #: debian-trixie
439 #, no-wrap
440 msgid "2024-05-02"
441 msgstr "2 мая 2024 г."
442
443 #. type: TH
444 #: debian-trixie
445 #, no-wrap
446 msgid "Linux man-pages 6.9.1"
447 msgstr "Страницы руководства Linux 6.9.1"
448
449 #. type: Plain text
450 #: debian-trixie
451 msgid "System utilities library (I<libutil>, I<-lutil>)"
452 msgstr ""
453
454 #. type: TH
455 #: fedora-44 fedora-rawhide
456 #, no-wrap
457 msgid "2024-07-23"
458 msgstr "23 июля 2024 г."
459
460 #. type: TH
461 #: fedora-44 fedora-rawhide
462 #, no-wrap
463 msgid "Linux man-pages 6.13"
464 msgstr "Страницы руководства Linux 6.13"
465
466 #. type: TH
467 #: mageia-cauldron
468 #, no-wrap
469 msgid "Linux man-pages 6.17"
470 msgstr "Страницы руководства Linux 6.17"
471
472 #. type: TH
473 #: opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid "Linux man-pages (unreleased)"
476 msgstr "Страницы руководства Linux (не выпущены)"