1 2 #include <tchar.h> 3 4 _TCHAR * _tcschr(const _TCHAR * s, _XINT c) 5 { 6 _TCHAR cc = c; 7 8 while(*s) 9 { 10 if(*s == cc) return (_TCHAR *)s; 11 12 s++; 13 } 14 15 if(cc == 0) return (_TCHAR *)s; 16 17 return 0; 18 } 19 20 /* EOF */ 21