memmem3pub
Search for memory block inside another memory block
Usage
#include <publib.h>
void *memmem(const void *v, size_t size,
const void *pat, size_t patsize);
Overview
memmem searches for the pattern pat (length patsize bytes) in the memory block v (length size bytes).
Return value
memmem returns a pointer to the first byte of the first occurrence it finds, or NULL if it doesn't find any occurrence.
Releases
16 releases since Debian 1.2 (Rex); the text changed 5 times.