40 unsigned char ch1 = (
unsigned char) *
s1++;
41 unsigned char ch2 = (
unsigned char) *
s2++;
45 if (ch1 >=
'A' && ch1 <=
'Z')
50 if (ch2 >=
'A' && ch2 <=
'Z')
56 return (
int) ch1 - (int) ch2;
73 unsigned char ch1 = (
unsigned char) *
s1++;
74 unsigned char ch2 = (
unsigned char) *
s2++;
78 if (ch1 >=
'A' && ch1 <=
'Z')
83 if (ch2 >=
'A' && ch2 <=
'Z')
89 return (
int) ch1 - (int) ch2;
107 if (ch >=
'a' && ch <=
'z')
124 if (ch >=
'A' && ch <=
'Z')
137 if (ch >=
'a' && ch <=
'z')
148 if (ch >=
'A' && ch <=
'Z')
#define IS_HIGHBIT_SET(ch)
int pg_strcasecmp(const char *s1, const char *s2)
unsigned char pg_toupper(unsigned char ch)
unsigned char pg_tolower(unsigned char ch)
unsigned char pg_ascii_tolower(unsigned char ch)
unsigned char pg_ascii_toupper(unsigned char ch)
int pg_strncasecmp(const char *s1, const char *s2, size_t n)