memicmp

Compares, with case insensitivity (uppercase and lowercase characters are equivalent), the first length characters of two objects.

Library:LibC
Classification:Other
Service:Characters and Strings

Syntax

  #include <string.h> 
   
  int memicmp (
     const void   *s1,   
     const void   *s2, 
     size_t        length);
  

Parameters

s1

(IN) Points to the first object to compare.

s2

(IN) Points to the second object to compare.

length

(IN) Specifies the number of characters to compare.

Return Values

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

See Also