wint_t putwc(wchar_t wc, FILE *stream);
If stream is open in binary mode, then wc is written as a UNICODE character. Otherwise wc is translated to the corresponding multibyte character on output.
If successful, the
Another process has the file locked.
The value stream is not a pointer to a valid stream opened for writing.
The file is a regular file and an attempt was made to write at or beyond the offset maximum associated with the corresponding stream.
A signal interrupted the call.
An output error occurred.
Memory could not be allocated for internal buffers.
An attempt was made to write to a full disk.
A device error occurred.
An attempt was made to write to a closed pipe.
If stream is open in text mode, then linefeed is translated into carriage-return linefeed on output. No such translation occurs for files open 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.2 Documentation Build 28.