C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_putw
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _putw function writes a binary value of type int to the
     current position of the stream. The _putw function does not affect
     the alignment of items in the stream, nor does it assume any
     special alignment.
 
     The _putw function is provided primarily for compatibility with
     previous libraries. Note that portability problems can occur with
     _putw, since the size of an int and ordering of bytes within an
     int differ across systems.
 
     Return Value
 
     The _putw function returns the value written. A return value of
     EOF may indicate an error. Since EOF is also a legitimate integer
     value, ferror should be used to verify an error.
                                    -♦-