memrmem(3) find last occurrence of memory block within another memory block

SYNOPSIS


#include <publib.h>
void *memrmem(const void *v, size_t size,
const void *pat, size_t patsize);

DESCRIPTION

memrmem finds the last occurrence of memory block pat within memory block v.

RETURN VALUE

memrmem returns a pointer to the first byte of the match, if it finds any, or a null pointer if there are no matches.

AUTHOR

Lars Wirzenius ([email protected])