Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/io/c/setvbuf"

From cppreference.com
< cpp‎ | io‎ | c
m (Text replace - "{{returns}}" to "===Return value===")
m (Text replace - "{{see also}}" to "===See also===")
Line 24: Line 24:
  
 
<!-- ======== -->
 
<!-- ======== -->
{{see also}}
+
===See also===
 
{{dcl list begin}}
 
{{dcl list begin}}
 
{{dcl list template | cpp/io/c/dcl list setbuf}}
 
{{dcl list template | cpp/io/c/dcl list setbuf}}
 
{{dcl list end}}
 
{{dcl list end}}

Revision as of 18:01, 2 August 2011

Template:cpp/io/c/sidebar

Defined in header <cstdio>
int setvbuf( FILE *stream, char *buffer, int mode, size_t size );

Sets the internal buffer of the given file stream stream.

Parameters

stream - the file stream to set the buffer to
buffer - pointer to a buffer for the stream to use
mode - buffering mode to use. It can be one of the following values:
_IOFBF full buffering
_IOLBF line buffering
_IONBF no buffering
size - size of the buffer

Return value

Template:return none

See also

Template:cpp/io/c/dcl list setbuf