c/io/fputws

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

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 ferror) on.