Debian Codegraph @

templates/man3/setbuf.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "setbuf"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2025-09-21"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "setbuf, setbuffer, setlinebuf, setvbuf - stream buffering operations"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>stdio.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
81 #: opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<int setvbuf(>size_t size;\n"
85 "B< FILE *restrict >I<stream>B<, char >I<buf>B<[restrict >I<size>B<],>\n"
86 "B< int >I<mode>B<, size_t >I<size>B<);>\n"
87 msgstr ""
88
89 #. type: Plain text
90 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
91 #: opensuse-tumbleweed
92 #, no-wrap
93 msgid ""
94 "B<void setbuf(FILE *restrict >I<stream>B<, char *restrict >I<buf>B<);>\n"
95 "B<void setbuffer(>size_t size;\n"
96 "B< FILE *restrict >I<stream>B<, char >I<buf>B<[restrict >I<size>B<],>\n"
97 "B< size_t >I<size>B<);>\n"
98 "B<void setlinebuf(FILE *>I<stream>B<);>\n"
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
106 msgstr ""
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid "B<setbuffer>(), B<setlinebuf>():"
112 msgstr ""
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 #, no-wrap
118 msgid ""
119 " Since glibc 2.19:\n"
120 " _DEFAULT_SOURCE\n"
121 " glibc 2.19 and earlier:\n"
122 " _BSD_SOURCE\n"
123 msgstr ""
124
125 #. type: SH
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid "DESCRIPTION"
130 msgstr ""
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "The three types of buffering available are unbuffered, block buffered, and "
137 "line buffered. When an output stream is unbuffered, information appears on "
138 "the destination file or terminal as soon as written; when it is block "
139 "buffered, many characters are saved up and written as a block; when it is "
140 "line buffered, characters are saved up until a newline is output or input is "
141 "read from any stream attached to a terminal device (typically I<stdin>). "
142 "The function B<fflush>(3) may be used to force the block out early. (See "
143 "B<fclose>(3).)"
144 msgstr ""
145
146 #. type: Plain text
147 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
148 #: opensuse-tumbleweed
149 msgid ""
150 "Normally, all files are block buffered. If a stream refers to a terminal "
151 "(as I<stdout> normally does), it is line buffered. The standard error "
152 "stream I<stderr> is always unbuffered by default."
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid ""
159 "The B<setvbuf>() function may be used on any open stream to change its "
160 "buffer. The I<mode> argument must be one of the following three macros:"
161 msgstr ""
162
163 #. type: TP
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 #, no-wrap
167 msgid "B<_IONBF>"
168 msgstr ""
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid "unbuffered"
174 msgstr ""
175
176 #. type: TP
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "B<_IOLBF>"
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid "line buffered"
187 msgstr ""
188
189 #. type: TP
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "B<_IOFBF>"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid "fully buffered"
200 msgstr ""
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "Except for unbuffered files, the I<buf> argument should point to a buffer at "
207 "least I<size> bytes long; this buffer will be used instead of the current "
208 "buffer. If the argument I<buf> is NULL, only the mode is affected; a new "
209 "buffer will be allocated on the next read or write operation. The "
210 "B<setvbuf>() function may be used only after opening a stream and before "
211 "any other operations have been performed on it."
212 msgstr ""
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 "The other three calls are, in effect, simply aliases for calls to "
219 "B<setvbuf>(). The B<setbuf>() function is exactly equivalent to the call"
220 msgstr ""
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid "setvbuf(stream, buf, buf ? _IOFBF : _IONBF, BUFSIZ);"
226 msgstr ""
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid ""
232 "The B<setbuffer>() function is the same, except that the size of the buffer "
233 "is up to the caller, rather than being determined by the default B<BUFSIZ>. "
234 "The B<setlinebuf>() function is exactly equivalent to the call:"
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 "setvbuf(stream, NULL, _IOLBF, 0);"
241 msgstr ""
242
243 #. type: SH
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "RETURN VALUE"
248 msgstr ""
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "The function B<setvbuf>() returns 0 on success. It returns nonzero on "
255 "failure (I<mode> is invalid or the request cannot be honored). It may set "
256 "I<errno> on failure."
257 msgstr ""
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid "The other functions do not return a value."
263 msgstr ""
264
265 #. type: SH
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 #, no-wrap
269 msgid "ATTRIBUTES"
270 msgstr ""
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "For an explanation of the terms used in this section, see B<attributes>(7)."
277 msgstr ""
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 "Interface"
284 msgstr ""
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 "Attribute"
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 "Value"
298 msgstr ""
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 ".na\n"
305 msgstr ""
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 ".nh\n"
312 msgstr ""
313
314 #. type: tbl table
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid ""
319 "B<setbuf>(),\n"
320 "B<setbuffer>(),\n"
321 "B<setlinebuf>(),\n"
322 "B<setvbuf>()"
323 msgstr ""
324
325 #. type: tbl table
326 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
327 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
328 #, no-wrap
329 msgid "Thread safety"
330 msgstr ""
331
332 #. type: tbl table
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 #, no-wrap
336 msgid "MT-Safe"
337 msgstr ""
338
339 #. type: SH
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "STANDARDS"
344 msgstr ""
345
346 #. type: TP
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "B<setbuf>()"
351 msgstr ""
352
353 #. type: TQ
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, no-wrap
357 msgid "B<setvbuf>()"
358 msgstr ""
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid "C11, POSIX.1-2008."
364 msgstr ""
365
366 #. type: SH
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "HISTORY"
371 msgstr ""
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid "C89, POSIX.1-2001."
377 msgstr ""
378
379 #. type: SH
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "CAVEATS"
384 msgstr ""
385
386 #. https://www.austingroupbugs.net/view.php?id=397#c799
387 #. 0000397: setbuf and errno
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 msgid ""
392 "POSIX notes that the value of I<errno> is unspecified after a call to "
393 "B<setbuf>() and further notes that, since the value of I<errno> is not "
394 "required to be unchanged after a successful call to B<setbuf>(), "
395 "applications should instead use B<setvbuf>() in order to detect errors."
396 msgstr ""
397
398 #. type: SH
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, no-wrap
402 msgid "BUGS"
403 msgstr ""
404
405 #. The
406 #. .BR setbuffer ()
407 #. and
408 #. .BR setlinebuf ()
409 #. functions are not portable to versions of BSD before 4.2BSD, and
410 #. are available under Linux since libc 4.5.21.
411 #. On 4.2BSD and 4.3BSD systems,
412 #. .BR setbuf ()
413 #. always uses a suboptimal buffer size and should be avoided.
414 #. .P
415 #. type: Plain text
416 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
417 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
418 msgid ""
419 "You must make sure that the space that I<buf> points to still exists by the "
420 "time I<stream> is closed, which also happens at program termination. For "
421 "example, the following is invalid:"
422 msgstr ""
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid ""
429 "#include E<lt>stdio.hE<gt>\n"
430 "\\&\n"
431 "int\n"
432 "main(void)\n"
433 "{\n"
434 " char buf[BUFSIZ];\n"
435 "\\&\n"
436 " setbuf(stdout, buf);\n"
437 " printf(\"Hello, world!\\[rs]n\");\n"
438 " return 0;\n"
439 "}\n"
440 msgstr ""
441
442 #. SRC END
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 "SEE ALSO"
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 ""
454 "B<stdbuf>(1), B<fclose>(3), B<fflush>(3), B<fopen>(3), B<fread>(3), "
455 "B<malloc>(3), B<printf>(3), B<puts>(3)"
456 msgstr ""
457
458 #. type: TH
459 #: debian-trixie
460 #, no-wrap
461 msgid "2024-06-15"
462 msgstr ""
463
464 #. type: TH
465 #: debian-trixie
466 #, no-wrap
467 msgid "Linux man-pages 6.9.1"
468 msgstr ""
469
470 #. type: Plain text
471 #: debian-trixie
472 msgid "Standard C library (I<libc>, I<-lc>)"
473 msgstr ""
474
475 #. type: Plain text
476 #: debian-trixie fedora-44 fedora-rawhide
477 #, no-wrap
478 msgid ""
479 "B<int setvbuf(FILE *restrict >I<stream>B<, char >I<buf>B<[restrict .>I<size>B<],>\n"
480 "B< int >I<mode>B<, size_t >I<size>B<);>\n"
481 msgstr ""
482
483 #. type: Plain text
484 #: debian-trixie fedora-44 fedora-rawhide
485 #, no-wrap
486 msgid ""
487 "B<void setbuf(FILE *restrict >I<stream>B<, char *restrict >I<buf>B<);>\n"
488 "B<void setbuffer(FILE *restrict >I<stream>B<, char >I<buf>B<[restrict .>I<size>B<],>\n"
489 "B< size_t >I<size>B<);>\n"
490 "B<void setlinebuf(FILE *>I<stream>B<);>\n"
491 msgstr ""
492
493 #. type: Plain text
494 #: debian-trixie fedora-44 fedora-rawhide
495 msgid ""
496 "Normally all files are block buffered. If a stream refers to a terminal (as "
497 "I<stdout> normally does), it is line buffered. The standard error stream "
498 "I<stderr> is always unbuffered by default."
499 msgstr ""
500
501 #. type: TH
502 #: fedora-44 fedora-rawhide
503 #, no-wrap
504 msgid "2024-07-23"
505 msgstr ""
506
507 #. type: TH
508 #: fedora-44 fedora-rawhide
509 #, no-wrap
510 msgid "Linux man-pages 6.13"
511 msgstr ""
512
513 #. type: TH
514 #: mageia-cauldron
515 #, no-wrap
516 msgid "Linux man-pages 6.17"
517 msgstr ""
518
519 #. type: TH
520 #: opensuse-leap-16-1 opensuse-tumbleweed
521 #, no-wrap
522 msgid "Linux man-pages (unreleased)"
523 msgstr ""