wint_t fputwc(wchar_t wc, FILE *stream);
If stream is open in binary mode, wc is written as a UNICODE character. Otherwise, wc is translated to the corresponding multibyte character on output.
Another process has the file locked.
stream is not a valid stream opened for writing.
A signal interrupted the call.
An output error occurred.
Memory could not be allocated for internal buffers.
An attempt is made to write to a full disk.
A device error occurred.
An attempt is made to write to a closed pipe.
If the stream is from a file opened in text mode, linefeed is translated to carriage-return linefeed on output. No such translation occurs for files opened in binary mode.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.1 patch 1 Documentation Build 2.