int putw(int w, FILE *stream);
This is a legacy function, inherently non-portable.
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.
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.
Integer length and format varies from platform to platform.
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.3 Documentation Build 39.