memrchr
find last occurrence of a character within another memory block
- Provided by: publib-dev (Version: 0.40-3build1)
- Source: publib
- Report a bug
find last occurrence of a character within another memory block
#include <publib.h> void *memrchr(const void *v, int c, size_t size);
memrchr finds the last occurrence of character c within memory block v, of length size.
memrchr returns a pointer to the the match, if it finds any, or a null pointer if it doesn't.
Lars Wirzenius (lars.wirzenius@helsinki.fi)