1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2 #include <msvcrt/string.h>
3 #include <msvcrt/ctype.h>
6 _stricmp(const char *s1
, const char *s2
)
8 while (toupper(*s1
) == toupper(*s2
))
15 return toupper(*(unsigned const char *)s1
) - toupper(*(unsigned const char *)(s2
));
19 _strcmpi(const char *s1
, const char *s2
)
21 return _stricmp(s1
,s2
);