memrchr(3pub)

memrchr3pub

Find last occurrence of a character within another memory block

Usage

#include <publib.h>
void *memrchr(const void *v, int c, size_t size);

Overview

memrchr finds the last occurrence of character c within memory block v, of length size.

Return value

memrchr returns a pointer to the the match, if it finds any, or a null pointer if it doesn't.

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.