1 #define _BSD_SOURCE
2 #include <string.h>
3 #include <strings.h>
4 
rindex(const char * s,int c)5 char* rindex(const char* s, int c) {
6     return strrchr(s, c);
7 }
8