Defines and sets a stream input/output buffer area by the user program.
void setbuf (FILE *fp, char buf[BUFSIZ]);
The setbuf function defines the storage area pointed to by buf so that it can be used as an input/output buffer area for the stream input/output file indicated by file pointer fp. As a result, input/output processing is performed using a buffer area of size BUFSIZ.