mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 15:10:53 +00:00
c501d8112c
svn path=/branches/aicom-network-fixes/; revision=34994
22 lines
237 B
C
22 lines
237 B
C
/* $Id$
|
|
*/
|
|
|
|
#include <tchar.h>
|
|
|
|
_TCHAR * _tcsrchr(const _TCHAR * s, _XINT c)
|
|
{
|
|
_TCHAR cc = c;
|
|
const _TCHAR * sp = (_TCHAR *)0;
|
|
|
|
while(*s)
|
|
{
|
|
if(*s == cc) sp = s;
|
|
s ++;
|
|
}
|
|
|
|
if(cc == 0) sp = s;
|
|
|
|
return (_TCHAR *)sp;
|
|
}
|
|
|
|
/* EOF */
|