OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / wcsncasecmp.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 .\"*******************************************************************
14 .\"
15 .\" This file was generated with po4a. Translate the source file.
16 .\"
17 .\"*******************************************************************
18 .TH WCSNCASECMP 3 2010\-09\-15 GNU "Linux Programmer's Manual"
19 .SH 名前
20 wcsncasecmp \- 大文字と小文字を区別せず、2 つの固定長のワイド文字文字列を比較する
21 .SH 書式
22 .nf
23 \fB#include <wchar.h>\fP
24 .sp
25 \fBint wcsncasecmp(const wchar_t *\fP\fIs1\fP\fB, const wchar_t *\fP\fIs2\fP\fB, size_t \fP\fIn\fP\fB);\fP
26 .fi
27 .sp
28 .in -4n
29 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
30 .in
31 .sp
32 \fBwcsncasecmp\fP():
33 .PD 0
34 .ad l
35 .RS 4
36 .TP  4
37 glibc 2.10 以降:
38 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
39 .TP 
40 glibc 2.10 より前:
41 _GNU_SOURCE
42 .RE
43 .ad
44 .PD
45 .SH 説明
46 \fBwcsncasecmp\fP()  関数は、 \fBstrncasecmp\fP(3)  関数に対応するワイド文字関 数である。この関数は、\fIs1\fP
47 が指すワイド文字文字列と \fIs2\fP が指 すワイド文字文字列を比較するが、最大でも先頭のワイド文字 \fIn\fP 個 しか比較しない。また、大文字と小文字
48 (\fBtowupper\fP(3), \fBtowlower\fP(3))  は区別しない。
49 .SH 返り値
50 \fBwcsncasecmp\fP()  関数は、\fIs1\fP と \fIs2\fP がそれぞれ指す文字列を \fIn\fP
51 文字に収まるように切り詰めたものを、大文字と小文字の違いを無視 して比較したときに等しければ 0 を返す。この関数は、大文字と小文字を区
52 別しない場合に、\fIs1\fP を切り詰めたものが \fIs2\fP を切り詰めたもの より大きければ正の値を返す。この関数は、大文字と小文字を区別しない場合
53 に、\fIs1\fP を切り詰めたものが \fIs2\fP を切り詰めたものより小さけれ ば負の値を返す。
54 .SH バージョン
55 \fBwcsncasecmp\fP()  関数は glibc バージョン 2.1 以降で提供されている。
56 .SH 準拠
57 POSIX.1\-2008.  この関数は POSIX.1\-2001 では規定されていないが、 Linux 以外の他のシステムで広く利用可能である。
58 .SH 注意
59 \fBwcsncasecmp\fP()  の動作は、現在のロケールの \fBLC_CTYPE\fP カテゴリに依存する。
60 .SH 関連項目
61 \fBstrncasecmp\fP(3), \fBwcsncmp\fP(3)