mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-09 07:30:05 +00:00
12 lines
250 B
C
12 lines
250 B
C
#include <sys/types.h>
|
|
|
|
void* memcpy(void* __dest, __const void* __src,
|
|
size_t __n)
|
|
{
|
|
int i;
|
|
char *d = (char *)__dest, *s = (char *)__src;
|
|
|
|
for (i=0;i<__n;i++) d[i] = s[i];
|
|
return __dest;
|
|
}
|