4 * Compare two strings ignoring case.
\r
6 * Taken from GLIBC 2.2.5. Original code is copyrighted "Free
\r
7 * Software Foundation" and published under the GNU Lesser General
\r
13 #include "strcmpi.h"
\r
15 int as_strcmpi (const char *s1, const char *s2)
\r
17 const unsigned char *p1 = (const unsigned char *) s1;
\r
18 const unsigned char *p2 = (const unsigned char *) s2;
\r
19 unsigned char c1, c2;
\r
26 c1 = tolower (*p1++);
\r
27 c2 = tolower (*p2++);
\r