memcpy3 PHP_STRLCPY PHP_STRLCPY(dst, src, size, src_size) - 부제 : php7.0.6 소스 쪼개서 사용하기 1.소스(php.h) // // PHP_STRLCPY // write by jang, kyoung chip // #include #include /* * This is a fast version of strlcpy which should be used, if you * know the size of the destination buffer and if you know * the length of the source string. * * size is the allocated number of bytes of dst * src_size is the number of bytes excludi.. 2016. 7. 27. memcpy 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; } 2016. 7. 9. memcpy #include /* size_t */ 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; } 2016. 7. 9. 이전 1 다음