__strnicmp
function · crt · boundary
- Address
0x414310· 257 bytes, up to0x414410- Meaning
- Compares up to n bytes of two strings without case; with no locale set it folds A to Z and orders the bytes unsigned
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- net/friends#strings-without-case
- Test
net::friends_compare
Finding: Strings without case in net: friends
SStrCmpI (0x64a4c0, (a, b, n)) calls __strnicmp (0x414310) for two non-null strings, and otherwise sets error 0x57 and returns the first pointer less the second. __strnicmp runs its C locale path, since the locale word 0x883b08 stays 0: A to Z fold to lower case, the first pair that differs decides -1 or 1 unsigned, and a NUL in either string or the bound ends the compare; a bound of 0 is equal.
The derivation is in the doc.
Callers 4
- _LangCountryEnumProc@4 crt
- _LanguageEnumProc@4 crt
- SStrCmpI storm
- FindSwitchByPrefix storm
Callees 3
Calls and jumps by a bare address, from tables/calls.tsv.