memrmem - find last occurrence of memory block within another memory block
Contents
Description
memrmem finds the last occurrence of memory block pat within memory block v.
Name
memrmem - find last occurrence of memory block within another memory block
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.
See Also
publib(3), memmem(3), strstr(3), strrstr(3)
Synopsis
#include <publib.h>
void *memrmem(const void *v, size_t size,
const void *pat, size_t patsize);
