4 /* UnixWare doesn't have these functions in its standard C library */
6 int strncasecmp (char *s1, char *s2, size_t n)
8 register int c1, c2, l = 0;
10 while (*s1 && *s2 && l < n)
12 c1 = tolower ((unsigned char) *s1);
13 c2 = tolower ((unsigned char) *s2);
23 return (int) (*s1 - *s2);
26 int strcasecmp (char *s1, char *s2)
32 c1 = tolower ((unsigned char) *s1);
33 c2 = tolower ((unsigned char) *s2);
39 return (int) (*s1 - *s2);