Namespaces
Variants
Views
Actions

memcpy

From cppreference.com
< c | string | byte
Revision as of 13:05, 15 June 2012 by P12bot (Talk | contribs)
Defined in header <string.h>
void* memcpy( void* dest, const void* src, size_t count );

Copies count characters from the object pointed to by src to the object pointed to by dest. If the objects overlap, the behavior is undefined.

Contents

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

Example

See also

Template:c/string/byte/dcl list memmove