ReactOS 0.4.15-dev-8028-g8e799e2
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
8int _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 */
#define _tcscmp
Definition: tchar.h:1424
char _TCHAR
Definition: tchar.h:1392
struct S1 s1
struct S2 s2