void * memrchr(void)

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.)

Returns

The memrchr() function returns a pointer to the matching byte or NULL if the character does not occur in the given memory area.