1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
3 #include <msvcrt/stdio.h>
4 #include <msvcrt/internal/file.h>
5 #include <msvcrt/string.h>
7 //int fputws(const wchar_t* wsOutput, FILE* fileWrite)
8 //int fputs(const char *s, FILE *f)
11 fputws(const wchar_t* s, FILE* f)
16 wchar_t localbuf[BUFSIZ];
18 unbuffered = f->_flag & _IONBF;
22 f->_ptr = f->_base = localbuf;