blob: 291dc6f499a2db2a3310e405eb254e1433200c32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include <wchar.h>
wchar_t * wcsrchr(const wchar_t * s, wchar_t c)
{
wchar_t *last = NULL;
while (*s) {
if (*s == c) {
last = (wchar_t*)s;
}
s++;
}
return last;
}
/*
STDC(199409)
*/
|