can't use default arguments in C code
stricmp -> strcasecmp