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>
This commit is contained in:
Mike Pritchard 1999-06-11 16:16:32 +00:00
parent ad227d8bcc
commit fa91ff2797
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47879

View File

@ -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 ,