1 /* bcopy -- copy memory regions of arbitary length
3 @deftypefn Supplemental void bcopy (char *@var{in}, char *@var{out}, int @var{length})
5 Copies @var{length} bytes from memory region @var{in} to region
6 @var{out}. The use of @code{bcopy} is deprecated in new programs.
13 bcopy (register char *src
, register char *dest
, int len
)
20 char *lasts
= src
+ (len
-1);
21 char *lastd
= dest
+ (len
-1);
23 *(char *)lastd
-- = *(char *)lasts
--;