diff options
Diffstat (limited to '')
-rw-r--r-- | templates/man3/setbuf.3.pot | 611 |
1 files changed, 611 insertions, 0 deletions
diff --git a/templates/man3/setbuf.3.pot b/templates/man3/setbuf.3.pot new file mode 100644 index 00000000..db94fc3b --- /dev/null +++ b/templates/man3/setbuf.3.pot @@ -0,0 +1,611 @@ +# SOME DESCRIPTIVE TITLE +# Copyright (C) YEAR Free Software Foundation, Inc. +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"POT-Creation-Date: 2024-03-01 17:07+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\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 "" + +#. type: TH +#: archlinux fedora-40 fedora-rawhide mageia-cauldron +#, no-wrap +msgid "Linux man-pages 6.06" +msgstr "" + +#. 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 "" + +#. 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 "" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +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 "" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +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 "" + +#. 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 "" + +#. type: Plain text +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +msgid "B<setbuffer>(), B<setlinebuf>():" +msgstr "" + +#. 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 "" + +#. 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 +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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. 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 "" + +#. type: tbl table +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed +#, no-wrap +msgid ".nh\n" +msgstr "" + +#. type: tbl table +#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide +#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "" +"B<setbuf>(),\n" +"B<setbuffer>(),\n" +"B<setlinebuf>(),\n" +"B<setvbuf>()" +msgstr "" + +#. 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 "" + +#. 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 +#, no-wrap +msgid "B<setbuf>()" +msgstr "" + +#. type: TQ +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +#, no-wrap +msgid "B<setvbuf>()" +msgstr "" + +#. type: Plain text +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-leap-15-6 opensuse-tumbleweed +msgid "C11, POSIX.1-2008." +msgstr "" + +#. 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 "" + +#. 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 "" + +#. type: Plain text +#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron +#: opensuse-tumbleweed +#, no-wrap +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 "" + +#. 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 "" + +#. type: TH +#: debian-bookworm +#, no-wrap +msgid "2023-02-05" +msgstr "" + +#. type: TH +#: debian-bookworm +#, no-wrap +msgid "Linux man-pages 6.03" +msgstr "" + +#. type: Plain text +#: debian-bookworm +msgid "The B<setbuf>() and B<setvbuf>() functions conform to C99." +msgstr "" + +#. 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 "" + +#. type: Plain text +#: debian-bookworm opensuse-leap-15-6 +#, no-wrap +msgid "" +"int\n" +"main(void)\n" +"{\n" +" char buf[BUFSIZ];\n" +msgstr "" + +#. type: Plain text +#: debian-bookworm opensuse-leap-15-6 +#, no-wrap +msgid "" +" setbuf(stdout, buf);\n" +" printf(\"Hello, world!\\en\");\n" +" return 0;\n" +"}\n" +msgstr "" + +#. type: TH +#: debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "2023-07-20" +msgstr "" + +#. type: TH +#: debian-unstable opensuse-tumbleweed +#, no-wrap +msgid "Linux man-pages 6.05.01" +msgstr "" + +#. type: TH +#: opensuse-leap-15-6 +#, no-wrap +msgid "2023-03-30" +msgstr "" + +#. type: TH +#: opensuse-leap-15-6 +#, no-wrap +msgid "Linux man-pages 6.04" +msgstr "" |