blob: be23b6670f88b9268ad5806de17fcc497dc6147b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*
* mempcpy.c
*/
#include <string.h>
#include <stdint.h>
/* simply a wrapper around memcpy implementation */
void *mempcpy(void *dst, const void *src, size_t n)
{
return (char *)memcpy(dst, src, n) + n;
}
|