aboutsummaryrefslogtreecommitdiffstats
path: root/man3/strcasecmp.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/strcasecmp.3')
-rw-r--r--man3/strcasecmp.314
1 files changed, 11 insertions, 3 deletions
diff --git a/man3/strcasecmp.3 b/man3/strcasecmp.3
index 5e7327398c..5acb947318 100644
--- a/man3/strcasecmp.3
+++ b/man3/strcasecmp.3
@@ -37,16 +37,24 @@ strcasecmp, strncasecmp \- compare two strings ignoring case
.BI "int strncasecmp(const char *" s1 ", const char *" s2 ", size_t " n );
.fi
.SH DESCRIPTION
-The \fBstrcasecmp\fP() function compares the two strings \fIs1\fP and
+The
+.BR strcasecmp ()
+function compares the two strings \fIs1\fP and
\fIs2\fP, ignoring the case of the characters.
It returns an integer
less than, equal to, or greater than zero if \fIs1\fP is found,
respectively, to be less than, to match, or be greater than \fIs2\fP.
.PP
-The \fBstrncasecmp\fP() function is similar, except it only compares
+The
+.BR strncasecmp ()
+function is similar, except it only compares
the first \fIn\fP characters of \fIs1\fP.
.SH "RETURN VALUE"
-The \fBstrcasecmp\fP() and \fBstrncasecmp\fP() functions return
+The
+.BR strcasecmp ()
+and
+.BR strncasecmp ()
+functions return
an integer less than, equal to, or greater than zero if \fIs1\fP
(or the first \fIn\fP bytes thereof) is found, respectively, to be
less than, to match, or be greater than \fIs2\fP.