cpp/io/c/fputws

Writes every wide character from the null-terminated wide string to the output stream, as if by repeatedly executing std.

The terminating null wide character from is not written.

Return value
On success, returns a non-negative value

On failure, returns eof and sets the error indicator (see std) on.