Syntax | #include <stdio.h> void setbuf(FILE *stream, char *buf); |
Description |
The buffer size is not limited; however, the constant
If buf is not a null pointer, the following function calls are equivalent:
If buf is a null pointer, input and output are unbuffered, and the following calls are equivalent:
BS2000 In contrast to |
Notes | A common source of error is to use an "automatic" variable (i.e. a variable of storage class Since a portion of buf is required for internal administration data of the stream, buf will
BS2000 |
See also |
|