copy memory area

You're viewing an older version of this page (#3259). View the current version.

View versions (3)

NAME

memcpy

INTERFACE

#include <string.h> void memcpy ( void *dst, const void *src, size_t len )

DESCRIPTION

The memcpy() function copies len bytes from memory area src to memory area dst. If src and dst overlap, behavior is undefined. Applications in which src and dst might overlap should use memmove instead.

RETURN VALUES

The memcpy function returns the original value of dst.

SEE ALSO

reference:bcopy, reference:memccpy, memmove, strcpy