unicoll

Compares two Unicode strings, using the collating table of the current locale.

Library:LibC
Service:Characters and Strings

Syntax

  #include <unilib.h> 
   
  int unicoll (
     const unicode_t   *s1,
     const unicode_t   *s2);
  

Parameters

s1

(IN) Points to a string to use in the comparison.

s2

(IN) Points to a string to use in the comparison.

Return Values

The unicoll function returns an integer less than, equal to, or greater than 0, indicating that the string pointed to by s1 is less than, equal to, or greater than the string pointed to by s2, according to the collating table selected.

See Also

unincoll