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