mirror of
https://github.com/autc04/Retro68.git
synced 2024-09-08 20:55:01 +00:00
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;
|
||
|
}
|