repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
select: overhaul for time64
[musl.git]
/
src
/
string
/
mempcpy.c
blob
a297985e6853a38e254f762a80b11838eeb71fb8
1
#define _GNU_SOURCE
2
#include <string.h>
3
4
void
*
mempcpy
(
void
*
dest
,
const void
*
src
,
size_t
n
)
5
{
6
return
(
char
*)
memcpy
(
dest
,
src
,
n
) +
n
;
7
}