strcoll [C++ Reference]
Keywords: c,string,strcoll
Date: 2008-12-19T10:53:00-0800

[[strcoll]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## strcoll

Syntax:

        #include <cstring>
        int strcoll( const char *str1, const char *str2 );

The strcoll function compares `str1` and `str2`, much like strcmp. However, strcoll performs the comparison using the locale specified by the setlocale function.

Related Topics: setlocale, strcmp, strxfrm

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •