setbuf function — Sets file buffer
void setbuf(FILE* stream, char* buf)
The setbuf function sets the buffer to use when reading from or writing to stream. The size of buf must be at least BUFSIZ characters.
setbuf
stream
buf
BUFSIZ
BUFSIZ macro, setvbuf function