source:
EcnlProtoTool/trunk/musl-1.1.18/src/string/wcsrchr.c@
445
Last change on this file since 445 was 444, checked in by , 4 years ago | |
---|---|
|
|
File size: 164 bytes |
Line | |
---|---|
1 | #include <wchar.h> |
2 | |
3 | wchar_t *wcsrchr(const wchar_t *s, wchar_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 | } |
Note:
See TracBrowser
for help on using the repository browser.