about summary refs log tree commit diff
path: root/src/string/mempcpy.c
blob: 1b323f1eef21e48981387f3656384ff0fa94aa0e (plain) (blame)
1
2
3
4
5
6
7
#include <string.h>

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