OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / original / man3 / wcscasecmp.3
index b3f1542..527deef 100644 (file)
@@ -12,7 +12,7 @@
 .\"   Dinkumware C library reference http://www.dinkumware.com/
 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
 .\"
-.TH WCSCASECMP 3 2010-09-15 "GNU" "Linux Programmer's Manual"
+.TH WCSCASECMP 3 2014-01-22 "GNU" "Linux Programmer's Manual"
 .SH NAME
 wcscasecmp \- compare two wide-character strings, ignoring case
 .SH SYNOPSIS
@@ -47,7 +47,11 @@ function is the wide-character equivalent of the
 .BR strcasecmp (3)
 function.
 It compares the wide-character string pointed to
-by \fIs1\fP and the wide-character string pointed to by \fIs2\fP, ignoring
+by
+.I s1
+and the wide-character string pointed to by
+.IR s2 ,
+ignoring
 case differences
 .RB ( towupper (3),
 .BR towlower (3)).
@@ -55,16 +59,35 @@ case differences
 The
 .BR wcscasecmp ()
 function returns zero if the wide-character strings at
-\fIs1\fP and \fIs2\fP are equal except for case distinctions.
+.I s1
+and
+.I s2
+are equal except for case distinctions.
 It returns a
-positive integer if \fIs1\fP is greater than \fIs2\fP, ignoring case.
+positive integer if
+.I s1
+is greater than
+.IR s2 ,
+ignoring case.
 It
-returns a negative integer if \fIs1\fP is smaller
-than \fIs2\fP, ignoring case.
+returns a negative integer if
+.I s1
+is smaller
+than
+.IR s2 ,
+ignoring case.
 .SH VERSIONS
 The
 .BR wcscasecmp ()
 function is provided in glibc since version 2.1.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR wcscasecmp ()
+function is thread-safe with exceptions.
+It can be safely used in multithreaded applications, as long as
+.BR setlocale (3)
+is not called to change the locale during its execution.
 .SH CONFORMING TO
 POSIX.1-2008.
 This function is not specified in POSIX.1-2001,
@@ -79,3 +102,12 @@ current locale.
 .SH SEE ALSO
 .BR strcasecmp (3),
 .BR wcscmp (3)
+.SH COLOPHON
+This page is part of release 3.79 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/.