1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80
|
.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
.\"
.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\" %%%LICENSE_END
.\"
.\" References consulted:
.\" GNU glibc-2 source code and manual
.\" Dinkumware C library reference http://www.dinkumware.com/
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\"
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.\"
.\" Translated Mon Oct 25 23:52:06 JST 1999
.\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
.\"
.TH WCSCASECMP 3 2016\-03\-15 GNU "Linux Programmer's Manual"
.SH 名前
wcscasecmp \- ワイド文字列を比較する。大文字と小文字を区別しない。
.SH 書式
.nf
\fB#include <wchar.h>\fP
.PP
\fBint wcscasecmp(const wchar_t *\fP\fIs1\fP\fB, const wchar_t *\fP\fIs2\fP\fB);\fP
.fi
.PP
.RS -4
glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参照):
.RE
.PP
\fBwcscasecmp\fP():
.PD 0
.ad l
.RS 4
.TP 4
glibc 2.10 以降:
_POSIX_C_SOURCE\ >=\ 200809L
.TP
glibc 2.10 より前:
_GNU_SOURCE
.RE
.ad
.PD
.SH 説明
\fBwcscasecmp\fP() 関数は、 \fBstrcasecmp\fP(3) 関数に対応するワイド文字関数 である。この関数は、\fIs1\fP
が指すワイド文字文字列と \fIs2\fP が指す ワイド文字文字列を、大文字と小文字の違い (\fBtowupper\fP(3), \fBtowlower\fP(3))
を無視して比較する。
.SH 返り値
\fBwcscasecmp\fP() 関数は、\fIs1\fP と \fIs2\fP が指すワイド文字列を大文 字と小文字の違いを無視して比較した時に、等しければ 0
を返す。大文字と 小文字の違いを無視して \fIs1\fP の方が \fIs2\fP より大きければ正の整数 を返す。 大文字と小文字の違いを無視して \fIs1\fP
の方が \fIs2\fP より小さければ 負の整数を返す。
.SH バージョン
\fBwcscasecmp\fP() 関数は glibc バージョン 2.1 以降で提供されている。
.SH 属性
この節で使用されている用語の説明については、 \fBattributes\fP(7) を参照。
.TS
allbox;
lb lb lb
l l l.
インターフェース 属性 値
T{
\fBwcscasecmp\fP()
T} Thread safety MT\-Safe locale
.TE
.SH 準拠
POSIX.1\-2008. この関数は POSIX.1\-2001 では規定されていないが、 Linux 以外の他のシステムで広く利用可能である。
.SH 注意
\fBwcscasecmp\fP() の動作は、現在のロケールの \fBLC_CTYPE\fP に依存する。
.SH 関連項目
\fBstrcasecmp\fP(3), \fBwcscmp\fP(3)
.SH この文書について
この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 5.10 の一部である。プロジェクトの説明とバグ報告に関する情報は
\%https://www.kernel.org/doc/man\-pages/ に書かれている。
|