Outputs one wide character to a stream input/output file.
wint_t putwc(wchar_t c, FILE *fp);
When a write error occurs, the error indicator for that file is set.
The putwc function is equivalent to fputwc, but putwc may evaluate fp two or more times because it is implemented as a macro. Accordingly, specify an expression without side effects for fp.