fputw() STDIO fputw() Write an integer into a stream #include <stdio.h> int fputw(word, fp) int word; FILE *fp; fputw writes word into the file stream pointed to by fp, and returns the value written. ***** Example ***** For an example of this function, see the entry for fgetw. ***** See Also ***** fgetw(), STDIO ***** Diagnostics ***** fputw returns EOF when an error occurs. A call to ferror or feof may be needed to distinguish this value from a valid end-of-file signal. COHERENT Lexicon Page 1