-finline-stringops: allow expansion into edges [PR113002]
[official-gcc.git] / libgcc / memcpy.c
blob58b1e405627aaac66d1973be344aed72cdeddc21
1 /* Public domain. */
2 #include <stddef.h>
4 void *
5 memcpy (void *dest, const void *src, size_t len)
7 char *d = dest;
8 const char *s = src;
9 while (len--)
10 *d++ = *s++;
11 return dest;