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