summaryrefslogtreecommitdiff
path: root/src/string/mempcpy.c
blob: e54251cd12956f79fad7331cda8510c8f820b6bd (plain) (blame)
1
2
3
4
5
6
7
#include <string.h>

void *mempcpy(void *dest, void *src, size_t n)
{
	memcpy(dest, src, n);
	return (char *)dest + n;
}