Annotation of 42BSD/etc/dump.4.1/l3tol.c, revision 1.1.1.1

1.1       root        1: #ifndef lint
                      2: static char sccsid[] = "@(#)l3tol.c    4.1 (Berkeley) 8/11/83";
                      3: #endif
                      4: 
                      5: l3tol(lp, cp, n)
                      6: long   *lp;
                      7: char   *cp;
                      8: int    n;
                      9: {
                     10:        register i;
                     11:        register char *a, *b;
                     12: 
                     13:        a = (char *)lp;
                     14:        b = cp;
                     15:        for(i=0;i<n;i++) {
                     16: #ifdef interdata
                     17:                *a++ = 0;
                     18:                *a++ = *b++;
                     19:                *a++ = *b++;
                     20:                *a++ = *b++;
                     21: #else
                     22:                *a++ = *b++;
                     23:                *a++ = *b++;
                     24:                *a++ = *b++;
                     25:                *a++ = 0;
                     26: #endif
                     27:        }
                     28: }

unix.superglobalmegacorp.com

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