Annotation of researchv9/libc/stdio/putw.c, revision 1.1

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

unix.superglobalmegacorp.com

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