memccpy
-
💡 [C언어] memccpy 함수 설명 및 예시| 프로그래밍 분야/C 2021. 5. 4. 15:27
💡 man memccpy NAME memccpy -- copy string until character found LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include void * memccpy(void *restrict dst, const void *restrict src, int c, size_t n); DESCRIPTION The memccpy() function copies bytes from string src to string dst. If the character c (as converted to an unsigned char) occurs in the string src, the copy stops and a pointer to the byt..