Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/string Add missing words and fix grammar.



details:   https://anonhg.NetBSD.org/src/rev/9e2219cc79a9
branches:  trunk
changeset: 346476:9e2219cc79a9
user:      abhinav <abhinav%NetBSD.org@localhost>
date:      Thu Jul 14 17:09:03 2016 +0000

description:
Add missing words and fix grammar.

diffstat:

 lib/libc/string/strcmp.3 |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r cb599bb1bf96 -r 9e2219cc79a9 lib/libc/string/strcmp.3
--- a/lib/libc/string/strcmp.3  Thu Jul 14 16:09:56 2016 +0000
+++ b/lib/libc/string/strcmp.3  Thu Jul 14 17:09:03 2016 +0000
@@ -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 @@
 .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 @@
 .Pp
 The
 .Fn strncmp
-compares not more than
+function compares not more than
 .Fa len
 characters.
 .Sh SEE ALSO
@@ -94,6 +94,6 @@
 .Sh NOTES
 If
 .Fa len
-is zero
+is 0,
 .Fn strncmp
-returns always 0.
+always returns 0.



Home | Main Index | Thread Index | Old Index