Lstricmp

Compares lowercase versions of two strings.

Library:LibC
Classification:Other
Service:Characters and Strings

Syntax

  #include <string.h> 
   
  int Lstricmp (
     const char   *s1,   
     const char   *s2);
  

Parameters

s1

(IN) Points to a null-terminated string to compare.

s2

(IN) Points to a null-terminated string to compare.

Return Values

Returns 0 if the two strings match. Otherwise, it returns an integer less than or greater than 0, depending on whether s1 is lexicographically less than or greater than s2.

Remarks

The Lstricmp function is a double-byte character interface. It compares, with case insensitivity, the string pointed to by s1 to the string pointed to by s2. All uppercase characters from s1 and s2 are mapped to lowercase for the comparison.

See Also