Debian Codegraph @

po/ru/man3/stdin.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 # 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:45+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:50+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 "stdin"
33 msgstr ""
34
35 #. type: TH
36 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
37 #: opensuse-tumbleweed
38 #, no-wrap
39 msgid "2025-09-21"
40 msgstr "21 сентября 2025 г."
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 "stdin, stdout, stderr - standard I/O streams"
60 msgstr "stdin, stdout, stderr - стандартные потоки ввода/вывода"
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>stdio.hE<gt>>\n"
87 msgstr "B<#include E<lt>stdio.hE<gt>>\n"
88
89 #. type: Plain text
90 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
91 #: opensuse-leap-16-1 opensuse-tumbleweed
92 #, fuzzy, no-wrap
93 #| msgid ""
94 #| "B<extern FILE *>I<stdin>B<;>\n"
95 #| "B<extern FILE *>I<stdout>B<;>\n"
96 #| "B<extern FILE *>I<stderr>B<;>\n"
97 msgid ""
98 "B<extern\\ FILE\\ \\ *>I<stdin>B<;>\n"
99 "B<extern\\ FILE\\ \\ *>I<stdout>B<;>\n"
100 "B<extern\\ FILE\\ \\ *>I<stderr>B<;>\n"
101 msgstr ""
102 "B<extern FILE *>I<stdin>B<;>\n"
103 "B<extern FILE *>I<stdout>B<;>\n"
104 "B<extern FILE *>I<stderr>B<;>\n"
105
106 #. type: SH
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid "DESCRIPTION"
111 msgstr "ОПИСАНИЕ"
112
113 #. type: Plain text
114 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
115 #: opensuse-tumbleweed
116 #, fuzzy
117 #| msgid ""
118 #| "Under normal circumstances every UNIX program has three streams opened "
119 #| "for it when it starts up, one for input, one for output, and one for "
120 #| "printing diagnostic or error messages. These are typically attached to "
121 #| "the user's terminal (see B<tty>(4)) but might instead refer to files or "
122 #| "other devices, depending on what the parent process chose to set up. "
123 #| "(See also the \"Redirection\" section of B<sh>(1).)"
124 msgid ""
125 "Under normal circumstances every UNIX program has three streams opened for "
126 "it when it starts up, one for input, one for output, and one for printing "
127 "diagnostic or error messages. These are typically attached to the user's "
128 "terminal (see B<tty>(4)) but might instead refer to files or other devices, "
129 "depending on what the parent process chose to set up. (See also the "
130 "\"Redirections\" section of B<sh>(1).)"
131 msgstr ""
132 "В обычном состоянии каждая программа UNIX после запуска имеет при открытых "
133 "потока, один для ввода данных, один для вывода и один для печати "
134 "диагностических сообщений или ошибок. Обычно, они присоединены к терминалу "
135 "пользователя (смотрите B<tty>(4)), но также они могут ссылаться на файлы или "
136 "другие устройства, в зависимости от того, как это настроил родительский "
137 "процесс (также смотрите раздел «Перенаправление (redirection)» в B<sh>(1))."
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "The input stream is referred to as \"standard input\"; the output stream is "
144 "referred to as \"standard output\"; and the error stream is referred to as "
145 "\"standard error\". These terms are abbreviated to form the symbols used to "
146 "refer to these files, namely I<stdin>, I<stdout>, and I<stderr>."
147 msgstr ""
148 "Входной поток называют «стандартным вводом»; выходной поток называют "
149 "«стандартным выводом»; поток ошибок называют «стандартным потоком ошибок». "
150 "Эти термины в сокращённой форме (символы I<stdin>, I<stdout> и I<stderr>) "
151 "используются для обращения к соответствующим файлам."
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 ""
157 "Each of these symbols is a B<stdio>(3) macro of type pointer to I<FILE>, "
158 "and can be used with functions like B<fprintf>(3) or B<fread>(3)."
159 msgstr ""
160 "Каждый из этих символов является макросом B<stdio>(3) с типом указателя на "
161 "I<FILE> и может быть использован в функциях вроде B<fprintf>(3) или "
162 "B<fread>(3)."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "Since I<FILE>s are a buffering wrapper around UNIX file descriptors, the "
169 "same underlying files may also be accessed using the raw UNIX file "
170 "interface, that is, the functions like B<read>(2) and B<lseek>(2)."
171 msgstr ""
172 "Так как I<FILE> — буферная обёртка вокруг файловых дескрипторов UNIX, файлы, "
173 "на которые она ссылается, могут быть доступны через обычный низкоуровневый "
174 "файловый интерфейс UNIX, то есть через функции B<read>(2) и B<lseek>(2)."
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "On program startup, the integer file descriptors associated with the streams "
181 "I<stdin>, I<stdout>, and I<stderr> are 0, 1, and 2, respectively. The "
182 "preprocessor symbols B<STDIN_FILENO>, B<STDOUT_FILENO>, and B<STDERR_FILENO> "
183 "are defined with these values in I<E<lt>unistd.hE<gt>>. (Applying "
184 "B<freopen>(3) to one of these streams can change the file descriptor number "
185 "associated with the stream.)"
186 msgstr ""
187 "При запуске программы с потоками I<stdin>, I<stdout> и I<stderr> связываются "
188 "целочисленные файловые дескрипторы 0, 1 и 2, соответственно. Для этих "
189 "значений в I<E<lt>unistd.hE<gt>> определены препроцессорные символы "
190 "B<STDIN_FILENO>, B<STDOUT_FILENO> и B<STDERR_FILENO> (с помощью "
191 "B<freopen>(3) у любого из этих потоков можно изменить номер файлового "
192 "дескриптора, связанного с потоком)."
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 "Note that mixing use of I<FILE>s and raw file descriptors can produce "
199 "unexpected results and should generally be avoided. (For the masochistic "
200 "among you: POSIX.1, section 8.2.3, describes in detail how this interaction "
201 "is supposed to work.) A general rule is that file descriptors are handled "
202 "in the kernel, while stdio is just a library. This means for example, that "
203 "after an B<exec>(3), the child inherits all open file descriptors, but all "
204 "old streams have become inaccessible."
205 msgstr ""
206 "Заметим, что одновременное использование I<FILE> и низкоуровневых файловых "
207 "дескрипторов может привести к непредсказуемым результатам и этого нужно "
208 "избегать (для мазохистов: в POSIX.1, раздел 8.2.3, подробно описано как "
209 "должно работать такое взаимодействие). Общее правило: файловые дескрипторы "
210 "обрабатываются в ядре, а stdio всего лишь библиотека. Это означает, что, "
211 "например, после B<exec>(3) потомок наследует все открытые файловые "
212 "дескрипторы, но все старые потоки становятся недоступными."
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid ""
218 "Since the symbols I<stdin>, I<stdout>, and I<stderr> are specified to be "
219 "macros, assigning to them is nonportable. The standard streams can be made "
220 "to refer to different files with help of the library function B<freopen>(3), "
221 "specially introduced to make it possible to reassign I<stdin>, I<stdout>, "
222 "and I<stderr>. The standard streams are closed by a call to B<exit>(3) and "
223 "by normal program termination."
224 msgstr ""
225 "Так как символы I<stdin>, I<stdout> и I<stderr> определены как макросы, "
226 "присвоение им значения непереносимо. Стандартные потоки можно связать с "
227 "различными файлами с помощью библиотечной функции B<freopen>(3), специально "
228 "созданной для переназначения I<stdin>, I<stdout> и I<stderr>. Стандартные "
229 "потоки закрываются вызовом B<exit>(3) и при нормально завершении программы."
230
231 #. type: SH
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "STANDARDS"
236 msgstr "СТАНДАРТЫ"
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid "C11, POSIX.1-2008."
242 msgstr "C11, POSIX.1-2008."
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 #, fuzzy
248 #| msgid ""
249 #| "The I<stdin>, I<stdout>, and I<stderr> macros conform to C89 and this "
250 #| "standard also stipulates that these three streams shall be open at "
251 #| "program startup."
252 msgid ""
253 "The standards also stipulate that these three streams shall be open at "
254 "program startup."
255 msgstr ""
256 "Макросы I<stdin>, I<stdout> и I<stderr> соответствуют C89 и этот стандарт "
257 "также оговаривает, что три этих потока должны открываться при запуске "
258 "программы."
259
260 #. type: SH
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "HISTORY"
265 msgstr "ИСТОРИЯ"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid "C89, POSIX.1-2001."
271 msgstr "C89, POSIX.1-2001."
272
273 #. type: SH
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "NOTES"
278 msgstr "ПРИМЕЧАНИЯ"
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid ""
284 "The stream I<stderr> is unbuffered. The stream I<stdout> is line-buffered "
285 "when it points to a terminal. Partial lines will not appear until "
286 "B<fflush>(3) or B<exit>(3) is called, or a newline is printed. This can "
287 "produce unexpected results, especially with debugging output. The buffering "
288 "mode of the standard streams (or any other stream) can be changed using the "
289 "B<setbuf>(3) or B<setvbuf>(3) call. Note that in case I<stdin> is "
290 "associated with a terminal, there may also be input buffering in the "
291 "terminal driver, entirely unrelated to stdio buffering. (Indeed, normally "
292 "terminal input is line buffered in the kernel.) This kernel input handling "
293 "can be modified using calls like B<tcsetattr>(3); see also B<stty>(1), and "
294 "B<termios>(3)."
295 msgstr ""
296 "Поток I<stderr> является небуферизованным. Поток I<stdout> буферизируется "
297 "построчно, если подключён к терминалу. Часть строки не появляется до тех "
298 "пор, пока не будет вызвана функция B<fflush>(3) или B<exit>(3), или не "
299 "появится символ новой строки. Это может приводить к неожиданным результатам, "
300 "особенно при выводе диагностических сообщений. Режим буферизации стандартных "
301 "потоков (или любого другого потока) модно изменить с помощью вызова "
302 "B<setbuf>(3) или B<setvbuf>(3). Заметим, что в случае когда I<stdin> связан "
303 "с терминалом, также может быть буферизация ввода в драйвере терминала, никак "
304 "не связанная с буферизацией stdio (более того, обычный терминальный ввод "
305 "буферизируется построчно в ядре). Работу ядра по обработке ввода можно "
306 "изменить с помощью вызова B<tcsetattr>(3) и подобным; также смотрите "
307 "B<stty>(1) и B<termios>(3)."
308
309 #. type: SH
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "SEE ALSO"
314 msgstr "СМОТРИТЕ ТАКЖЕ"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid "B<csh>(1), B<sh>(1), B<open>(2), B<fopen>(3), B<stdio>(3)"
320 msgstr "B<csh>(1), B<sh>(1), B<open>(2), B<fopen>(3), B<stdio>(3)"
321
322 #. type: TH
323 #: debian-trixie
324 #, no-wrap
325 msgid "2024-05-02"
326 msgstr "2 мая 2024 г."
327
328 #. type: TH
329 #: debian-trixie
330 #, no-wrap
331 msgid "Linux man-pages 6.9.1"
332 msgstr "Страницы руководства Linux 6.9.1"
333
334 #. type: Plain text
335 #: debian-trixie
336 msgid "Standard C library (I<libc>, I<-lc>)"
337 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
338
339 #. type: Plain text
340 #: debian-trixie
341 #, no-wrap
342 msgid ""
343 "B<extern FILE *>I<stdin>B<;>\n"
344 "B<extern FILE *>I<stdout>B<;>\n"
345 "B<extern FILE *>I<stderr>B<;>\n"
346 msgstr ""
347 "B<extern FILE *>I<stdin>B<;>\n"
348 "B<extern FILE *>I<stdout>B<;>\n"
349 "B<extern FILE *>I<stderr>B<;>\n"
350
351 #. type: Plain text
352 #: debian-trixie fedora-44 fedora-rawhide
353 msgid ""
354 "Under normal circumstances every UNIX program has three streams opened for "
355 "it when it starts up, one for input, one for output, and one for printing "
356 "diagnostic or error messages. These are typically attached to the user's "
357 "terminal (see B<tty>(4)) but might instead refer to files or other devices, "
358 "depending on what the parent process chose to set up. (See also the "
359 "\"Redirection\" section of B<sh>(1).)"
360 msgstr ""
361 "В обычном состоянии каждая программа UNIX после запуска имеет при открытых "
362 "потока, один для ввода данных, один для вывода и один для печати "
363 "диагностических сообщений или ошибок. Обычно, они присоединены к терминалу "
364 "пользователя (смотрите B<tty>(4)), но также они могут ссылаться на файлы или "
365 "другие устройства, в зависимости от того, как это настроил родительский "
366 "процесс (также смотрите раздел «Перенаправление (redirection)» в B<sh>(1))."
367
368 #. type: TH
369 #: fedora-44 fedora-rawhide
370 #, no-wrap
371 msgid "2024-12-24"
372 msgstr "24 декабря 2024 г."
373
374 #. type: TH
375 #: fedora-44 fedora-rawhide
376 #, no-wrap
377 msgid "Linux man-pages 6.13"
378 msgstr "Страницы руководства Linux 6.13"
379
380 #. type: TH
381 #: mageia-cauldron
382 #, no-wrap
383 msgid "Linux man-pages 6.17"
384 msgstr "Страницы руководства Linux 6.17"
385
386 #. type: TH
387 #: opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "Linux man-pages (unreleased)"
390 msgstr "Страницы руководства Linux (не выпущены)"