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.36
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/string/strcoll.3 b/lib/libc/string/strcoll.3
index 95774f6..08f48ad 100644
--- a/lib/libc/string/strcoll.3
+++ b/lib/libc/string/strcoll.3
@@ -53,17 +53,15 @@ lexicographically compares the null-terminated strings
.Fa s1
and
.Fa s2
-according to the current locale collation
+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 bcmp 3 ,
-.Xr memcmp 3 ,
.Xr setlocale 3 ,
-.Xr strcasecmp 3 ,
.Xr strcmp 3 ,
.Xr strxfrm 3
.Sh STANDARDS
OpenPOWER on IntegriCloud