memcpy

Name

memcpy -- copies memory contents

Synopsis

#include <string.h>

void memcpy(char * dest, const char * src, size_t n);

Description

This function copies n bytes of memory from location pointed to by src to location buffer pointed to by dest.

See Also

strcpy, string

Examples

Moving memory from buffer to buffer