1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrt/string.h>
3 #include <msvcrt/ctype.h>
9 _stricmp(const char *s1, const char *s2)
11 while (toupper(*s1) == toupper(*s2))
18 return toupper(*(unsigned const char *)s1) - toupper(*(unsigned const char *)(s2));
25 _strcmpi(const char *s1, const char *s2)
27 return _stricmp(s1,s2);