stricoll()

Locale-aware collating string comparison that ignores letter case.

  #include <extras/extras_string.h>
  
  int stricoll(const char *s1, const char *s2);    
Parameter

s1

A pointer to a null-terminated character string.

s2

A pointer to a null-terminated character string.

Remarks

This function compares each character at s1 and s2 using the collating sequence specified by the LC_COLLATE component of the current locale. This function returns one of these values:

This facility is not specified in the ISO/IEC standards. It is an EWL extension of the standard libraries.