blob: a297985e6853a38e254f762a80b11838eeb71fb8 [file] [log] [blame]
#define _GNU_SOURCE
#include <string.h>
void *mempcpy(void *dest, const void *src, size_t n)
{
return (char *)memcpy(dest, src, n) + n;
}