about summary refs log tree commit diff
path: root/src/string/strrchr.c
blob: 98ad1b04549244230eb62fb4bba0e277876d5131 (plain) (blame)
1
2
3
4
5
6
#include <string.h>

char *strrchr(const char *s, int c)
{
	return __memrchr(s, c, strlen(s) + 1);
}