OSDN Git Service

LDP: Update original to LDP v3.68
[linuxjm/LDP_man-pages.git] / original / man3 / strcasecmp.3
index dcd5d5a..2ef5715 100644 (file)
@@ -27,7 +27,7 @@
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
 .\" Modified Sat Jul 24 18:12:45 1993 by Rik Faith (faith@cs.unc.edu)
-.TH STRCASECMP 3  2012-05-10 "" "Linux Programmer's Manual"
+.TH STRCASECMP 3  2014-05-10 "" "Linux Programmer's Manual"
 .SH NAME
 strcasecmp, strncasecmp \- compare two strings ignoring case
 .SH SYNOPSIS
@@ -75,6 +75,20 @@ less than, to match, or be greater than
 .IR s2 .
 .SH CONFORMING TO
 4.4BSD, POSIX.1-2001.
+.SH NOTES
+The
+.BR strcasecmp ()
+and
+.BR strncasecmp ()
+functions first appeared in 4.4BSD, where they were declared in
+.IR <string.h> .
+Thus, for reasons of historical compatibility, the glibc
+.I <string.h>
+header file also declares these functions, if the
+.B _DEFAULT_SOURCE
+(or, in glibc 2.19 and earlier,
+.BR _BSD_SOURCE )
+feature test macro is defined.
 .SH SEE ALSO
 .BR bcmp (3),
 .BR memcmp (3),
@@ -84,3 +98,12 @@ less than, to match, or be greater than
 .BR strncmp (3),
 .BR wcscasecmp (3),
 .BR wcsncasecmp (3)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.