File:  [MW Coherent from dump] / coherent / a / usr / man / ALL / getw
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
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



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.