update for HEAD-2003091401
[reactos.git] / lib / string / tcscmp.h
diff --git a/lib/string/tcscmp.h b/lib/string/tcscmp.h
new file mode 100644 (file)
index 0000000..f94af94
--- /dev/null
@@ -0,0 +1,19 @@
+/* $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 */