1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
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.
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
15 .\"*******************************************************************
17 .\" This file was generated with po4a. Translate the source file.
19 .\"*******************************************************************
20 .TH WMEMCMP 3 1999\-07\-25 GNU "Linux Programmer's Manual"
22 wmemcmp \- ワイド文字の配列 2 つを比較する
25 \fB#include <wchar.h>\fP
27 \fBint wmemcmp(const wchar_t *\fP\fIs1\fP\fB, const wchar_t *\fP\fIs2\fP\fB, size_t \fP\fIn\fP\fB);\fP
30 \fBwmemcmp\fP() 関数は、 \fBmemcmp\fP(3) 関数に対応するワイド文字関数である。 この関数は、\fIs1\fP を先頭とする \fIn\fP
31 個のワイド文字と \fIs2\fP を 先頭とする \fIn\fP 個のワイド文字を比較する。
33 \fBwmemcmp\fP() 関数は、\fIs1\fP と \fIs2\fP を先頭とする大きさが \fIn\fP の 2 つの配列が等しければ 0 を返す。
34 最初に異なる文字が現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)において、そ の位置にあるワイド文字 \fIs1[i]\fP が \fIs2[i]\fP
35 より大きければ正の整 数を返す。 最初に異なる文字が現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)において、そ の位置にあるワイド文字
36 \fIs1[i]\fP が \fIs2[i]\fP より小さければ負の整 数を返す。
40 \fBmemcmp\fP(3), \fBwcscmp\fP(3)
42 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
43 である。プロジェクトの説明とバグ報告に関する情報は
44 http://www.kernel.org/doc/man\-pages/ に書かれている。