setbuffer

Name

setbuffer -- stream buffering operation

Synopsis

#include <stdio.h>

void setbuffer(FILE * stream, char * buf, size_t size);

Description

setbuffer() is an alias for the call to setvbuf(). It works the same, except that the size of the buffer in setbuffer() is up to the caller, rather than being determined by the default BUFSIZ.