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