* c-common.c (catenate_strings): New.
[official-gcc.git] / gcc / config / 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;