Commit | Line | Data |
---|---|---|
1bd0b214 BJ |
1 | /* Copyright (c) 1979 Regents of the University of California */ |
2 | #include <stdio.h> | |
3 | ||
4 | putw(i, iop) | |
5 | register i; | |
6 | register struct _iobuf *iop; | |
7 | { | |
8 | putc(i, iop); | |
9 | putc(i>>=8, iop); | |
10 | putc(i>>=8, iop); | |
11 | putc(i>>=8, iop); | |
12 | } | |
13 | short putsh(i, iop) | |
14 | register i; | |
15 | register struct _iobuf *iop; | |
16 | { | |
17 | putc(i, iop); | |
18 | putc(i>>8, iop); | |
19 | } |