/* bcopy and bcopyl. See COPYLEFT.JRD. */ #ifdef __GNUC__ /* doing things right, 32-bit ints? ok, just do it this way... */ asm (".text"); asm (".even\n.globl\t_bcopy\n_bcopy:"); #else void bcopyl(); void bcopy(buf1, buf2, nbytes) char * buf1; char * buf2; long nbytes; { bcopyl(buf1, buf2, nbytes); } #endif void bcopyl(buf1, buf2, nbytes) char * buf1; char * buf2; long nbytes; { for ( ; nbytes > 0 ; --nbytes) *buf2++ = *buf1++; }