Associates a buffer with an input or output file and potentially modifies the buffering behavior. Format #include <stdio.h> int setvbuf (FILE *file_ptr, char *buffer, int type, size_t size);