summaryrefslogtreecommitdiff
path: root/src/string/rindex.c
blob: 693c750b6b653c4a25f0c31ac12c43dabe08c152 (plain) (blame)
1
2
3
4
5
6
7
8
#define _BSD_SOURCE
#include <string.h>
#include <strings.h>

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