|
|
1.1 ! root 1: /* block copy from from to to, count bytes */ ! 2: static char *sccsid = "@(#)bcopy.c 6.1 10/18/80"; ! 3: bcopy(from, to, count) ! 4: #ifdef vax ! 5: char *from, *to; ! 6: int count; ! 7: { ! 8: ! 9: asm(" movc3 12(ap),*4(ap),*8(ap)"); ! 10: } ! 11: #else ! 12: register char *from, *to; ! 13: register int count; ! 14: { ! 15: while (count--) ! 16: *to++ = *from++; ! 17: } ! 18: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.