Sign in
third-party-mirror
/
mingw-w64
/
8d3d95f7e286a4e46c13f82643c28b85c48755c1
/
.
/
mingw-w64-crt
/
misc
/
mempcpy.c
blob: f4e7ed9f6c6c4b9cf92da1dfbbb6862778217629 [
file
] [
log
] [
blame
]
#define
__CRT__NO_INLINE
#include
<string.h>
void
*
__cdecl
mempcpy
(
void
*
d
,
const
void
*
s
,
size_t
len
)
{
char
*
r
=
((
char
*)
d
)
+
len
;
if
(
len
!=
0
)
memcpy
(
d
,
s
,
len
);
return
r
;
}