ReactOS 0.4.15-dev-7968-g24a56f8
tcsrchr.h File Reference
#include <tchar.h>
Include dependency graph for tcsrchr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

_TCHAR_tcsrchr (const _TCHAR *s, _XINT c)
 

Function Documentation

◆ _tcsrchr()

_TCHAR * _tcsrchr ( const _TCHAR s,
_XINT  c 
)

Definition at line 4 of file tcsrchr.h.

5{
6 _TCHAR cc = c;
7 const _TCHAR * sp = (_TCHAR *)0;
8
9 while(*s)
10 {
11 if(*s == cc) sp = s;
12 s ++;
13 }
14
15 if(cc == 0) sp = s;
16
17 return (_TCHAR *)sp;
18}
GLdouble s
Definition: gl.h:2039
char _TCHAR
Definition: tchar.h:1392
uint32_t cc
Definition: isohybrid.c:75
#define c
Definition: ke_i.h:80
static const WCHAR sp[]
Definition: suminfo.c:287