X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=original%2Fman3%2Fwcscasecmp.3;h=527deef7c7865707e6ea1c987bae48fab0cead08;hp=b3f154251751bb4cdb651960747d73f8bb1986e5;hb=83f9e5d087c3464d5131604d3c9893479e6228eb;hpb=e9e6c106d11bd9cca5f4a6585364b93f5ae3007a diff --git a/original/man3/wcscasecmp.3 b/original/man3/wcscasecmp.3 index b3f15425..527deef7 100644 --- a/original/man3/wcscasecmp.3 +++ b/original/man3/wcscasecmp.3 @@ -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/.