OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / draft / man3 / wcscasecmp.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .\"
13 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
14 .\" Translated Mon Oct 25 23:52:06 JST 1999
15 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
16 .\"
17 .TH WCSCASECMP 3 2010-09-15 "GNU" "Linux Programmer's Manual"
18 .\"O .SH NAME
19 .SH Ì¾Á°
20 .\"O wcscasecmp \- compare two wide-character strings, ignoring case
21 wcscasecmp \- ¥ï¥¤¥Éʸ»úÎó¤òÈæ³Ó¤¹¤ë¡£Âçʸ»ú¤È¾®Ê¸»ú¤ò¶èÊ̤·¤Ê¤¤¡£
22 .\"O .SH SYNOPSIS
23 .SH ½ñ¼°
24 .nf
25 .B #include <wchar.h>
26 .sp
27 .BI "int wcscasecmp(const wchar_t *" s1 ", const wchar_t *" s2 );
28 .fi
29 .sp
30 .in -4n
31 .\"O Feature Test Macro Requirements for glibc (see
32 .\"O .BR feature_test_macros (7)):
33 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
34 .RB ( feature_test_macros (7)
35 »²¾È):
36 .in
37 .sp
38 .BR wcscasecmp ():
39 .PD 0
40 .ad l
41 .RS 4
42 .TP 4
43 .\"O Since glibc 2.10:
44 glibc 2.10 °Ê¹ß:
45 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
46 .TP
47 .\"O Before glibc 2.10:
48 glibc 2.10 ¤è¤êÁ°:
49 _GNU_SOURCE
50 .RE
51 .ad
52 .PD
53 .\"O .SH DESCRIPTION
54 .SH ÀâÌÀ
55 .\"O The
56 .\"O .BR wcscasecmp ()
57 .\"O function is the wide-character equivalent of the
58 .\"O .BR strcasecmp (3)
59 .\"O function.
60 .\"O It compares the wide-character string pointed to
61 .\"O by \fIs1\fP and the wide-character string pointed to by \fIs2\fP, ignoring
62 .\"O case differences
63 .\"O .RB ( towupper (3),
64 .\"O .BR towlower (3)).
65 .BR wcscasecmp ()
66 ´Ø¿ô¤Ï¡¢
67 .BR strcasecmp (3)
68 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô
69 ¤Ç¤¢¤ë¡£¤³¤Î´Ø¿ô¤Ï¡¢\fIs1\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úʸ»úÎó¤È \fIs2\fP ¤¬»Ø¤¹
70 ¥ï¥¤¥Éʸ»úʸ»úÎó¤ò¡¢Âçʸ»ú¤È¾®Ê¸»ú¤Î°ã¤¤
71 .RB ( towupper (3),
72 .BR towlower (3))
73 ¤ò̵»ë¤·¤ÆÈæ³Ó¤¹¤ë¡£
74 .\"O .SH "RETURN VALUE"
75 .SH ÊÖ¤êÃÍ
76 .\"O The
77 .\"O .BR wcscasecmp ()
78 .\"O function returns zero if the wide-character strings at
79 .\"O \fIs1\fP and \fIs2\fP are equal except for case distinctions.
80 .\"O It returns a
81 .\"O positive integer if \fIs1\fP is greater than \fIs2\fP, ignoring case.
82 .\"O It
83 .\"O returns a negative integer if \fIs1\fP is smaller
84 .\"O than \fIs2\fP, ignoring case.
85 .BR wcscasecmp ()
86 ´Ø¿ô¤Ï¡¢\fIs1\fP ¤È \fIs2\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úÎó¤òÂçʸ
87 »ú¤È¾®Ê¸»ú¤Î°ã¤¤¤ò̵»ë¤·¤ÆÈæ³Ó¤·¤¿»þ¤Ë¡¢Åù¤·¤±¤ì¤Ð 0 ¤òÊÖ¤¹¡£Âçʸ»ú¤È
88 ¾®Ê¸»ú¤Î°ã¤¤¤ò̵»ë¤·¤Æ \fIs1\fP ¤ÎÊý¤¬ \fIs2\fP ¤è¤êÂ礭¤±¤ì¤ÐÀµ¤ÎÀ°¿ô
89 ¤òÊÖ¤¹¡£
90 Âçʸ»ú¤È¾®Ê¸»ú¤Î°ã¤¤¤ò̵»ë¤·¤Æ \fIs1\fP ¤ÎÊý¤¬ \fIs2\fP ¤è¤ê¾®¤µ¤±¤ì¤Ð
91 Éé¤ÎÀ°¿ô¤òÊÖ¤¹¡£
92 .\"O .SH VERSIONS
93 .SH ¥Ð¡¼¥¸¥ç¥ó
94 .\"O The
95 .\"O .BR wcscasecmp ()
96 .\"O function is provided in glibc since version 2.1.
97 .BR wcscasecmp ()
98 ´Ø¿ô¤Ï glibc ¥Ð¡¼¥¸¥ç¥ó 2.1 °Ê¹ß¤ÇÄ󶡤µ¤ì¤Æ¤¤¤ë¡£
99 .\"O .SH "CONFORMING TO"
100 .SH ½àµò
101 POSIX.1-2008.
102 .\"O This function is not specified in POSIX.1-2001,
103 .\"O and is not widely available on other systems.
104 ¤³¤Î´Ø¿ô¤Ï POSIX.1-2001 ¤Ç¤Ïµ¬Äꤵ¤ì¤Æ¤¤¤Ê¤¤¤¬¡¢
105 Linux °Ê³°¤Î¾¤Î¥·¥¹¥Æ¥à¤Ç¹­¤¯ÍøÍѲÄǽ¤Ç¤¢¤ë¡£
106 .\"O .SH NOTES
107 .SH Ãí°Õ
108 .\"O The behavior of
109 .\"O .BR wcscasecmp ()
110 .\"O depends on the
111 .\"O .B LC_CTYPE
112 .\"O category of the
113 .\"O current locale.
114 .BR wcscasecmp ()
115 ¤ÎÆ°ºî¤Ï¡¢¸½ºß¤Î¥í¥±¡¼¥ë¤Î
116 .B LC_CTYPE
117 ¤Ë°Í¸¤¹¤ë¡£
118 .\"O .SH "SEE ALSO"
119 .SH ´ØÏ¢¹àÌÜ
120 .BR strcasecmp (3),
121 .BR wcscmp (3)