source: trunk/sys/dietlibc/wcsrchr.c @ 211

Last change on this file since 211 was 1, checked in by alain, 8 years ago

First import

File size: 175 bytes
Line 
1#include <wchar.h>
2
3wchar_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.