forked from KolibriOS/kolibrios
c7fc8e91d0
git-svn-id: svn://kolibrios.org@6515 a494cfbc-eb01-0410-851d-a64ba20cac60
13 lines
192 B
C
13 lines
192 B
C
/* Public domain. */
|
|
#include <stddef.h>
|
|
|
|
void *
|
|
memcpy (void *dest, const void *src, size_t len)
|
|
{
|
|
char *d = dest;
|
|
const char *s = src;
|
|
while (len--)
|
|
*d++ = *s++;
|
|
return dest;
|
|
}
|