diff options
Diffstat (limited to 'system/lib/libc/musl/src/string/mempcpy.c')
-rw-r--r-- | system/lib/libc/musl/src/string/mempcpy.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/lib/libc/musl/src/string/mempcpy.c b/system/lib/libc/musl/src/string/mempcpy.c new file mode 100644 index 00000000..c23ca69e --- /dev/null +++ b/system/lib/libc/musl/src/string/mempcpy.c @@ -0,0 +1,6 @@ +#include <string.h> + +void *mempcpy(void *dest, const void *src, size_t n) +{ + return (char *)memcpy(dest, src, n) + n; +} |