|
|
coherent
getw() STDIO Function getw() Read word from file stream #include <stdio.h> iinntt ggeettww(_f_p) FFIILLEE *_f_p; getw reads a word (an iinntt) from the file stream _f_p. getw differs from getc in that getw gets and returns an iinntt, whereas getc returns either a cchhaarr promoted to an iinntt, or EOF. To detect EOF while using ggeettww, you must use feof. ***** See Also ***** canon, getc(), STDIO ***** Notes ***** getw returns EOF on errors. getw 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. COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.