#[unsafe(no_mangle)]pub unsafe extern "C" fn memmem(
haystack: *const c_void,
haystacklen: size_t,
needle: *const c_void,
needlelen: size_t,
) -> *mut c_voidExpand description
See https://pubs.opengroup.org/onlinepubs/9799919799/functions/memmem.html.
ยงSafety
The caller must ensure that:
haystackis convertible to a&[u8]with lengthhaystacklen, andneedleis convertible to a&[u8]with lengthneedlelen.