Syntax | #include <string.h> void *memcpy(void *s1, const void *s2, size_t n); | |
Description |
s1 is a pointer to the memory area to which the bytes are to be copied. s2 is a pointer to the memory area from which the first n bytes are to be copied. n is an integer value that specifies the number of bytes in s2 to be copied. | |
Return val. | Pointer to the memory area s1 | |
successful. | ||
Notes | This function is suitable for processing character arrays, which, in contrast to character
The behavior is undefined if memory areas overlap. | |
See also |
|