5 /* setbuf( FILE *, char * )
7 This file is part of the Public Domain C Library (PDCLib).
8 Permission is granted to use, modify, and / or redistribute at will.
15 void setbuf( FILE * _PDCLIB_restrict stream, char * _PDCLIB_restrict buf )
17 /* TODO: Only allowed on a "virgin" stream; add check. */
20 setvbuf( stream, buf, _IONBF, BUFSIZ );
24 setvbuf( stream, buf, _IOFBF, BUFSIZ );
31 #include <_PDCLIB_test.h>
35 TESTCASE( NO_TESTDRIVER );