int fputc(int c, FILE *stream);
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.
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 Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.0 Documentation Build 6.