projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7503475abaee9a2ca7363cb05165f38e5b2541aa
[oweals/musl.git]
/
src
/
string
/
wcsrchr.c
1
#include <wchar.h>
2
3
wchar_t *wcsrchr(const wchar_t *s, wint_t c)
4
{
5
const wchar_t *p;
6
for (p=s+wcslen(s); p>=s && *p!=c; p--);
7
return p>=s ? (wchar_t *)p : 0;
8
}