diff options
Diffstat (limited to 'po/ru/man3/setbuf.3.po')
-rw-r--r-- | po/ru/man3/setbuf.3.po | 734 |
1 files changed, 734 insertions, 0 deletions
diff --git a/po/ru/man3/setbuf.3.po b/po/ru/man3/setbuf.3.po new file mode 100644 index 00000000..7050a262 --- /dev/null +++ b/po/ru/man3/setbuf.3.po @@ -0,0 +1,734 @@ +# Russian translation of manpages +# This file is distributed under the same license as the manpages-l10n package. +# Copyright © of this file: +# Alexander Golubev <fatzer2@gmail.com>, 2018. +# Azamat Hackimov <azamat.hackimov@gmail.com>, 2011, 2014-2016. +# Hotellook, 2014. +# Nikita <zxcvbnm3230@mail.ru>, 2014. +# Spiros Georgaras <sng@hellug.gr>, 2016. +# Vladislav <ivladislavefimov@gmail.com>, 2015. +# Yuri Kozlov <yuray@komyakino.ru>, 2011-2019. +# Иван Павлов <pavia00@gmail.com>, 2017. +msgid "" +msgstr "" +"Project-Id-Version: manpages-l10n\n" +"POT-Creation-Date: 2024-03-01 17:07+0100\n" +"PO-Revision-Date: 2019-10-15 18:55+0300\n" +"Last-Translator: Yuri Kozlov <yuray@komyakino.ru>\n" +"Language-Team: Russian <man-pages-ru-talks@lists.sourceforge.net>\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " +"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || " +"(n%100>=11 && n%100<=14)? 2 : 3);\n" +"X-Generator: Lokalize 2.0\n" + +#. type: TH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "setbuf" +msgstr "" + +#. type: TH +#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "2023-10-31" +msgstr "31 октября 2023 г." + +#. type: TH +#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "Linux man-pages 6.06" +msgstr "Linux man-pages 6.06" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "NAME" +msgstr "ИМЯ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "setbuf, setbuffer, setlinebuf, setvbuf - stream buffering operations" +msgstr "" +"setbuf, setbuffer, setlinebuf, setvbuf - операции с буферизацией потока" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "LIBRARY" +msgstr "" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "Standard C library (I<libc>, I<-lc>)" +msgstr "" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "SYNOPSIS" +msgstr "СИНТАКСИС" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "B<#include E<lt>stdio.hE<gt>>\n" +msgstr "B<#include E<lt>stdio.hE<gt>>\n" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n" +msgid "" +"B<int setvbuf(FILE *restrict >I<stream>B<, char >I<buf>B<[restrict .>I<size>B<],>\n" +"B< int >I<mode>B<, size_t >I<size>B<);>\n" +msgstr "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n" +msgid "" +"B<void setbuf(FILE *restrict >I<stream>B<, char *restrict >I<buf>B<);>\n" +"B<void setbuffer(FILE *restrict >I<stream>B<, char >I<buf>B<[restrict .>I<size>B<],>\n" +"B< size_t >I<size>B<);>\n" +"B<void setlinebuf(FILE *>I<stream>B<);>\n" +msgstr "B<int setvbuf(FILE *>I<stream>B<, char *>I<buf>B<, int >I<mode>B<, size_t >I<size>B<);>\n" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" +msgstr "" +"Требования макроса тестирования свойств для glibc (см. " +"B<feature_test_macros>(7)):" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy +#| msgid "" +#| "B<setbuf>(),\n" +#| "B<setbuffer>(),\n" +msgid "B<setbuffer>(), B<setlinebuf>():" +msgstr "" +"B<setbuf>(),\n" +"B<setbuffer>(),\n" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "" +" Since glibc 2.19:\n" +" _DEFAULT_SOURCE\n" +" glibc 2.19 and earlier:\n" +" _BSD_SOURCE\n" +msgstr "" +" Начиная с glibc 2.19:\n" +" _DEFAULT_SOURCE\n" +" В версии glibc 2.19 и более ранних:\n" +" _BSD_SOURCE\n" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "DESCRIPTION" +msgstr "ОПИСАНИЕ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy +#| msgid "" +#| "The three types of buffering available are unbuffered, block buffered, " +#| "and line buffered. When an output stream is unbuffered, information " +#| "appears on the destination file or terminal as soon as written; when it " +#| "is block buffered many characters are saved up and written as a block; " +#| "when it is line buffered characters are saved up until a newline is " +#| "output or input is read from any stream attached to a terminal device " +#| "(typically I<stdin>). The function B<fflush>(3) may be used to force " +#| "the block out early. (See B<fclose>(3).)" +msgid "" +"The three types of buffering available are unbuffered, block buffered, and " +"line buffered. When an output stream is unbuffered, information appears on " +"the destination file or terminal as soon as written; when it is block " +"buffered, many characters are saved up and written as a block; when it is " +"line buffered, characters are saved up until a newline is output or input is " +"read from any stream attached to a terminal device (typically I<stdin>). " +"The function B<fflush>(3) may be used to force the block out early. (See " +"B<fclose>(3).)" +msgstr "" +"Существует три типа буферизации: отсутствие буферизации, блочная буферизация " +"и строковая буферизация. Когда выходной поток не буферизируется, то " +"информация незамедлительно оказывается на терминале или в файле назначения; " +"при блочной буферизации сначала сохраняется большое количество символов, а " +"затем они записываются за один раз; при строковой буферизации все символы " +"сохраняются в буфере до появления символа перевода строки при выводе или при " +"вводе из любого потока, подключённого к устройству терминала (обычно, " +"I<stdin>). Функцию B<fflush>(3) можно использовать для досрочного окончания " +"блочной буферизации (смотрите B<fclose>(3))." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"Normally all files are block buffered. If a stream refers to a terminal (as " +"I<stdout> normally does), it is line buffered. The standard error stream " +"I<stderr> is always unbuffered by default." +msgstr "" +"Обычно, для файлов включена блочная буферизация. Если поток ссылается на " +"терминал (обычно для I<stdout>), то он буферизируется построчно. Стандартный " +"поток ошибок I<stderr> по умолчанию никогда не буферизируется." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"The B<setvbuf>() function may be used on any open stream to change its " +"buffer. The I<mode> argument must be one of the following three macros:" +msgstr "" +"Функция B<setvbuf>() может быть использована для изменения типа буферизации " +"любого открытого потока. Параметр I<mode> должен быть одним из трёх " +"следующих макросов:" + +#. type: TP +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "B<_IONBF>" +msgstr "B<_IONBF>" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "unbuffered" +msgstr "отключить буферизацию" + +#. type: TP +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "B<_IOLBF>" +msgstr "B<_IOLBF>" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "line buffered" +msgstr "строковая буферизация" + +#. type: TP +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "B<_IOFBF>" +msgstr "B<_IOFBF>" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "fully buffered" +msgstr "полная буферизация" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"Except for unbuffered files, the I<buf> argument should point to a buffer at " +"least I<size> bytes long; this buffer will be used instead of the current " +"buffer. If the argument I<buf> is NULL, only the mode is affected; a new " +"buffer will be allocated on the next read or write operation. The " +"B<setvbuf>() function may be used only after opening a stream and before " +"any other operations have been performed on it." +msgstr "" +"За исключением небуферизованных файлов аргумент I<buf> должен указывать на " +"буфер размером, как минимум, I<size> байт; этот буфер будет использоваться " +"вместо текущего. Если аргумент I<buf> равен NULL, то это отразится только на " +"типе буферизации; при следующей операции чтения или записи будет создан " +"новый буфер. Функция B<setvbuf>() может быть использована только после " +"открытия потока и до выполнения над ним любых операций." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"The other three calls are, in effect, simply aliases for calls to " +"B<setvbuf>(). The B<setbuf>() function is exactly equivalent to the call" +msgstr "" +"Остальные три вызова, фактически, являются псевдонимами вызова B<setvbuf>(). " +"Функция B<setbuf>() в точности соответствует вызову" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "setvbuf(stream, buf, buf ? _IOFBF : _IONBF, BUFSIZ);" +msgstr "setvbuf(stream, buf, buf ? _IOFBF : _IONBF, BUFSIZ);" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"The B<setbuffer>() function is the same, except that the size of the buffer " +"is up to the caller, rather than being determined by the default B<BUFSIZ>. " +"The B<setlinebuf>() function is exactly equivalent to the call:" +msgstr "" +"Функция B<setbuffer>() также аналогична ей, но размер буфера в данном случае " +"определяется вызывающим, а не размером по умолчанию B<BUFSIZ>. Функция " +"B<setlinebuf>() полностью идентична вызову" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "setvbuf(stream, NULL, _IOLBF, 0);" +msgstr "setvbuf(stream, NULL, _IOLBF, 0);" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "RETURN VALUE" +msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"The function B<setvbuf>() returns 0 on success. It returns nonzero on " +"failure (I<mode> is invalid or the request cannot be honored). It may set " +"I<errno> on failure." +msgstr "" +"Функция B<setvbuf>() возвращает 0 при нормальном завершении работы. При " +"ошибках она возвращает ненулевое значение (некорректное значение I<mode> или " +"запрос невозможно выполнить). При ошибках может быть соответственно изменено " +"значение I<errno>." + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "The other functions do not return a value." +msgstr "Другие функции не возвращают никаких значений." + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "ATTRIBUTES" +msgstr "АТРИБУТЫ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"For an explanation of the terms used in this section, see B<attributes>(7)." +msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)." + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Interface" +msgstr "Интерфейс" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Attribute" +msgstr "Атрибут" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Value" +msgstr "Значение" + +#. type: tbl table +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed +#, no-wrap +msgid ".na\n" +msgstr ".na\n" + +#. type: tbl table +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed +#, no-wrap +msgid ".nh\n" +msgstr ".nh\n" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "" +#| "B<setbuf>(),\n" +#| "B<setbuffer>(),\n" +msgid "" +"B<setbuf>(),\n" +"B<setbuffer>(),\n" +"B<setlinebuf>(),\n" +"B<setvbuf>()" +msgstr "" +"B<setbuf>(),\n" +"B<setbuffer>(),\n" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "Thread safety" +msgstr "Безвредность в нитях" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "MT-Safe" +msgstr "MT-Safe" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "STANDARDS" +msgstr "СТАНДАРТЫ" + +#. type: TP +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "B<setuid>(2)" +msgid "B<setbuf>()" +msgstr "B<setuid>(2)" + +#. type: TQ +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "B<setuid>(2)" +msgid "B<setvbuf>()" +msgstr "B<setuid>(2)" + +#. type: Plain text +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +msgid "C11, POSIX.1-2008." +msgstr "C11, POSIX.1-2008." + +#. type: SH +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "HISTORY" +msgstr "ИСТОРИЯ" + +#. type: Plain text +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +msgid "C89, POSIX.1-2001." +msgstr "C89, POSIX.1-2001." + +#. type: SH +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "CAVEATS" +msgstr "" + +#. https://www.austingroupbugs.net/view.php?id=397#c799 +#. 0000397: setbuf and errno +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"POSIX notes that the value of I<errno> is unspecified after a call to " +"B<setbuf>() and further notes that, since the value of I<errno> is not " +"required to be unchanged after a successful call to B<setbuf>(), " +"applications should instead use B<setvbuf>() in order to detect errors." +msgstr "" + +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "BUGS" +msgstr "ДЕФЕКТЫ" + +#. #-#-#-#-# archlinux: setbuf.3.pot (PACKAGE VERSION) #-#-#-#-# +#. The +#. .BR setbuffer () +#. and +#. .BR setlinebuf () +#. functions are not portable to versions of BSD before 4.2BSD, and +#. are available under Linux since libc 4.5.21. +#. On 4.2BSD and 4.3BSD systems, +#. .BR setbuf () +#. always uses a suboptimal buffer size and should be avoided. +#. .P +#. type: Plain text +#. #-#-#-#-# debian-bookworm: setbuf.3.pot (PACKAGE VERSION) #-#-#-#-# +#. The +#. .BR setbuffer () +#. and +#. .BR setlinebuf () +#. functions are not portable to versions of BSD before 4.2BSD, and +#. are available under Linux since libc 4.5.21. +#. On 4.2BSD and 4.3BSD systems, +#. .BR setbuf () +#. always uses a suboptimal buffer size and should be avoided. +#. .PP +#. type: Plain text +#. #-#-#-#-# debian-unstable: setbuf.3.pot (PACKAGE VERSION) #-#-#-#-# +#. The +#. .BR setbuffer () +#. and +#. .BR setlinebuf () +#. functions are not portable to versions of BSD before 4.2BSD, and +#. are available under Linux since libc 4.5.21. +#. On 4.2BSD and 4.3BSD systems, +#. .BR setbuf () +#. always uses a suboptimal buffer size and should be avoided. +#. .PP +#. type: Plain text +#. #-#-#-#-# fedora-40: setbuf.3.pot (PACKAGE VERSION) #-#-#-#-# +#. The +#. .BR setbuffer () +#. and +#. .BR setlinebuf () +#. functions are not portable to versions of BSD before 4.2BSD, and +#. are available under Linux since libc 4.5.21. +#. On 4.2BSD and 4.3BSD systems, +#. .BR setbuf () +#. always uses a suboptimal buffer size and should be avoided. +#. .P +#. type: Plain text +#. #-#-#-#-# fedora-rawhide: setbuf.3.pot (PACKAGE VERSION) #-#-#-#-# +#. The +#. .BR setbuffer () +#. and +#. .BR setlinebuf () +#. functions are not portable to versions of BSD before 4.2BSD, and +#. are available under Linux since libc 4.5.21. +#. On 4.2BSD and 4.3BSD systems, +#. .BR setbuf () +#. always uses a suboptimal buffer size and should be avoided. +#. .P +#. type: Plain text +#. #-#-#-#-# mageia-cauldron: setbuf.3.pot (PACKAGE VERSION) #-#-#-#-# +#. The +#. .BR setbuffer () +#. and +#. .BR setlinebuf () +#. functions are not portable to versions of BSD before 4.2BSD, and +#. are available under Linux since libc 4.5.21. +#. On 4.2BSD and 4.3BSD systems, +#. .BR setbuf () +#. always uses a suboptimal buffer size and should be avoided. +#. .P +#. type: Plain text +#. #-#-#-#-# opensuse-leap-15-6: setbuf.3.pot (PACKAGE VERSION) #-#-#-#-# +#. The +#. .BR setbuffer () +#. and +#. .BR setlinebuf () +#. functions are not portable to versions of BSD before 4.2BSD, and +#. are available under Linux since libc 4.5.21. +#. On 4.2BSD and 4.3BSD systems, +#. .BR setbuf () +#. always uses a suboptimal buffer size and should be avoided. +#. .PP +#. type: Plain text +#. #-#-#-#-# opensuse-tumbleweed: setbuf.3.pot (PACKAGE VERSION) #-#-#-#-# +#. The +#. .BR setbuffer () +#. and +#. .BR setlinebuf () +#. functions are not portable to versions of BSD before 4.2BSD, and +#. are available under Linux since libc 4.5.21. +#. On 4.2BSD and 4.3BSD systems, +#. .BR setbuf () +#. always uses a suboptimal buffer size and should be avoided. +#. .PP +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"You must make sure that the space that I<buf> points to still exists by the " +"time I<stream> is closed, which also happens at program termination. For " +"example, the following is invalid:" +msgstr "" +"Вы должны удостовериться, что пространство, на которое указывает I<buf>, всё " +"ещё существует, в то время как I<stream> закрыт, что обычно случается при " +"закрытии программы. Например, следующее будет неправильным:" + +#. type: Plain text +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed +#, fuzzy, no-wrap +#| msgid "" +#| "int\n" +#| "main(void)\n" +#| "{\n" +#| " char buf[BUFSIZ];\n" +#| " setbuf(stdin, buf);\n" +#| " printf(\"Hello, world!\\en\");\n" +#| " return 0;\n" +#| "}\n" +msgid "" +"#include E<lt>stdio.hE<gt>\n" +"\\&\n" +"int\n" +"main(void)\n" +"{\n" +" char buf[BUFSIZ];\n" +"\\&\n" +" setbuf(stdout, buf);\n" +" printf(\"Hello, world!\\en\");\n" +" return 0;\n" +"}\n" +msgstr "" +"int\n" +"main(void)\n" +"{\n" +" char buf[BUFSIZ];\n" +" setbuf(stdin, buf);\n" +" printf(\"Hello, world!\\en\");\n" +" return 0;\n" +"}\n" + +#. SRC END +#. type: SH +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "SEE ALSO" +msgstr "СМ. ТАКЖЕ" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "" +"B<stdbuf>(1), B<fclose>(3), B<fflush>(3), B<fopen>(3), B<fread>(3), " +"B<malloc>(3), B<printf>(3), B<puts>(3)" +msgstr "" +"B<stdbuf>(1), B<fclose>(3), B<fflush>(3), B<fopen>(3), B<fread>(3), " +"B<malloc>(3), B<printf>(3), B<puts>(3)" + +#. type: TH +#: debian-bookworm +#, no-wrap +msgid "2023-02-05" +msgstr "5 февраля 2023 г." + +#. type: TH +#: debian-bookworm +#, no-wrap +msgid "Linux man-pages 6.03" +msgstr "Linux man-pages 6.03" + +#. type: Plain text +#: debian-bookworm +#, fuzzy +#| msgid "The B<setbuf>() and B<setvbuf>() functions conform to C89 and C99." +msgid "The B<setbuf>() and B<setvbuf>() functions conform to C99." +msgstr "Функции B<setbuf>() и B<setvbuf>() соответствуют стандарту C89 и C99." + +#. type: SH +#: debian-bookworm +#, no-wrap +msgid "NOTES" +msgstr "ЗАМЕЧАНИЯ" + +#. type: Plain text +#: debian-bookworm opensuse-leap-15-6 +#, no-wrap +msgid "#include E<lt>stdio.hE<gt>\n" +msgstr "#include E<lt>stdio.hE<gt>\n" + +#. type: Plain text +#: debian-bookworm opensuse-leap-15-6 +#, fuzzy, no-wrap +#| msgid "" +#| "int\n" +#| "main(void)\n" +#| "{\n" +#| " struct tm tm;\n" +#| " char buf[255];\n" +msgid "" +"int\n" +"main(void)\n" +"{\n" +" char buf[BUFSIZ];\n" +msgstr "" +"int\n" +"main(void)\n" +"{\n" +" struct tm tm;\n" +" char buf[255];\n" + +#. type: Plain text +#: debian-bookworm opensuse-leap-15-6 +#, fuzzy, no-wrap +#| msgid "" +#| "int\n" +#| "main(void)\n" +#| "{\n" +#| " char buf[BUFSIZ];\n" +#| " setbuf(stdin, buf);\n" +#| " printf(\"Hello, world!\\en\");\n" +#| " return 0;\n" +#| "}\n" +msgid "" +" setbuf(stdout, buf);\n" +" printf(\"Hello, world!\\en\");\n" +" return 0;\n" +"}\n" +msgstr "" +"int\n" +"main(void)\n" +"{\n" +" char buf[BUFSIZ];\n" +" setbuf(stdin, buf);\n" +" printf(\"Hello, world!\\en\");\n" +" return 0;\n" +"}\n" + +#. type: TH +#: debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "2023-07-20" +msgstr "20 июля 2023 г." + +#. type: TH +#: debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages 6.05.01" +msgstr "Linux man-pages 6.05.01" + +#. type: TH +#: opensuse-leap-15-6 +#, no-wrap +msgid "2023-03-30" +msgstr "30 марта 2023 г." + +#. type: TH +#: opensuse-leap-15-6 +#, no-wrap +msgid "Linux man-pages 6.04" +msgstr "Linux man-pages 6.04" |