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