* config/i386/i386.c (ix86_legitimize_address): Declare
[official-gcc.git] / libiberty / memcpy.c
blob7f67d0bd1f26c8ef5e89bfdf7ea71d25cfb40c4c
1 /* memcpy (the standard C function)
2 This function is in the public domain. */
4 /*
6 @deftypefn Supplemental void* memcpy (void *@var{out}, const void *@var{in}, @
7 size_t @var{length})
9 Copies @var{length} bytes from memory region @var{in} to region
10 @var{out}. Returns a pointer to @var{out}.
12 @end deftypefn
16 #include <ansidecl.h>
17 #include <stddef.h>
19 void bcopy (const void*, void*, size_t);
21 PTR
22 memcpy (PTR out, const PTR in, size_t length)
24 bcopy(in, out, length);
25 return out;