memrmem(3pub)

memrmem3pub

Find last occurrence of memory block within another memory block

Usage

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

Overview

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.

Releases

16 releases since Debian 1.2 (Rex); the text changed 5 times.

  1. 1.2–1.3
  2. 2.0–2.2
  3. 3.0
  4. 3.1–6.0
  5. 7–8
  6. 9–13

Author

Lars Wirzenius ([email protected])

From publib-dev 0.40-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.