memmem

glibc function. Looks for b_ptr[0 .. b_len] in a_ptr[0 .. a_len] and returns - a pointer to the first occurrence if found or - null if not found or - a_ptr if b_len == 0.

extern (C)
inout(void)*
memmem
(
inout(void)* a_ptr
,
size_t a_len
,
const(void)* b_ptr
,
size_t b_len
)

Meta