(ANSI Standard)
#include <stdio.h> stat = setvbuf(f,b,type,size);
"setvbuf" is included for compatibility with the ANSI standard. In this version of C "setvbuf" does nothing, because the machine already buffers its I/O. The value returned is always non-zero, indicating "failure". Since the library does not use the buffer that "b" points to, there is no reason for the program to retain it; it can be freed.
Copyright © 1996, Thinkage Ltd.