c/io/fputwc

Writes a wide character to the given output stream. may be implemented as a macro and may evaluate more than once.

Return value
Returns a copy of on success.

On failure, returns weof and sets the error indicator (see ferror) on.

If an encoding error occurred, additionally sets errno to eilseq.