summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcoll.3
diff options
context:
space:
mode:
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