summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1999-06-11 16:16:32 +0000
committermpp <mpp@FreeBSD.org>1999-06-11 16:16:32 +0000
commite1abb8d9ac8ee0bc112cd5add92a80a4066a1dcd (patch)
tree9701e1e29aa4158b1b726c1ffe268e957ff1d55a /lib
parentae6bae56ad9617f74b03c6136094405afa803521 (diff)
downloadFreeBSD-src-e1abb8d9ac8ee0bc112cd5add92a80a4066a1dcd.zip
FreeBSD-src-e1abb8d9ac8ee0bc112cd5add92a80a4066a1dcd.tar.gz
Move the description of the strncmp() function from the RETURN VALUES
section to the DESCRIPTION section. PR: 12133 Submitted by: Sheldon Hearn <sheldonh@uunet.co.za>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/string/strcmp.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/string/strcmp.3 b/lib/libc/string/strcmp.3
index 08e6c03..d84b900 100644
--- a/lib/libc/string/strcmp.3
+++ b/lib/libc/string/strcmp.3
@@ -58,6 +58,12 @@ lexicographically compare the null-terminated strings
.Fa s1
and
.Fa s2 .
+.Pp
+The
+.Fn strncmp
+compares not more than
+.Fa len
+characters.
.Sh RETURN VALUES
The
.Fn strcmp
@@ -72,12 +78,6 @@ The comparison is done using unsigned characters, so that
.Ql \e200
is greater than
.Ql \e0 .
-.Pp
-The
-.Fn strncmp
-compares not more than
-.Fa len
-characters.
.Sh SEE ALSO
.Xr bcmp 3 ,
.Xr memcmp 3 ,
OpenPOWER on IntegriCloud