Debian Codegraph @

po/ru/man3/setbuf.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:42+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 "setbuf"
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 "setbuf, setbuffer, setlinebuf, setvbuf - stream buffering operations"
60 msgstr ""
61 "setbuf, setbuffer, setlinebuf, setvbuf - операции с буферизацией потока"
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>stdio.hE<gt>>\n"
88 msgstr "B<#include E<lt>stdio.hE<gt>>\n"
89
90 #. type: Plain text
91 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
92 #: opensuse-tumbleweed
93 #, fuzzy, no-wrap
94 #| msgid "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n"
95 msgid ""
96 "B<int setvbuf(>size_t size;\n"
97 "B< FILE *restrict >I<stream>B<, char >I<buf>B<[restrict >I<size>B<],>\n"
98 "B< int >I<mode>B<, size_t >I<size>B<);>\n"
99 msgstr "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n"
100
101 #. type: Plain text
102 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
103 #: opensuse-tumbleweed
104 #, fuzzy, no-wrap
105 #| msgid "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n"
106 msgid ""
107 "B<void setbuf(FILE *restrict >I<stream>B<, char *restrict >I<buf>B<);>\n"
108 "B<void setbuffer(>size_t size;\n"
109 "B< FILE *restrict >I<stream>B<, char >I<buf>B<[restrict >I<size>B<],>\n"
110 "B< size_t >I<size>B<);>\n"
111 "B<void setlinebuf(FILE *>I<stream>B<);>\n"
112 msgstr "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\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 msgid ""
118 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
119 msgstr ""
120 "Требования макроса тестирования свойств для glibc (см. "
121 "B<feature_test_macros>(7)):"
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, fuzzy
127 #| msgid ""
128 #| "B<setbuf>(),\n"
129 #| "B<setbuffer>(),\n"
130 msgid "B<setbuffer>(), B<setlinebuf>():"
131 msgstr ""
132 "B<setbuf>(),\n"
133 "B<setbuffer>(),\n"
134
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 " Since glibc 2.19:\n"
141 " _DEFAULT_SOURCE\n"
142 " glibc 2.19 and earlier:\n"
143 " _BSD_SOURCE\n"
144 msgstr ""
145 " Начиная с glibc 2.19:\n"
146 " _DEFAULT_SOURCE\n"
147 " В версии glibc 2.19 и более ранних:\n"
148 " _BSD_SOURCE\n"
149
150 #. type: SH
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 #, no-wrap
154 msgid "DESCRIPTION"
155 msgstr "ОПИСАНИЕ"
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, fuzzy
161 #| msgid ""
162 #| "The three types of buffering available are unbuffered, block buffered, "
163 #| "and line buffered. When an output stream is unbuffered, information "
164 #| "appears on the destination file or terminal as soon as written; when it "
165 #| "is block buffered many characters are saved up and written as a block; "
166 #| "when it is line buffered characters are saved up until a newline is "
167 #| "output or input is read from any stream attached to a terminal device "
168 #| "(typically I<stdin>). The function B<fflush>(3) may be used to force "
169 #| "the block out early. (See B<fclose>(3).)"
170 msgid ""
171 "The three types of buffering available are unbuffered, block buffered, and "
172 "line buffered. When an output stream is unbuffered, information appears on "
173 "the destination file or terminal as soon as written; when it is block "
174 "buffered, many characters are saved up and written as a block; when it is "
175 "line buffered, characters are saved up until a newline is output or input is "
176 "read from any stream attached to a terminal device (typically I<stdin>). "
177 "The function B<fflush>(3) may be used to force the block out early. (See "
178 "B<fclose>(3).)"
179 msgstr ""
180 "Существует три типа буферизации: отсутствие буферизации, блочная буферизация "
181 "и строковая буферизация. Когда выходной поток не буферизируется, то "
182 "информация незамедлительно оказывается на терминале или в файле назначения; "
183 "при блочной буферизации сначала сохраняется большое количество символов, а "
184 "затем они записываются за один раз; при строковой буферизации все символы "
185 "сохраняются в буфере до появления символа перевода строки при выводе или при "
186 "вводе из любого потока, подключённого к устройству терминала (обычно, "
187 "I<stdin>). Функцию B<fflush>(3) можно использовать для досрочного окончания "
188 "блочной буферизации (смотрите B<fclose>(3))."
189
190 #. type: Plain text
191 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
192 #: opensuse-tumbleweed
193 #, fuzzy
194 #| msgid ""
195 #| "Normally all files are block buffered. If a stream refers to a terminal "
196 #| "(as I<stdout> normally does), it is line buffered. The standard error "
197 #| "stream I<stderr> is always unbuffered by default."
198 msgid ""
199 "Normally, all files are block buffered. If a stream refers to a terminal "
200 "(as I<stdout> normally does), it is line buffered. The standard error "
201 "stream I<stderr> is always unbuffered by default."
202 msgstr ""
203 "Обычно, для файлов включена блочная буферизация. Если поток ссылается на "
204 "терминал (обычно для I<stdout>), то он буферизируется построчно. Стандартный "
205 "поток ошибок I<stderr> по умолчанию никогда не буферизируется."
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "The B<setvbuf>() function may be used on any open stream to change its "
212 "buffer. The I<mode> argument must be one of the following three macros:"
213 msgstr ""
214 "Функция B<setvbuf>() может быть использована для изменения типа буферизации "
215 "любого открытого потока. Параметр I<mode> должен быть одним из трёх "
216 "следующих макросов:"
217
218 #. type: TP
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "B<_IONBF>"
223 msgstr "B<_IONBF>"
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid "unbuffered"
229 msgstr "отключить буферизацию"
230
231 #. type: TP
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "B<_IOLBF>"
236 msgstr "B<_IOLBF>"
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 "line buffered"
242 msgstr "строковая буферизация"
243
244 #. type: TP
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "B<_IOFBF>"
249 msgstr "B<_IOFBF>"
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 "fully buffered"
255 msgstr "полная буферизация"
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid ""
261 "Except for unbuffered files, the I<buf> argument should point to a buffer at "
262 "least I<size> bytes long; this buffer will be used instead of the current "
263 "buffer. If the argument I<buf> is NULL, only the mode is affected; a new "
264 "buffer will be allocated on the next read or write operation. The "
265 "B<setvbuf>() function may be used only after opening a stream and before "
266 "any other operations have been performed on it."
267 msgstr ""
268 "За исключением небуферизованных файлов аргумент I<buf> должен указывать на "
269 "буфер размером, как минимум, I<size> байт; этот буфер будет использоваться "
270 "вместо текущего. Если аргумент I<buf> равен NULL, то это отразится только на "
271 "типе буферизации; при следующей операции чтения или записи будет создан "
272 "новый буфер. Функция B<setvbuf>() может быть использована только после "
273 "открытия потока и до выполнения над ним любых операций."
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 "The other three calls are, in effect, simply aliases for calls to "
280 "B<setvbuf>(). The B<setbuf>() function is exactly equivalent to the call"
281 msgstr ""
282 "Остальные три вызова, фактически, являются псевдонимами вызова B<setvbuf>(). "
283 "Функция B<setbuf>() в точности соответствует вызову"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid "setvbuf(stream, buf, buf ? _IOFBF : _IONBF, BUFSIZ);"
289 msgstr "setvbuf(stream, buf, buf ? _IOFBF : _IONBF, BUFSIZ);"
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid ""
295 "The B<setbuffer>() function is the same, except that the size of the buffer "
296 "is up to the caller, rather than being determined by the default B<BUFSIZ>. "
297 "The B<setlinebuf>() function is exactly equivalent to the call:"
298 msgstr ""
299 "Функция B<setbuffer>() также аналогична ей, но размер буфера в данном случае "
300 "определяется вызывающим, а не размером по умолчанию B<BUFSIZ>. Функция "
301 "B<setlinebuf>() полностью идентична вызову"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid "setvbuf(stream, NULL, _IOLBF, 0);"
307 msgstr "setvbuf(stream, NULL, _IOLBF, 0);"
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 "RETURN VALUE"
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 ""
320 "The function B<setvbuf>() returns 0 on success. It returns nonzero on "
321 "failure (I<mode> is invalid or the request cannot be honored). It may set "
322 "I<errno> on failure."
323 msgstr ""
324 "Функция B<setvbuf>() возвращает 0 при нормальном завершении работы. При "
325 "ошибках она возвращает ненулевое значение (некорректное значение I<mode> или "
326 "запрос невозможно выполнить). При ошибках может быть соответственно изменено "
327 "значение I<errno>."
328
329 #. type: Plain text
330 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
331 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
332 msgid "The other functions do not return a value."
333 msgstr "Другие функции не возвращают никаких значений."
334
335 #. type: SH
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "ATTRIBUTES"
340 msgstr "АТРИБУТЫ"
341
342 #. type: Plain text
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 msgid ""
346 "For an explanation of the terms used in this section, see B<attributes>(7)."
347 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
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 "Interface"
354 msgstr "Интерфейс"
355
356 #. type: tbl table
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "Attribute"
361 msgstr "Атрибут"
362
363 #. type: tbl table
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "Value"
368 msgstr "Значение"
369
370 #. type: tbl table
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid ".na\n"
375 msgstr ".na\n"
376
377 #. type: tbl table
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid ".nh\n"
382 msgstr ".nh\n"
383
384 #. type: tbl table
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 #, fuzzy, no-wrap
388 #| msgid ""
389 #| "B<setbuf>(),\n"
390 #| "B<setbuffer>(),\n"
391 msgid ""
392 "B<setbuf>(),\n"
393 "B<setbuffer>(),\n"
394 "B<setlinebuf>(),\n"
395 "B<setvbuf>()"
396 msgstr ""
397 "B<setbuf>(),\n"
398 "B<setbuffer>(),\n"
399
400 #. type: tbl table
401 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
402 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
403 #, no-wrap
404 msgid "Thread safety"
405 msgstr "Безвредность в нитях"
406
407 #. type: tbl table
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "MT-Safe"
412 msgstr "MT-Safe"
413
414 #. type: SH
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "STANDARDS"
419 msgstr "СТАНДАРТЫ"
420
421 #. type: TP
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, fuzzy, no-wrap
425 #| msgid "B<setuid>(2)"
426 msgid "B<setbuf>()"
427 msgstr "B<setuid>(2)"
428
429 #. type: TQ
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 #, fuzzy, no-wrap
433 #| msgid "B<setuid>(2)"
434 msgid "B<setvbuf>()"
435 msgstr "B<setuid>(2)"
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid "C11, POSIX.1-2008."
441 msgstr "C11, POSIX.1-2008."
442
443 #. type: SH
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 #, no-wrap
447 msgid "HISTORY"
448 msgstr "ИСТОРИЯ"
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 msgid "C89, POSIX.1-2001."
454 msgstr "C89, POSIX.1-2001."
455
456 #. type: SH
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "CAVEATS"
461 msgstr ""
462
463 #. https://www.austingroupbugs.net/view.php?id=397#c799
464 #. 0000397: setbuf and errno
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "POSIX notes that the value of I<errno> is unspecified after a call to "
470 "B<setbuf>() and further notes that, since the value of I<errno> is not "
471 "required to be unchanged after a successful call to B<setbuf>(), "
472 "applications should instead use B<setvbuf>() in order to detect errors."
473 msgstr ""
474
475 #. type: SH
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 #, no-wrap
479 msgid "BUGS"
480 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
481
482 #. The
483 #. .BR setbuffer ()
484 #. and
485 #. .BR setlinebuf ()
486 #. functions are not portable to versions of BSD before 4.2BSD, and
487 #. are available under Linux since libc 4.5.21.
488 #. On 4.2BSD and 4.3BSD systems,
489 #. .BR setbuf ()
490 #. always uses a suboptimal buffer size and should be avoided.
491 #. .P
492 #. type: Plain text
493 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
494 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
495 msgid ""
496 "You must make sure that the space that I<buf> points to still exists by the "
497 "time I<stream> is closed, which also happens at program termination. For "
498 "example, the following is invalid:"
499 msgstr ""
500 "Вы должны удостовериться, что пространство, на которое указывает I<buf>, всё "
501 "ещё существует, в то время как I<stream> закрыт, что обычно случается при "
502 "закрытии программы. Например, следующее будет неправильным:"
503
504 #. type: Plain text
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 #, fuzzy, no-wrap
508 #| msgid ""
509 #| "int\n"
510 #| "main(void)\n"
511 #| "{\n"
512 #| " char buf[BUFSIZ];\n"
513 #| " setbuf(stdin, buf);\n"
514 #| " printf(\"Hello, world!\\en\");\n"
515 #| " return 0;\n"
516 #| "}\n"
517 msgid ""
518 "#include E<lt>stdio.hE<gt>\n"
519 "\\&\n"
520 "int\n"
521 "main(void)\n"
522 "{\n"
523 " char buf[BUFSIZ];\n"
524 "\\&\n"
525 " setbuf(stdout, buf);\n"
526 " printf(\"Hello, world!\\[rs]n\");\n"
527 " return 0;\n"
528 "}\n"
529 msgstr ""
530 "int\n"
531 "main(void)\n"
532 "{\n"
533 " char buf[BUFSIZ];\n"
534 " setbuf(stdin, buf);\n"
535 " printf(\"Hello, world!\\en\");\n"
536 " return 0;\n"
537 "}\n"
538
539 #. SRC END
540 #. type: SH
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 #, no-wrap
544 msgid "SEE ALSO"
545 msgstr "СМОТРИТЕ ТАКЖЕ"
546
547 #. type: Plain text
548 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
549 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
550 msgid ""
551 "B<stdbuf>(1), B<fclose>(3), B<fflush>(3), B<fopen>(3), B<fread>(3), "
552 "B<malloc>(3), B<printf>(3), B<puts>(3)"
553 msgstr ""
554 "B<stdbuf>(1), B<fclose>(3), B<fflush>(3), B<fopen>(3), B<fread>(3), "
555 "B<malloc>(3), B<printf>(3), B<puts>(3)"
556
557 #. type: TH
558 #: debian-trixie
559 #, no-wrap
560 msgid "2024-06-15"
561 msgstr "15 июня 2024 г."
562
563 #. type: TH
564 #: debian-trixie
565 #, no-wrap
566 msgid "Linux man-pages 6.9.1"
567 msgstr "Страницы руководства Linux 6.9.1"
568
569 #. type: Plain text
570 #: debian-trixie
571 msgid "Standard C library (I<libc>, I<-lc>)"
572 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
573
574 #. type: Plain text
575 #: debian-trixie fedora-44 fedora-rawhide
576 #, fuzzy, no-wrap
577 #| msgid "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n"
578 msgid ""
579 "B<int setvbuf(FILE *restrict >I<stream>B<, char >I<buf>B<[restrict .>I<size>B<],>\n"
580 "B< int >I<mode>B<, size_t >I<size>B<);>\n"
581 msgstr "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n"
582
583 #. type: Plain text
584 #: debian-trixie fedora-44 fedora-rawhide
585 #, fuzzy, no-wrap
586 #| msgid "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n"
587 msgid ""
588 "B<void setbuf(FILE *restrict >I<stream>B<, char *restrict >I<buf>B<);>\n"
589 "B<void setbuffer(FILE *restrict >I<stream>B<, char >I<buf>B<[restrict .>I<size>B<],>\n"
590 "B< size_t >I<size>B<);>\n"
591 "B<void setlinebuf(FILE *>I<stream>B<);>\n"
592 msgstr "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n"
593
594 #. type: Plain text
595 #: debian-trixie fedora-44 fedora-rawhide
596 msgid ""
597 "Normally all files are block buffered. If a stream refers to a terminal (as "
598 "I<stdout> normally does), it is line buffered. The standard error stream "
599 "I<stderr> is always unbuffered by default."
600 msgstr ""
601 "Обычно, для файлов включена блочная буферизация. Если поток ссылается на "
602 "терминал (обычно для I<stdout>), то он буферизируется построчно. Стандартный "
603 "поток ошибок I<stderr> по умолчанию никогда не буферизируется."
604
605 #. type: TH
606 #: fedora-44 fedora-rawhide
607 #, no-wrap
608 msgid "2024-07-23"
609 msgstr "23 июля 2024 г."
610
611 #. type: TH
612 #: fedora-44 fedora-rawhide
613 #, no-wrap
614 msgid "Linux man-pages 6.13"
615 msgstr "Страницы руководства Linux 6.13"
616
617 #. type: TH
618 #: mageia-cauldron
619 #, no-wrap
620 msgid "Linux man-pages 6.17"
621 msgstr "Страницы руководства Linux 6.17"
622
623 #. type: TH
624 #: opensuse-leap-16-1 opensuse-tumbleweed
625 #, no-wrap
626 msgid "Linux man-pages (unreleased)"
627 msgstr "Страницы руководства Linux (не выпущены)"