OSDN Git Service

e570a8c3d2bb8a29dbc76e60d2c60a459b62af68
[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)