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 .\"*******************************************************************
15 .\" This file was generated with po4a. Translate the source file.
17 .\"*******************************************************************
18 .TH WMEMCMP 3 1999\-07\-25 GNU "Linux Programmer's Manual"
20 wmemcmp \- ワイド文字の配列 2 つを比較する
23 \fB#include <wchar.h>\fP
25 \fBint wmemcmp(const wchar_t *\fP\fIs1\fP\fB, const wchar_t *\fP\fIs2\fP\fB, size_t \fP\fIn\fP\fB);\fP
28 \fBwmemcmp\fP() 関数は、 \fBmemcmp\fP(3) 関数に対応するワイド文字関数である。 この関数は、\fIs1\fP を先頭とする \fIn\fP
29 個のワイド文字と \fIs2\fP を 先頭とする \fIn\fP 個のワイド文字を比較する。
31 \fBwmemcmp\fP() 関数は、\fIs1\fP と \fIs2\fP を先頭とする大きさが \fIn\fP の 2 つの配列が等しければ 0 を返す。
32 最初に異なる文字が現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)において、そ の位置にあるワイド文字 \fIs1[i]\fP が \fIs2[i]\fP
33 より大きければ正の整 数を返す。 最初に異なる文字が現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)において、そ の位置にあるワイド文字
34 \fIs1[i]\fP が \fIs2[i]\fP より小さければ負の整 数を返す。
38 \fBmemcmp\fP(3), \fBwcscmp\fP(3)