

fgetw()                   STDIO Function                  fgetw()




Read integer from stream

#include <stdio.h>
iinntt ffggeettww(_f_p) FFIILLEE *_f_p;

fgetw reads an integer from the stream _f_p.

***** Example *****

For an example of this function, see the entry for ferror.

***** See Also *****

fputw(), STDIO

***** Notes *****

fgetw returns  EOF on errors.   A call to  feof or ferror  may be
necessary to  distinguish this  value from a  genuine end-of-file
signal.




































COHERENT Lexicon                                           Page 1


