summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
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