summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcoll.3
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-08-13 17:03:18 +0000
committerache <ache@FreeBSD.org>1996-08-13 17:03:18 +0000
commit3ba537ecfe2ab1290c1a9710fd0766979614ce7a (patch)
treeac378725cfdd0263fb218296c9c0d68e408c1e7a /lib/libc/string/strcoll.3
parent5353c9c28576d84c8560a7c6a4bdedead2448d47 (diff)
downloadFreeBSD-src-3ba537ecfe2ab1290c1a9710fd0766979614ce7a.zip
FreeBSD-src-3ba537ecfe2ab1290c1a9710fd0766979614ce7a.tar.gz
Back out fallback approximation changes, they are not so right to live
Diffstat (limited to 'lib/libc/string/strcoll.3')
-rw-r--r--lib/libc/string/strcoll.311
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libc/string/strcoll.3 b/lib/libc/string/strcoll.3
index c81762e..08f48ad 100644
--- a/lib/libc/string/strcoll.3
+++ b/lib/libc/string/strcoll.3
@@ -53,10 +53,13 @@ lexicographically compares the null-terminated strings
.Fa s1
and
.Fa s2
-according to the current locale collation if any, otherwise some
-approximation procedure is used based on available
-.Xr ctype 3
-information.
+according to the current locale collation if any, otherwise call
+.Fa strcmp ,
+and returns an integer greater than, equal to, or less than 0,
+according as
+.Fa s1
+is greater than, equal to, or less than
+.Fa s2 .
.Sh SEE ALSO
.Xr setlocale 3 ,
.Xr strcmp 3 ,
OpenPOWER on IntegriCloud