Debian Codegraph @

po/ru/man3/ttyname.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]>, 2014, 2016-2017.
5 # Dmitry Bolkhovskikh <[email protected]>, 2017.
6 # Yuri Kozlov <[email protected]>, 2011-2019.
7 # Иван Павлов <[email protected]>, 2017, 2019.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n\n"
11 "POT-Creation-Date: 2026-06-05 06:49+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 #, fuzzy, no-wrap
28 #| msgid "B<ttyname>()"
29 msgid "ttyname"
30 msgstr "B<ttyname>()"
31
32 #. type: TH
33 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
34 #: opensuse-tumbleweed
35 #, no-wrap
36 msgid "2026-02-08"
37 msgstr "8 февраля 2026 г."
38
39 #. type: TH
40 #: archlinux debian-unstable
41 #, fuzzy, no-wrap
42 #| msgid "Linux man-pages 6.17"
43 msgid "Linux man-pages 6.18"
44 msgstr "Справочные страницы Linux 6.17"
45
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 #, no-wrap
50 msgid "NAME"
51 msgstr "НАИМЕНОВАНИЕ"
52
53 #. type: Plain text
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 msgid "ttyname, ttyname_r - return name of a terminal"
57 msgstr "ttyname, ttyname_r - возвращает имя терминала"
58
59 #. type: SH
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "LIBRARY"
64 msgstr "БИБЛИОТЕКА"
65
66 #. type: Plain text
67 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
68 #: opensuse-leap-16-1 opensuse-tumbleweed
69 msgid "Standard C library (I<libc>,\\ I<-lc>)"
70 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
71
72 #. type: SH
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "SYNOPSIS"
77 msgstr "СИНТАКСИС"
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<#include E<lt>unistd.hE<gt>>\n"
84 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
85
86 #. type: Plain text
87 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
88 #: opensuse-tumbleweed
89 #, fuzzy, no-wrap
90 #| msgid "B<int ttyname_r(int >I<fd>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
91 msgid ""
92 "B<char *ttyname(int >I<fd>B<);>\n"
93 "B<int ttyname_r(>size_t size;\n"
94 "B< int >I<fd>B<, char >I<buf>B<[>I<size>B<], size_t >I<size>B<);>\n"
95 msgstr "B<int ttyname_r(int >I<fd>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
96
97 #. type: SH
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "DESCRIPTION"
102 msgstr "ОПИСАНИЕ"
103
104 #. type: Plain text
105 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
106 #: opensuse-leap-16-1 opensuse-tumbleweed
107 #, fuzzy
108 #| msgid ""
109 #| "The function B<ttyname>() returns a pointer to the null-terminated "
110 #| "pathname of the terminal device that is open on the file descriptor "
111 #| "I<fd>, or NULL on error (for example, if I<fd> is not connected to a "
112 #| "terminal). The return value may point to static data, possibly "
113 #| "overwritten by the next call. The function B<ttyname_r>() stores this "
114 #| "pathname in the buffer I<buf> of length I<buflen>."
115 msgid ""
116 "The function B<ttyname>() returns a pointer to the null-terminated pathname "
117 "of the terminal device that is open on the file descriptor I<fd>, or NULL on "
118 "error (for example, if I<fd> is not connected to a terminal). The return "
119 "value may point to static data, possibly overwritten by the next call. The "
120 "function B<ttyname_r>() stores this pathname in the buffer I<buf> of size "
121 "I<size>."
122 msgstr ""
123 "Функция B<ttyname>() возвращает указатель на завершаемый нулевым символом "
124 "путь устройства терминала, на котором был открыт файловый дескриптор I<fd>, "
125 "или NULL в случае ошибки (например, если I<fd> не подключен к терминалу). "
126 "Возвращаемое значение может указывать на статические данные, которые могут "
127 "быть перезаписаны при следующем вызове. Функция B<ttyname_r>() сохраняет имя "
128 "пути в буфере I<buf> длиной I<buflen>."
129
130 #. type: SH
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 #, no-wrap
134 msgid "RETURN VALUE"
135 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
136
137 #. type: Plain text
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 #, fuzzy
141 #| msgid ""
142 #| "The function B<ttyname>() returns a pointer to a pathname on success. "
143 #| "On error, NULL is returned, and I<errno> is set appropriately. The "
144 #| "function B<ttyname_r>() returns 0 on success, and an error number upon "
145 #| "error."
146 msgid ""
147 "The function B<ttyname>() returns a pointer to a pathname on success. On "
148 "error, NULL is returned, and I<errno> is set to indicate the error. The "
149 "function B<ttyname_r>() returns 0 on success, and an error number upon "
150 "error."
151 msgstr ""
152 "При успешном выполнении функция B<ttyname>() возвращает указатель на имя "
153 "пути. В случае ошибки возвращается NULL, в I<errno> устанавливается код "
154 "ошибки. При успешном выполнении функция B<ttyname_r>() возвращает 0, а в "
155 "случае ошибки — номер ошибки."
156
157 #. type: SH
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid "ERRORS"
162 msgstr "ОШИБКИ"
163
164 #. type: TP
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 #, no-wrap
168 msgid "B<EBADF>"
169 msgstr "B<EBADF>"
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 "Bad file descriptor."
175 msgstr "Неправильный дескриптор файла."
176
177 #. glibc commit 15e9a4f378c8607c2ae1aa465436af4321db0e23
178 #. type: TP
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 #, no-wrap
182 msgid "B<ENODEV>"
183 msgstr "B<ENODEV>"
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 #, fuzzy
189 #| msgid ""
190 #| "File descriptor refers to a slave pseudoterminal device but the "
191 #| "corresponding pathname could not be found (see NOTES)."
192 msgid ""
193 "I<fd> refers to a slave pseudoterminal device but the corresponding pathname "
194 "could not be found (see NOTES)."
195 msgstr ""
196 "Файловые дескрипторы ссылаются на устройство подчинённого псевдотерминала, "
197 "но соответствующий путь невозможно найти (смотрите ЗАМЕЧАНИЯ)."
198
199 #. type: TP
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "B<ENOTTY>"
204 msgstr "B<ENOTTY>"
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, fuzzy
210 #| msgid "File descriptor does not refer to a terminal device."
211 msgid "I<fd> does not refer to a terminal device."
212 msgstr "Файловый дескриптор указывает не на устройство терминала."
213
214 #. type: TP
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "B<ERANGE>"
219 msgstr "B<ERANGE>"
220
221 #. type: Plain text
222 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
223 #: opensuse-leap-16-1 opensuse-tumbleweed
224 #, fuzzy
225 #| msgid ""
226 #| "(B<ttyname_r>()) I<buflen> was too small to allow storing the pathname."
227 msgid "(B<ttyname_r>()) I<size> was too small to allow storing the pathname."
228 msgstr "(B<ttyname_r>()) Значение I<buflen> мало для хранения имени пути."
229
230 #. type: SH
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "ATTRIBUTES"
235 msgstr "АТРИБУТЫ"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "For an explanation of the terms used in this section, see B<attributes>(7)."
242 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
243
244 #. type: tbl table
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "Interface"
249 msgstr "Интерфейс"
250
251 #. type: tbl table
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "Attribute"
256 msgstr "Атрибут"
257
258 #. type: tbl table
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid "Value"
263 msgstr "Значение"
264
265 #. type: tbl table
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid ".na\n"
270 msgstr ".na\n"
271
272 #. type: tbl table
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid ".nh\n"
277 msgstr ".nh\n"
278
279 #. type: tbl table
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 #, no-wrap
283 msgid "B<ttyname>()"
284 msgstr "B<ttyname>()"
285
286 #. type: tbl table
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "Thread safety"
291 msgstr "Безвредность в нитях"
292
293 #. type: tbl table
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "MT-Unsafe race:ttyname"
298 msgstr "MT-Unsafe race:ttyname"
299
300 #. type: tbl table
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "B<ttyname_r>()"
305 msgstr "B<ttyname_r>()"
306
307 #. type: tbl table
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "MT-Safe"
312 msgstr "MT-Safe"
313
314 #. type: SH
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "STANDARDS"
319 msgstr "СТАНДАРТЫ"
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid "POSIX.1-2008."
325 msgstr "POSIX.1-2008."
326
327 #. type: SH
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "HISTORY"
332 msgstr "ИСТОРИЯ"
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid "POSIX.1-2001, 4.2BSD."
338 msgstr "POSIX.1-2001, 4.2BSD."
339
340 #. type: SH
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "NOTES"
345 msgstr "ПРИМЕЧАНИЯ"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "A process that keeps a file descriptor that refers to a B<pts>(4) device "
352 "open when switching to another mount namespace that uses a different I</dev/"
353 "ptmx> instance may still accidentally find that a device path of the same "
354 "name for that file descriptor exists. However, this device path refers to a "
355 "different device and thus can't be used to access the device that the file "
356 "descriptor refers to. Calling B<ttyname>() or B<ttyname_r>() on the file "
357 "descriptor in the new mount namespace will cause these functions to return "
358 "NULL and set I<errno> to B<ENODEV>."
359 msgstr ""
360 "Процесс, сохранивший файловый дескриптор, указывающий на устройство "
361 "B<pts>(4), открытым при переключении в другое пространство имён "
362 "монтирования, в котором используется другой экземпляр I</dev/ptmx>, может "
363 "неожиданно обнаружить, что существует путь устройства с тем же именем как у "
364 "этого файлового дескриптора. Однако данный путь указывает на другое "
365 "устройство и поэтому не может использоваться для доступа к устройству, на "
366 "который указывает файловый дескриптор. Вызов B<ttyname>() или B<ttyname_r>() "
367 "с файловым дескриптором в новом пространстве имён монтирования приведёт к "
368 "тому, что эти функции вернут NULL и присвоят I<errno> значение B<ENODEV>."
369
370 #. type: SH
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "SEE ALSO"
375 msgstr "СМОТРИТЕ ТАКЖЕ"
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid "B<tty>(1), B<fstat>(2), B<ctermid>(3), B<isatty>(3), B<pts>(4)"
381 msgstr "B<tty>(1), B<fstat>(2), B<ctermid>(3), B<isatty>(3), B<pts>(4)"
382
383 #. type: TH
384 #: debian-trixie
385 #, no-wrap
386 msgid "2024-05-02"
387 msgstr "2 мая 2024 г."
388
389 #. type: TH
390 #: debian-trixie
391 #, no-wrap
392 msgid "Linux man-pages 6.9.1"
393 msgstr "Страницы руководства Linux 6.9.1"
394
395 #. type: Plain text
396 #: debian-trixie
397 msgid "Standard C library (I<libc>, I<-lc>)"
398 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
399
400 #. type: Plain text
401 #: debian-trixie
402 #, fuzzy, no-wrap
403 #| msgid "B<int ttyname_r(int >I<fd>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
404 msgid ""
405 "B<char *ttyname(int >I<fd>B<);>\n"
406 "B<int ttyname_r(int >I<fd>B<, char >I<buf>B<[.>I<buflen>B<], size_t >I<buflen>B<);>\n"
407 msgstr "B<int ttyname_r(int >I<fd>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
408
409 #. type: Plain text
410 #: debian-trixie
411 msgid ""
412 "The function B<ttyname>() returns a pointer to the null-terminated pathname "
413 "of the terminal device that is open on the file descriptor I<fd>, or NULL on "
414 "error (for example, if I<fd> is not connected to a terminal). The return "
415 "value may point to static data, possibly overwritten by the next call. The "
416 "function B<ttyname_r>() stores this pathname in the buffer I<buf> of length "
417 "I<buflen>."
418 msgstr ""
419 "Функция B<ttyname>() возвращает указатель на завершаемый нулевым символом "
420 "путь устройства терминала, на котором был открыт файловый дескриптор I<fd>, "
421 "или NULL в случае ошибки (например, если I<fd> не подключен к терминалу). "
422 "Возвращаемое значение может указывать на статические данные, которые могут "
423 "быть перезаписаны при следующем вызове. Функция B<ttyname_r>() сохраняет имя "
424 "пути в буфере I<buf> длиной I<buflen>."
425
426 #. type: Plain text
427 #: debian-trixie
428 msgid ""
429 "(B<ttyname_r>()) I<buflen> was too small to allow storing the pathname."
430 msgstr "(B<ttyname_r>()) Значение I<buflen> мало для хранения имени пути."
431
432 #. type: TH
433 #: fedora-44 fedora-rawhide
434 #, no-wrap
435 msgid "2024-12-24"
436 msgstr "24 декабря 2024 г."
437
438 #. type: TH
439 #: fedora-44 fedora-rawhide
440 #, no-wrap
441 msgid "Linux man-pages 6.13"
442 msgstr "Страницы руководства Linux 6.13"
443
444 #. type: Plain text
445 #: fedora-44 fedora-rawhide
446 #, fuzzy, no-wrap
447 #| msgid "B<int ttyname_r(int >I<fd>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
448 msgid ""
449 "B<char *ttyname(int >I<fd>B<);>\n"
450 "B<int ttyname_r(int >I<fd>B<, char >I<buf>B<[.>I<size>B<], size_t >I<size>B<);>\n"
451 msgstr "B<int ttyname_r(int >I<fd>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
452
453 #. type: TH
454 #: mageia-cauldron
455 #, no-wrap
456 msgid "Linux man-pages 6.17"
457 msgstr "Страницы руководства Linux 6.17"
458
459 #. type: TH
460 #: opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "Linux man-pages (unreleased)"
463 msgstr "Страницы руководства Linux (не выпущены)"