tree-ssa-sink: Improve code sinking pass
[official-gcc.git] / libiberty / memcpy.c
blobc627fa4ee9ea67a2b0b4201028d2cfd59c97d2a6
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 void *
22 memcpy (void *out, const void *in, size_t length)
24 bcopy(in, out, length);
25 return out;