8 #define TOLOWER(Ch) (isupper (Ch) ? tolower (Ch) : (Ch))
10 /* Compare no more than N characters of S1 and S2,
11 ignoring case, returning less than, equal to or
12 greater than zero if S1 is lexicographically less
13 than, equal to or greater than S2. */
16 strncasecmp (const char *s1, const char *s2, size_t n)
18 register const unsigned char *p1 = (const unsigned char *) s1;
19 register const unsigned char *p2 = (const unsigned char *) s2;
22 if (p1 == p2 || n == 0)
29 if (c1 == '\0' || c1 != c2)