1#include <wchar.h>23#undef wcsrchr45wchar_t *6wcsrchr(const wchar_t *s, wchar_t c)7{8 wchar_t *t;910 for (t = (wchar_t *) s; *t; ++t)11 ;12 while (t > s && *t != c)13 --t;1415 return (*t == c) ? t : NULL;16}
A fork of https://git.simple-cc.org/scc/ for Qute
git clone https://git.8pit.net/scc.git
1#include <wchar.h>23#undef wcsrchr45wchar_t *6wcsrchr(const wchar_t *s, wchar_t c)7{8 wchar_t *t;910 for (t = (wchar_t *) s; *t; ++t)11 ;12 while (t > s && *t != c)13 --t;1415 return (*t == c) ? t : NULL;16}