1: /*	@(#)getw.c	2.1	SCCS id keyword	*/
   2: #include    <stdio.h>
   3: 
   4: getw(iop)
   5: register struct _iobuf *iop;
   6: {
   7:     register i;
   8: 
   9:     i = getc(iop);
  10:     if (iop->_flag&_IOEOF)
  11:         return(-1);
  12:     return(i | (getc(iop)<<8));
  13: }

Defined functions

Last modified: 1981-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 680
Valid CSS Valid XHTML 1.0 Strict