This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / lib / crtdll / wchar / wcschr.c
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
3 #include <crtdll/wchar.h>
4
5 wchar_t* wcschr(const wchar_t* str, wchar_t ch)
6 {
7         while ((*str)!=0)
8         {
9                 if ((*str)==ch)
10                 {
11                         return((wchar_t *)str);
12                 }
13                 str++;
14         }
15         return(NULL);
16 }