mirror of
https://github.com/reactos/reactos.git
synced 2024-09-23 11:08:53 +00:00
23 lines
215 B
C
23 lines
215 B
C
|
/* $Id$
|
||
|
*/
|
||
|
|
||
|
#include <tchar.h>
|
||
|
|
||
|
_TCHAR * _tcschr(const _TCHAR * s, _XINT c)
|
||
|
{
|
||
|
_TCHAR cc = c;
|
||
|
|
||
|
while(*s)
|
||
|
{
|
||
|
if(*s == cc) return (_TCHAR *)s;
|
||
|
|
||
|
s++;
|
||
|
}
|
||
|
|
||
|
if(cc == 0) return (_TCHAR *)s;
|
||
|
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
/* EOF */
|