1 /* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
5 int _strnicmp(const char *s1
, const char *s2
, size_t n
)
11 if (toupper(*s1
) != toupper(*s2
++))
12 return toupper(*(unsigned const char *)s1
) - toupper(*(unsigned const char *)--s2
);