Sign in
third-party-mirror
/
mingw-w64
/
79951edef1e76a79d7ce0fa1cf94391b2f6b3d94
/
.
/
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
;
}