summaryrefslogtreecommitdiff
path: root/src/string/strrchr.c
blob: 635fb3c1dcde17abaf662e8cb9952c00e45f5471 (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) + 1);
}