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