2.2.10 void * memrchr
void * memrchr(const void *, int, size_t) __ATTR_PURE__
The memrchr() function is like the memchr() function, except that it searches backwards from the end of the len
bytes pointed to by src
instead of forwards from the front. (Glibc, GNU extension.)
Remember:
The memrchr() function returns a pointer to the matching byte or NULL
if the character does not occur in the given memory area.