musl-tcc/src/string/rindex.c

9 lines
124 B
C

#define _BSD_SOURCE
#include <string.h>
#include <strings.h>
char *rindex(const char *s, int c)
{
return strrchr(s, c);
}