setvbuf [C++ Reference]
Keywords: c,io,setvbuf
Date: 2008-10-14T15:42:01-0700

[[setvbuf]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## setvbuf

Syntax:

        #include <cstdio>
        int setvbuf( FILE *stream, char *buffer, int mode, size_t size );

The function setvbuf() sets the buffer for stream to be buffer, with a size of size. mode can be:

* _IOFBF, which indicates full buffering * _IOLBF, which means line buffering * _IONBF, which means no buffering

Related Topics: setbuf

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •