ggeettww() -- STDIO Function (libc)

Read word from file stream
#iinncclluuddee <ssttddiioo.hh>
iinntt ggeettww(_f_p) FFIILLEE *_f_p;

ggeettww() reads a word (an iinntt) from the file stream _f_p.

ggeettww() differs from ggeettcc() in that  ggeettww() gets and returns an iinntt, whereas
ggeettcc() returns  either a cchhaarr  promoted to an  iinntt, or EOF.   To detect EOF
while using ggeettww(), you must use ffeeooff().

_S_e_e _A_l_s_o
ccaannoonn, ggeettcc(), lliibbcc

_N_o_t_e_s
ggeettww() returns EOF on errors.

ggeettww() assumes  that the bytes of  the word it receives  are in the natural
byte ordering  of the  machine.  This  means that such  files might  not be
portable between machines.
