fputws function — Writes a wide string
int fputws(const wchar_t* str, FILE* stream)
The fputws function writes the wide string str to stream. It returns EOF (not WEOF) for an error, or a nonnegative value for success.
fputws
str
stream
EOF
WEOF
fgetws function, fputwc function, fputs in <cstdio>
fputs
<cstdio>