13 lines
208 B
C
13 lines
208 B
C
#include <ctype.h>
|
|
|
|
#include "cw.h"
|
|
|
|
int cw_stricmp(char const *a, char const *b)
|
|
{
|
|
for (;; a++, b++) {
|
|
int d = tolower(*a) - tolower(*b);
|
|
if (d != 0 || !*a)
|
|
return d;
|
|
}
|
|
}
|