stStrICmp function
Declaration:
int stStrICmp(
  const PSTR s1,
  const PSTR s2
);
Parameters:
s1

Address of the first string.

src

Address of the second string.

Return value:

Function returns negative value if s1 is less than s2, positive value if s1 i greater than s2 or zero (0) if the both are equal.

Description:

Function compares two strings, with case insensitivity.

If functions for basic operations on string are inactive for alternative C library by setting ST_USE_STRING_CLIB for 1, it will be created stStrICmp macro that will call stricmp function from standard C library.

Version:1.0
Header file:ST_CLIB.h (include ST_API.h)
See also: PSTR, ST_USE_STRING_CLIB
SpaceShadow documentation