Annotation of researchv9/libc/fio/fioprint.c, revision 1.1

1.1     ! root        1: #define        FIO_IMP
        !             2: #include       <fio.h>
        !             3: 
        !             4: Fprint(f, fmt, args)
        !             5:        char *fmt;
        !             6: {
        !             7:        char buf[FIOBSIZE], *out;
        !             8:        register long n;
        !             9:        extern char *doprint();
        !            10: 
        !            11:        out = doprint(buf, fmt, (char *)&args);
        !            12:        n = out-buf;
        !            13:        if(Fwrite(f, buf, n) != n)
        !            14:                return(-1);
        !            15:        else
        !            16:                return((int)n);
        !            17: }

unix.superglobalmegacorp.com

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