source:
trunk/sys/dietlibc/wcsrchr.c
@
67
Last change on this file since 67 was 1, checked in by , 8 years ago | |
---|---|
File size: 175 bytes |
Line | |
---|---|
1 | #include <wchar.h> |
2 | |
3 | wchar_t* wcsrchr(const wchar_t *wcs, wchar_t wc) { |
4 | wchar_t* last=0; |
5 | for (; *wcs; ++wcs) |
6 | if (*wcs == wc) |
7 | last=(wchar_t*)wcs; |
8 | return last; |
9 | } |
Note: See TracBrowser
for help on using the repository browser.