Annotation of 40BSD/libc/stdio/putw.c, revision 1.1.1.1

1.1       root        1: #include <stdio.h>
                      2: 
                      3: putw(w, iop)
                      4: register FILE *iop;
                      5: {
                      6:        register char *p;
                      7:        register i;
                      8: 
                      9:        p = (char *)&w;
                     10:        for (i=sizeof(int); --i>=0;)
                     11:                putc(*p++, iop);
                     12:        return(ferror(iop));
                     13: }

unix.superglobalmegacorp.com

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