qc.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
────────────────────────────────────────────────────────────────────────────
 
     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 may 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.
                                    -♦-