ti83-sdk/lib83/memcpy.c
2023-10-08 15:05:03 +02:00

10 lines
192 B
C

#include <string.h>
void * memcpy(void * dest, const void * src, size_t n) {
register char * d = dest;
register const char * s = src;
while (n--) *d++ = *s++;
return dest;
}