:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / lib / msvcrt / wstring / wcschr.c
1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
3 #include <msvcrt/string.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 }