mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
mdoc(7) police: add RETURN VALUES section.
PR: docs/27161 Submitted by: Kazuhiro KONDOU <k-fuji@za2.so-net.ne.jp>
This commit is contained in:
parent
bb60401e7a
commit
86315d60a0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76583
@ -58,8 +58,19 @@ functions
|
|||||||
compare the null-terminated strings
|
compare the null-terminated strings
|
||||||
.Fa s1
|
.Fa s1
|
||||||
and
|
and
|
||||||
.Fa s2
|
.Fa s2 .
|
||||||
and return an integer greater than, equal to, or less than 0,
|
.Pp
|
||||||
|
The
|
||||||
|
.Fn strncasecmp
|
||||||
|
compares at most
|
||||||
|
.Fa len
|
||||||
|
characters.
|
||||||
|
.Sh RETURN VALUES
|
||||||
|
The
|
||||||
|
.Fn strcasecmp
|
||||||
|
and
|
||||||
|
.Fn strncasecmp
|
||||||
|
return an integer greater than, equal to, or less than 0,
|
||||||
according as
|
according as
|
||||||
.Fa s1
|
.Fa s1
|
||||||
is lexicographically greater than, equal to, or less than
|
is lexicographically greater than, equal to, or less than
|
||||||
@ -70,12 +81,6 @@ The comparison is done using unsigned characters, so that
|
|||||||
.Sq Li \e200
|
.Sq Li \e200
|
||||||
is greater than
|
is greater than
|
||||||
.Ql \e0 .
|
.Ql \e0 .
|
||||||
.Pp
|
|
||||||
The
|
|
||||||
.Fn strncasecmp
|
|
||||||
compares at most
|
|
||||||
.Fa len
|
|
||||||
characters.
|
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr bcmp 3 ,
|
.Xr bcmp 3 ,
|
||||||
.Xr memcmp 3 ,
|
.Xr memcmp 3 ,
|
||||||
|
Loading…
Reference in New Issue
Block a user