From cppreference.com
< c‎ | io
Defined in header <wchar.h>
int fputws( const wchar_t *str, FILE *stream );

Writes given null-terminated wide string to the given output stream.

[edit] Parameters

str - null-terminated wide string to be written
stream - output stream

[edit] Return value

non-negative integer on success, WEOF on failure

[edit] See also

writes a character string to a file stream
prints formatted wide character output to stdout, a file stream or a buffer
writes a wide string to a file stream
gets a wide string from a file stream
C++ documentation for fputws