You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
192 B
C
13 lines
192 B
C
1 year ago
|
/* 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;
|
||
|
}
|