summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1996-01-30 16:34:52 +0000
committerMike Pritchard <mpp@FreeBSD.org>1996-01-30 16:34:52 +0000
commita5ed710ccd3bc63d9258bd8aef8acbdaa6e978cf (patch)
tree8aeda37daf69a55f7b237234fddb55ae594d2322 /lib/libc/string
parent62bdf2b7c6dd3823fa1949663f065e808d777f2d (diff)
Notes
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strcoll.32
-rw-r--r--lib/libc/string/strxfrm.310
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/string/strcoll.3 b/lib/libc/string/strcoll.3
index 180434f79be5..08f48add48bc 100644
--- a/lib/libc/string/strcoll.3
+++ b/lib/libc/string/strcoll.3
@@ -53,7 +53,7 @@ lexicographically compares the null-terminated strings
.Fa s1
and
.Fa s2
-according to the current locale collation if any, otherwith call
+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
diff --git a/lib/libc/string/strxfrm.3 b/lib/libc/string/strxfrm.3
index 560267183f9e..308f942fad53 100644
--- a/lib/libc/string/strxfrm.3
+++ b/lib/libc/string/strxfrm.3
@@ -48,14 +48,14 @@
.Sh DESCRIPTION
The
.Fn strxfrm
-function transform null-terminating string pointed by
+function transforms a null-terminated string pointed to by
.Fa src
according to the current locale collation if any,
-then copied not more than
+then copies not more than
.Fa n-1
-characters of the result string into
+characters of the resulting string into
.Fa dst ,
-ending it whith null character and return result length.
+terminating it with a null character and then returns the resulting length.
Comparing two strings using
.Fn strcmp
after
@@ -64,7 +64,7 @@ is equal to comparing
two original strings with
.Fn strcoll .
.Sh BUGS
-Sometimes biheviour of this function is unpredicatable.
+Sometimes the behavior of this function is unpredictable.
.Sh SEE ALSO
.Xr setlocale 3 ,
.Xr strcmp 3 ,