#[unsafe(no_mangle)]pub unsafe extern "C" fn memcpy(
s1: *mut c_void,
s2: *const c_void,
n: size_t,
) -> *mut c_voidExpand description
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/memcpy.html.
ยงSafety
The caller must ensure that either:
nis 0, ors1is convertible to a&mut [MaybeUninit<u8>]with lengthn, ands2is convertible to a&[MaybeUninit<u8>]with lengthn.