Difference between revisions of "cpp/string/byte/memcpy"
From cppreference.com
m (Text replace - "{{params}}" to "===Parameters===") |
m (Text replace - "{{returns}}" to "===Return value===") |
||
Line 16: | Line 16: | ||
<!-- ======== --> | <!-- ======== --> | ||
− | + | ===Return value=== | |
{{tt|dest}} | {{tt|dest}} |
Revision as of 17:49, 2 August 2011
Template:cpp/string/narrow/sidebar
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.
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 |
Return value
dest
This section is incomplete Reason: no example |