mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:13:03 +00:00
Create a branch for header work.
svn path=/branches/header-work/; revision=45691
This commit is contained in:
parent
14fe274b1c
commit
9ea495ba33
19538 changed files with 0 additions and 1063950 deletions
22
lib/sdk/crt/string/tcsrchr.h
Normal file
22
lib/sdk/crt/string/tcsrchr.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
/* $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 */
|
Loading…
Add table
Add a link
Reference in a new issue