1.TH strcoll 3 scc\-VERSION2.SH NAME3strcoll - compare two strings according to the current locale4.SH SYNOPSIS5#include <string.h>67int strcoll (const char *s1, const char *s2)8.SH DESCRIPTION9The10.BR strcoll ()11function performs a locale-aware comparison of the string at12.I s113with the string at14.IR s2 .15Both strings are interpreted according to the LC_COLLATE category16of the current locale.17.PP18The result indicates whether19.I s120is lexicographically greater than, equal to, or less than21.I s222under the ordering rules of the active locale.23.SH RETURN VALUE24A positive integer is returned if25.I s126is greater than27.IR s2 ,28zero if the two strings are equal,29and a negative integer if30.I s131is less than32.IR s2 ,33according to the current locale collation order.34.SH STANDARDS35ISO/IEC 9899:1999 Section 7.21.4.3