< C++ Programming < Code < Standard C Library < Functions
memcpy
Syntax |
#include <cstring>
void *memcpy( void *to, const void *from, size_t count );
|
The function memcpy() copies count characters from the array from to the array to. The return value of memcpy() is to. The behavior of memcpy() is undefined if to and from overlap.
This article is issued from
Wikibooks.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.