Annotation of 3BSD/lib/libNS/putw.c, revision 1.1

1.1     ! root        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: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.