| stricmp | Function (ROM Call 0x407)

AMS 2.00 or higher | string.h

short stricmp (const unsigned char *s1, const unsigned char *s1);

Performs case-insensitive string comparison.

stricmp acts like strcmp, but the comparison is case-insensitive. More precisely, it internally converts all lowercase characters to uppercase (unlike cmpstri, which converts all uppercase characters to lowercase).
Note: This function is buggy in the AMS versions 2.00 through 2.03: If s1 contains characters above 127 (i.e. extended/international characters), and these characters are really needed for the comparison, it always returns a negative value. So, if you really need to use this function, make sure that you never call it with such characters in s1.

Uses: CTypeTable
Used by: cmd_style, OO_AppNameToACB, ROM Call 0x131, ROM Call 0x4F6

See also: cmpstri, strcmp