1: #if defined(LIBC_SCCS) && !defined(lint)
   2: static char sccsid[] = "@(#)getw.c	5.2 (Berkeley) 3/9/86";
   3: #endif LIBC_SCCS and not lint
   4: 
   5: #include <stdio.h>
   6: 
   7: getw(iop)
   8: register FILE *iop;
   9: {
  10:     register i;
  11:     register char *p;
  12:     int w;
  13: 
  14:     p = (char *)&w;
  15:     for (i=sizeof(int); --i>=0;)
  16:         *p++ = getc(iop);
  17:     if (feof(iop))
  18:         return(EOF);
  19:     return(w);
  20: }

Defined functions

Defined variables

sccsid defined in line 2; never used
Last modified: 1986-03-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 853
Valid CSS Valid XHTML 1.0 Strict