Case insensitive string compare */
| 20 | |
| 21 | /* Case insensitive string compare */ |
| 22 | int strcmpci(const char *a, const char *b) { |
| 23 | for (;;) { |
| 24 | int d = tolower(*a) - tolower(*b); |
| 25 | if (d != 0 || !*a) { |
| 26 | return d; |
| 27 | } |
| 28 | a++, b++; |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | /* Returns the next string in the split data */ |
| 33 | static char* next(ini_t *ini, char *p) { |
no outgoing calls
no test coverage detected