반응형
void *memcpy(void *dest, const void *src, size_t n)
void *memcpy(void *dest, const void *src, size_t n) { char *dp = dest; const char *sp = src; while (n--) *dp++ = *sp++; return dest; }
반응형
void *memcpy(void *dest, const void *src, size_t n)
void *memcpy(void *dest, const void *src, size_t n) { char *dp = dest; const char *sp = src; while (n--) *dp++ = *sp++; return dest; }