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
getw
defined in line
4; used 34 times
- in /usr/src/cmd/plot/vplot.c line
106-109(4),
124-133(6),
151-152(2),
161-162(2),
169,
194-199(5)
- in /usr/src/cmd/refer/refer/hunt2.c line
14,
33,
49,
85-86(2)
- in /usr/src/cmd/refer/util/hunt2.c line
18,
72,
118,
250-251(2)
- in /usr/src/cmd/refer/util/inv5.c line
9,
37
- in /usr/src/cmd/refer/util/inv6.c line
77-78(2)