blob: be23b6670f88b9268ad5806de17fcc497dc6147b [file] [log] [blame]
Greg Hartman76d05dc2016-11-23 15:51:27 -08001/*
2 * mempcpy.c
3 */
4
5#include <string.h>
6#include <stdint.h>
7
8/* simply a wrapper around memcpy implementation */
9
10void *mempcpy(void *dst, const void *src, size_t n)
11{
12
13 return (char *)memcpy(dst, src, n) + n;
14}