API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

STD_STRNICMP()

Brew Release
Brew MP 1.0.2
Description
The std_strnicmp() compares at most n bytes of 2 NUL-terminated character strings, case-folding any ASCII characters.
Params
n
[]:
maximum number of bytes to compare. if either s1 or s2 is shorter than n, the function terminates there
Interface
Prototype
  •    int std_strnicmp(const char *s1, const char *s2, int n);
    
Return
  • 0 if strings are the same
    < 0 if s1 is less than s2
    > 0 if s1 is greater than s2