blob: f71444d4992b92072b8dabc76ec1f1d5b3601be0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#include <stddef.h>
void*
memcpy(void *dest, const void *src, size_t n)
{
const unsigned char *s = src;
for(unsigned char *d = dest; n; n--)
*(d++) = *(s++);
return dest;
}
|