|
|
1.1 ! root 1: /* blkcopy.c - blkcopy */ ! 2: ! 3: #include <kernel.h> ! 4: ! 5: /*------------------------------------------------------------------------ ! 6: * blkcopy - copy a block of memory form one location to another ! 7: *------------------------------------------------------------------------ ! 8: */ ! 9: blkcopy(to, from, nbytes) ! 10: register char *to; ! 11: register char *from; ! 12: register int nbytes; ! 13: { ! 14: while (--nbytes >= 0) ! 15: *to++ = *from++; ! 16: return(OK); ! 17: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.