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