update for HEAD-2003091401
[reactos.git] / lib / string / tcschr.h
1 /* $Id$
2  */
3
4 #include <tchar.h>
5
6 _TCHAR * _tcschr(const _TCHAR * s, _XINT c)
7 {
8  _TCHAR cc = c;
9
10  while(*s)
11  {
12   if(*s == cc) return (_TCHAR *)s;
13
14   s++;
15  }
16
17  if(cc == 0) return (_TCHAR *)s;
18
19  return 0;
20 }
21
22 /* EOF */