|
|
1.1 root 1: #include <stdio.h>
2:
3: getw(iop)
4: register FILE *iop;
5: {
6: register i;
7: register char *p;
8: int w;
9:
10: p = (char *)&w;
11: for (i=sizeof(int); --i>=0;)
12: *p++ = getc(iop);
13: if (feof(iop))
14: return(EOF);
15: return(w);
16: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.