6 #if defined(STDC_HEADERS) || defined(HAVE_STRING_H)
13 * The following function compares the first 'n' characters in 's1'
14 * and 's2' without considering case. It returns less than, equal to
15 * or greater than zero if 's1' is lexicographically less than, equal
16 * to or greater than 's2'.
20 strncasecmp(s1, s2, n)
27 if ( (s1 == s2 ) || (n == 0) )
30 * the arguments are identical or there are no characters to be
38 c1 = (unsigned char)tolower(*s1++);
39 c2 = (unsigned char)tolower(*s2++);