std::memcpy
From Cppreference
C++ Standard Library |
---|
Strings library |
Narrow null-terminated strings |
Defined in header <cstring>
|
||
void *memcpy( void *dest, const void *src, size_t count );
|
||
Copies count bytes from a memory location, pointed to by src to another location, pointed to by dest. If the memory regions overlap, the behavior is undefined.
Contents |
[edit] Parameters
dest | - | pointer to the memory location to copy to |
src | - | pointer to the memory location to copy from |
count | - | number of bytes to copy |
[edit] Return value
dest
[edit] Example
This section is incomplete |
[edit] See also
|
moves one buffer to another (function) |