1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2 #include <crtdll/stdio.h>
3 #include <crtdll/stdlib.h>
4 #include <crtdll/internal/file.h>
7 setbuf(FILE *f, char *buf)
10 setvbuf(f, buf, _IOFBF, BUFSIZ);
12 setvbuf(f, 0, _IONBF, BUFSIZ);