projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
more fmemopen null termination fixes
[oweals/musl.git]
/
src
/
string
/
mempcpy.c
1
#include <string.h>
2
3
void *mempcpy(void *dest, const void *src, size_t n)
4
{
5
memcpy(dest, src, n);
6
return (char *)dest + n;
7
}