summaryrefslogtreecommitdiff
path: root/src/string/rindex.c
blob: 17df2bf2ecb89a109a3e7310d518dad76651b2fb (plain)
1
2
3
4
5
6
7
#include <string.h>
#include <strings.h>

char *rindex(const char *s, int c)
{
	return strrchr(s, c);
}