2 * getw - read a word from a stream
4 /* $Id: getw.c,v 1.2 1994/06/24 11:45:24 ceriel Exp $ */
8 int getw(register FILE *stream)
10 register int cnt = sizeof(int);
12 register char *p = (char *) &w;
17 if (feof(stream) || ferror(stream)) return EOF;