Annotation of 43BSD/ucb/ex/bcopy.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1980 Regents of the University of California.
        !             3:  * All rights reserved.  The Berkeley software License Agreement
        !             4:  * specifies the terms and conditions for redistribution.
        !             5:  */
        !             6: 
        !             7: #ifndef lint
        !             8: static char *sccsid = "@(#)bcopy.c     7.3 (Berkeley) 6/7/85";
        !             9: #endif not lint
        !            10: 
        !            11: /* block copy from from to to, count bytes */
        !            12: bcopy(from, to, count)
        !            13: #ifdef vax
        !            14:        char *from, *to;
        !            15:        int count;
        !            16: {
        !            17: 
        !            18:        asm("   movc3   12(ap),*4(ap),*8(ap)");
        !            19: }
        !            20: #else
        !            21:        register char *from, *to;
        !            22:        register int count;
        !            23: {
        !            24:        while ((count--) > 0)   /* mjm */
        !            25:                *to++ = *from++;
        !            26: }
        !            27: #endif

unix.superglobalmegacorp.com

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