memcpy [C++ Reference]
Keywords: c,string,memcpy
Date: 2008-10-14T15:42:02-0700

[[memcpy]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- fr
- it
- jp
- pl
- ru
- tr

## 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.

Related Topics: memchr, memcmp, memmove, memset, strcpy, strlen, strncpy

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •