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