diff options
| author | Dima Dorfman <dd@FreeBSD.org> | 2006-08-14 08:21:27 +0000 |
|---|---|---|
| committer | Dima Dorfman <dd@FreeBSD.org> | 2006-08-14 08:21:27 +0000 |
| commit | 01510e402d8168c6200372fb3424bef87e51f016 (patch) | |
| tree | 9bd1538f5a7d644094d341f4cda86f83224299fa | |
| parent | aa822c3979167b8e9e76087f27e502d0fa6d0164 (diff) | |
Notes
| -rw-r--r-- | lib/libc/string/strcoll.3 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/string/strcoll.3 b/lib/libc/string/strcoll.3 index a62010818c56..3b7e3887832a 100644 --- a/lib/libc/string/strcoll.3 +++ b/lib/libc/string/strcoll.3 @@ -56,13 +56,16 @@ lexicographically compares the null-terminated strings .Fa s1 and .Fa s2 -according to the current locale collation if any, otherwise call -.Fa strcmp , +according to the current locale collation 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 . +If information about the current locale collation is not available, +the value of +.Fn strcmp s1 s2 +is returned. .Sh SEE ALSO .Xr setlocale 3 , .Xr strcmp 3 , |
