ReactOS  0.4.13-dev-257-gfabbd7c
tcscmp.h
Go to the documentation of this file.
1 
2 #include <tchar.h>
3 
4 #if defined(_MSC_VER)
5 #pragma function(_tcscmp)
6 #endif /* _MSC_VER */
7 
8 int _tcscmp(const _TCHAR* s1, const _TCHAR* s2)
9 {
10  while(*s1 == *s2)
11  {
12  if(*s1 == 0) return 0;
13 
14  s1 ++;
15  s2 ++;
16  }
17 
18  return *s1 - *s2;
19 }
20 
21 /* EOF */
struct S2 s2
int _tcscmp(const _TCHAR *s1, const _TCHAR *s2)
Definition: tcscmp.h:8
char _TCHAR
Definition: tchar.h:1392
struct S1 s1