MicrOS
|
#include "../stdio.h"
Functions | |
int | setvbuf (FILE *stream, char *buffer, int mode, size_t size) |
Change stream buffering. More... | |
Change stream buffering.
Specifies a buffer for stream. The function allows to specify the mode and size of the buffer (in bytes). If buffer is a null pointer, the function automatically allocates a buffer (using size as a hint on the size to use).
stream | Pointer to a FILE object that identifies the stream to be closed. |
buffer | User allocated buffer. Shall be at least BUFSIZ bytes long. |
mode | Specifies a mode for file buffering (full buffering: _IOFBF, line buffering: _IOLBF, no buffering: _IONBF). |
size | User allocated buffer. Shall be at least BUFSIZ bytes long. |