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

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