English
Language : 

ZAURA Datasheet, PDF (82/99 Pages) –
ZAURA RF Wireless Library
Programmer’s Reference Manual
70
ZAURA_RF_ShellStricmp
Description The ZAURA_RF_ShellStricmp function performs a case insensitive
comparison on the characters in strings s1 and s2.
Syntax
INT8 ZAURA_RF_ShellStricmp(char * s1, char * s2)
Parameters
s1
A pointer to the first string to compare.
s2
A pointer to the second string to compare.
Returns 0 if identical (regardless of case), a signed integer if they are unequal, a
positive number if s1 is more than s2, and a negative number if s2 is more than s1.
Example
if( ZAURA_RF_ShellStricmp("MyCmd", pZAURA_RF_Token[0]) ==
0)
{
// Operator entered a command like "mycmd" or "mYcMD"
}
ZAURA RF Wireless Shell API Reference
RM006003-1011