C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
strcoll
 Summary                                   Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The strcoll function compares two null-terminated strings. It
     differs from strcmp in that it uses locale-specific information
     to provide locale-specific collating sequences. Currently, only
     the "C" locale is supported, rendering strcoll identical to
     strcmp.
 
     The strcoll function compares <string1> and <string2> in a
     manner determined by the LC_COLLATE macro and returns a value
     indicating their relationship, as follows:
 
     Value     Meaning
 
     < 0       <string1> is less than <string2>
     = 0       <string1> is identical to <string2>
     > 0       <string1> is greater than <string2>
 
     Return Value
 
     The return value for this function is described above.
                                    -♦-