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