Synopsis
char *strrchr(const char *s,
              int c);
Description

strrchr locates the last occurrence of c (converted to a char) in the string pointed to by s. The terminating null character is considered to be part of the string.

strrchr returns a pointer to the character, or a null pointer if c does not occur in the string.