int fputws(const wchar_t *ws, FILE *stream);
If stream is open in binary mode, the string is written as a series of UNICODE characters. Otherwise, it is translated into multibyte format on output.
If successful, the
Another process has the file locked.
stream is not 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 is made to write to a closed pipe.
If the stream is from a file opened in text mode, any linefeed embedded in the output string 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.2 Documentation Build 28.