Difference between revisions of "cpp/io/c/setvbuf"
From cppreference.com
m (Text replace - "{{return none}}" to "(none)") |
m (seelaso to filebuf::setbuf()) |
||
Line 24: | Line 24: | ||
{{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 template | cpp/io/basic_filebuf/dcl list setbuf | mem=std::basic_filebuf}} | ||
{{dcl list end}} | {{dcl list end}} |
Revision as of 09:10, 21 December 2011
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:
| ||||||
size | - | size of the buffer |
Return value
(none)