

fputw()                       STDIO                       fputw()




Write an integer into a stream

#include <stdio.h>
iinntt ffppuuttww(_w_o_r_d, _f_p) iinntt _w_o_r_d; FFIILLEE *_f_p;

fputw  writes _w_o_r_d  into the  file stream pointed  to by  _f_p, and
returns the value written.

***** Example *****

For an example of this function, see the entry for ffggeettww.

***** 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


