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

void *__memrchr(const void *, int, size_t);

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