Name
strcoll function — Compares strings using locale’s collation order
Synopsis
int strcoll(const char* s1, const char* s2)
The strcoll
function
compares two null-terminated strings, interpreting the strings
according to the LC_COLLATE
(defined in <clocale>
)
category of the current C locale. The return value is the same as
that of strcmp
.
See Also
strcmp function,
wcscoll
in <cwchar>, collate
in <locale>
, <clocale>
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.