OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man3 / wcsncasecmp.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
8 .\" %%%LICENSE_END
9 .\"
10 .\" References consulted:
11 .\"   GNU glibc-2 source code and manual
12 .\"   Dinkumware C library reference http://www.dinkumware.com/
13 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
14 .\"
15 .\"*******************************************************************
16 .\"
17 .\" This file was generated with po4a. Translate the source file.
18 .\"
19 .\"*******************************************************************
20 .TH WCSNCASECMP 3 2010\-09\-15 GNU "Linux Programmer's Manual"
21 .SH 名前
22 wcsncasecmp \- 大文字と小文字を区別せず、2 つの固定長のワイド文字文字列を比較する
23 .SH 書式
24 .nf
25 \fB#include <wchar.h>\fP
26 .sp
27 \fBint wcsncasecmp(const wchar_t *\fP\fIs1\fP\fB, const wchar_t *\fP\fIs2\fP\fB, size_t \fP\fIn\fP\fB);\fP
28 .fi
29 .sp
30 .in -4n
31 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
32 .in
33 .sp
34 \fBwcsncasecmp\fP():
35 .PD 0
36 .ad l
37 .RS 4
38 .TP  4
39 glibc 2.10 以降:
40 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
41 .TP 
42 glibc 2.10 より前:
43 _GNU_SOURCE
44 .RE
45 .ad
46 .PD
47 .SH 説明
48 \fBwcsncasecmp\fP()  関数は、 \fBstrncasecmp\fP(3)  関数に対応するワイド文字関 数である。この関数は、\fIs1\fP
49 が指すワイド文字文字列と \fIs2\fP が指 すワイド文字文字列を比較するが、最大でも先頭のワイド文字 \fIn\fP 個 しか比較しない。また、大文字と小文字
50 (\fBtowupper\fP(3), \fBtowlower\fP(3))  は区別しない。
51 .SH 返り値
52 \fBwcsncasecmp\fP()  関数は、\fIs1\fP と \fIs2\fP がそれぞれ指す文字列を \fIn\fP
53 文字に収まるように切り詰めたものを、大文字と小文字の違いを無視 して比較したときに等しければ 0 を返す。この関数は、大文字と小文字を区
54 別しない場合に、\fIs1\fP を切り詰めたものが \fIs2\fP を切り詰めたもの より大きければ正の値を返す。この関数は、大文字と小文字を区別しない場合
55 に、\fIs1\fP を切り詰めたものが \fIs2\fP を切り詰めたものより小さけれ ば負の値を返す。
56 .SH バージョン
57 \fBwcsncasecmp\fP()  関数は glibc バージョン 2.1 以降で提供されている。
58 .SH 準拠
59 POSIX.1\-2008.  この関数は POSIX.1\-2001 では規定されていないが、 Linux 以外の他のシステムで広く利用可能である。
60 .SH 注意
61 \fBwcsncasecmp\fP()  の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。
62 .SH 関連項目
63 \fBstrncasecmp\fP(3), \fBwcsncmp\fP(3)
64 .SH この文書について
65 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
66 である。プロジェクトの説明とバグ報告に関する情報は
67 http://www.kernel.org/doc/man\-pages/ に書かれている。