| 153 | } |
| 154 | |
| 155 | int Strcasecmp(const char * str1, const char * str2) |
| 156 | { |
| 157 | if (!str1 || !str2) |
| 158 | { |
| 159 | throw Exception("String pointer for comparison must not be null."); |
| 160 | } |
| 161 | |
| 162 | #ifdef _WIN32 |
| 163 | return ::_stricmp(str1, str2); |
| 164 | #else |
| 165 | return ::strcasecmp(str1, str2); |
| 166 | #endif |
| 167 | } |
| 168 | |
| 169 | int Strncasecmp(const char * str1, const char * str2, size_t n) |
| 170 | { |
no outgoing calls