git://git.jankratochvil.net
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git]
/
lib
/
string
/
tcsrchr.h
1
/* $Id$
2
*/
3
4
#include <tchar.h>
5
6
_TCHAR * _tcsrchr(const _TCHAR * s, _XINT c)
7
{
8
_TCHAR cc = c;
9
const _TCHAR * sp = (_TCHAR *)0;
10
11
while(*s)
12
{
13
if(*s == cc) sp = s;
14
s ++;
15
}
16
17
if(cc == 0) sp = s;
18
19
return (_TCHAR *)sp;
20
}
21
22
/* EOF */