summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1996-01-30 16:34:52 +0000
committermpp <mpp@FreeBSD.org>1996-01-30 16:34:52 +0000
commit62cdcaa268e9ad16b906a817690d3036e0f12eee (patch)
tree8aeda37daf69a55f7b237234fddb55ae594d2322 /lib/libc/string
parentb907f5fc5abd92ae1ae59cab85c8a350e7b3ec74 (diff)
downloadFreeBSD-src-62cdcaa268e9ad16b906a817690d3036e0f12eee.zip
FreeBSD-src-62cdcaa268e9ad16b906a817690d3036e0f12eee.tar.gz
Fix even more spelling errors in some more man pages.
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 180434f..08f48ad 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 5602671..308f942 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 ,
OpenPOWER on IntegriCloud