1 #include <string.h> 2 strrchr(const char * s,int c)3 char *strrchr(const char *s, int c) 4 { 5 return __memrchr(s, c, strlen(s) + 1); 6 } 7