mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 07:28:18 +00:00
20 lines
185 B
C
20 lines
185 B
C
|
/* $Id$
|
||
|
*/
|
||
|
|
||
|
#include <tchar.h>
|
||
|
|
||
|
int _tcscmp(const _TCHAR* s1, const _TCHAR* s2)
|
||
|
{
|
||
|
while(*s1 == *s2)
|
||
|
{
|
||
|
if(*s1 == 0) return 0;
|
||
|
|
||
|
s1 ++;
|
||
|
s2 ++;
|
||
|
}
|
||
|
|
||
|
return *s1 - *s2;
|
||
|
}
|
||
|
|
||
|
/* EOF */
|