diff options
author | dd <dd@FreeBSD.org> | 2006-08-14 08:21:27 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2006-08-14 08:21:27 +0000 |
commit | 04502e68b12a8f3cf92e510afb33d41bcace2c9c (patch) | |
tree | 9bd1538f5a7d644094d341f4cda86f83224299fa /lib/libc/string | |
parent | 462216939a87cd70e07c6b7af698d3da3f98cb25 (diff) | |
download | FreeBSD-src-04502e68b12a8f3cf92e510afb33d41bcace2c9c.zip FreeBSD-src-04502e68b12a8f3cf92e510afb33d41bcace2c9c.tar.gz |
Improve the wording. Remove the appositive about strcmp, putting the
first sentence back to the way it was. Add a second sentence that
explains the case when strcmp is called.
Diffstat (limited to 'lib/libc/string')
-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 a620108..3b7e388 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 , |