121652Sdist /*
221652Sdist * Copyright (c) 1980 Regents of the University of California.
321652Sdist * All rights reserved. The Berkeley software License Agreement
421652Sdist * specifies the terms and conditions for redistribution.
521652Sdist */
621652Sdist
721652Sdist #ifndef lint
8*30596Sconrad static char *sccsid = "@(#)bcopy.c 7.4 (Berkeley) 03/09/87";
921652Sdist #endif not lint
1021652Sdist
11560Smark /* block copy from from to to, count bytes */
bcopy(from,to,count)12560Smark bcopy(from, to, count)
13560Smark #ifdef vax
14560Smark char *from, *to;
15560Smark int count;
16560Smark {
17*30596Sconrad #ifndef vms
18560Smark asm(" movc3 12(ap),*4(ap),*8(ap)");
19*30596Sconrad /* ARGSUSED */
20*30596Sconrad #else
21*30596Sconrad lib$movc3(&count, from, to);
22*30596Sconrad #endif
23560Smark }
24560Smark #else
25560Smark register char *from, *to;
26560Smark register int count;
27560Smark {
2821677Sdist while ((count--) > 0) /* mjm */
29560Smark *to++ = *from++;
30560Smark }
31560Smark #endif
32