C++ Programming/Code/Standard C Library/Functions/setvbuf

< C++ Programming < Code < Standard C Library < Functions

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 one of:

Related topics
fflush - setbuf
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.