scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1.TH strcoll 3 scc\-VERSION
 2.SH NAME
 3strcoll - compare two strings according to the current locale
 4.SH SYNOPSIS
 5#include <string.h>
 6
 7int strcoll (const char *s1, const char *s2)
 8.SH DESCRIPTION
 9The
10.BR strcoll ()
11function performs a locale-aware comparison of the string at
12.I s1
13with the string at
14.IR s2 .
15Both strings are interpreted according to the LC_COLLATE category
16of the current locale.
17.PP
18The result indicates whether
19.I s1
20is lexicographically greater than, equal to, or less than
21.I s2
22under the ordering rules of the active locale.
23.SH RETURN VALUE
24A positive integer is returned if
25.I s1
26is greater than
27.IR s2 ,
28zero if the two strings are equal,
29and a negative integer if
30.I s1
31is less than
32.IR s2 ,
33according to the current locale collation order.
34.SH STANDARDS
35ISO/IEC 9899:1999 Section 7.21.4.3