memcpy()

NAME

memcpy() - copy byte string

SYNOPSIS

#include <string.h>

void * memcpy (void *dst, const void *src, size_t len)

DESCRIPTION

The memcpy(3) function copies len bytes from string src to string dst.

Note that memcpy(3) is not a safe operation to use when src and dst may overlap; in that case, use memmove(3).

RETURN VALUES

The memcpy(3) function returns the original value of dst.

SEE ALSO

bcopy(3)

memmove(3)

strcpy(3)