summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorabhinav <abhinav@NetBSD.org>2016-07-14 17:09:03 +0000
committerabhinav <abhinav@NetBSD.org>2016-07-14 17:09:03 +0000
commite43ae6bc06e68a973d6565498caa6ae0acc4df6d (patch)
tree1542916cb5fdd114e0faa85111e7f661a965bd11 /lib/libc/string
parentcba9efcb5c9c24eca43382da0ef0f970573f6888 (diff)
Add missing words and fix grammar.
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strcmp.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/string/strcmp.3 b/lib/libc/string/strcmp.3
index bcafe26ca31..9afa0a47dca 100644
--- a/lib/libc/string/strcmp.3
+++ b/lib/libc/string/strcmp.3
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)strcmp.3 8.1 (Berkeley) 6/4/93
-.\" $NetBSD: strcmp.3,v 1.13 2006/10/16 08:48:45 wiz Exp $
+.\" $NetBSD: strcmp.3,v 1.14 2016/07/14 17:09:03 abhinav Exp $
.\"
.Dd June 4, 1993
.Dt STRCMP 3
@@ -62,7 +62,7 @@ The
.Fn strcmp
and
.Fn strncmp
-return an integer greater than, equal to, or less than 0, according
+functions return an integer greater than, equal to, or less than 0, according
to whether the string
.Fa s1
is greater than, equal to, or less than the string
@@ -74,7 +74,7 @@ is greater than
.Pp
The
.Fn strncmp
-compares not more than
+function compares not more than
.Fa len
characters.
.Sh SEE ALSO
@@ -94,6 +94,6 @@ conform to
.Sh NOTES
If
.Fa len
-is zero
+is 0,
.Fn strncmp
-returns always 0.
+always returns 0.