133965Sjdp/* memcpy (the standard C function) 233965Sjdp This function is in the public domain. */ 333965Sjdp 433965Sjdp/* 533965Sjdp 689857Sobrien@deftypefn Supplemental void* memcpy (void *@var{out}, const void *@var{in}, size_t @var{length}) 733965Sjdp 889857SobrienCopies @var{length} bytes from memory region @var{in} to region 989857Sobrien@var{out}. Returns a pointer to @var{out}. 1089857Sobrien 1189857Sobrien@end deftypefn 1289857Sobrien 1333965Sjdp*/ 1433965Sjdp 1533965Sjdp#include <ansidecl.h> 1633965Sjdp#include <stddef.h> 1733965Sjdp 18218822Sdimvoid bcopy (const void*, void*, size_t); 19130561Sobrien 2033965SjdpPTR 21218822Sdimmemcpy (PTR out, const PTR in, size_t length) 2233965Sjdp{ 2333965Sjdp bcopy(in, out, length); 2433965Sjdp return out; 2533965Sjdp} 26