1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
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.
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
13 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
14 .\" Translated Mon Oct 18 22:59:06 JST 1999
15 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .TH WCSNCASECMP 3 2010-09-15 "GNU" "Linux Programmer's Manual"
20 .\"O wcsncasecmp \- compare two fixed-size wide-character strings, ignoring case
21 wcsncasecmp \- 大文字と小文字を区別せず、2 つの固定長のワイド文字文字列を比較する
27 .BI "int wcsncasecmp(const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n );
31 .\"O Feature Test Macro Requirements for glibc (see
32 .\"O .BR feature_test_macros (7)):
34 .RB ( feature_test_macros (7)
43 .\"O Since glibc 2.10:
45 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
47 .\"O Before glibc 2.10:
56 .\"O .BR wcsncasecmp ()
57 .\"O function is the wide-character equivalent of the
58 .\"O .BR strncasecmp (3)
60 .\"O It compares the wide-character string pointed to
61 .\"O by \fIs1\fP and the wide-character string
62 .\"O pointed to by \fIs2\fP, but at most
63 .\"O \fIn\fP wide characters from each string, ignoring case differences
64 .\"O .RB ( towupper (3),
65 .\"O .BR towlower (3)).
70 数である。この関数は、\fIs1\fP が指すワイド文字文字列と \fIs2\fP が指
71 すワイド文字文字列を比較するが、最大でも先頭のワイド文字 \fIn\fP 個
76 .\"O .SH "RETURN VALUE"
79 .\"O .BR wcsncasecmp ()
80 .\"O function returns zero
81 .\"O if the wide-character strings at
82 .\"O \fIs1\fP and \fIs2\fP,
83 .\"O truncated to at most length \fIn\fP, are equal except
84 .\"O for case distinctions.
85 .\"O It returns a positive integer if truncated \fIs1\fP is
86 .\"O greater than truncated \fIs2\fP, ignoring case.
87 .\"O It returns a negative integer
88 .\"O if truncated \fIs1\fP is smaller than truncated \fIs2\fP, ignoring case.
90 関数は、\fIs1\fP と \fIs2\fP がそれぞれ指す文字列を
91 \fIn\fP 文字に収まるように切り詰めたものを、大文字と小文字の違いを無視
92 して比較したときに等しければ 0 を返す。この関数は、大文字と小文字を区
93 別しない場合に、\fIs1\fP を切り詰めたものが \fIs2\fP を切り詰めたもの
94 より大きければ正の値を返す。この関数は、大文字と小文字を区別しない場合
95 に、\fIs1\fP を切り詰めたものが \fIs2\fP を切り詰めたものより小さけれ
100 .\"O .BR wcsncasecmp ()
101 .\"O function is provided in glibc since version 2.1.
103 関数は glibc バージョン 2.1 以降で提供されている。
104 .\"O .SH "CONFORMING TO"
107 .\"O This function is not specified in POSIX.1-2001,
108 .\"O and is not widely available on other systems.
109 この関数は POSIX.1-2001 では規定されていないが、
110 Linux 以外の他のシステムで広く利用可能である。
114 .\"O .BR wcsncasecmp ()