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

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