OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man3 / strcasecmp.3
index 802981f..713f5cb 100644 (file)
@@ -41,25 +41,38 @@ strcasecmp, strncasecmp \- compare two strings ignoring case
 .SH DESCRIPTION
 The
 .BR strcasecmp ()
-function compares the two strings \fIs1\fP and
-\fIs2\fP, ignoring the case of the characters.
+function compares the two strings
+.I s1
+and
+.IR s2 ,
+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.
+less than, equal to, or greater than zero if
+.I s1
+is found,
+respectively, to be less than, to match, or be greater than
+.IR s2 .
 .PP
 The
 .BR strncasecmp ()
 function is similar, except it compares
-the only first \fIn\fP bytes of \fIs1\fP.
+the only first
+.I n
+bytes of
+.IR s1 .
 .SH RETURN VALUE
 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.
+an integer less than, equal to, or greater than zero if
+.I s1
+(or the first
+.I n
+bytes thereof) is found, respectively, to be
+less than, to match, or be greater than
+.IR s2 .
 .SH CONFORMING TO
 4.4BSD, POSIX.1-2001.
 .SH SEE ALSO
@@ -71,3 +84,11 @@ less than, to match, or be greater than \fIs2\fP.
 .BR strncmp (3),
 .BR wcscasecmp (3),
 .BR wcsncasecmp (3)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.