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 .\"*******************************************************************
21 .\" Translated Tue Oct 26 00:39:25 JST 1999
22 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
24 .TH WMEMCMP 3 2013\-11\-05 GNU "Linux Programmer's Manual"
26 wmemcmp \- ワイド文字の配列 2 つを比較する
29 \fB#include <wchar.h>\fP
31 \fBint wmemcmp(const wchar_t *\fP\fIs1\fP\fB, const wchar_t *\fP\fIs2\fP\fB, size_t \fP\fIn\fP\fB);\fP
34 \fBwmemcmp\fP() 関数は、 \fBmemcmp\fP(3) 関数に対応するワイド文字関数である。 この関数は、\fIs1\fP を先頭とする \fIn\fP
35 個のワイド文字と \fIs2\fP を 先頭とする \fIn\fP 個のワイド文字を比較する。
37 \fBwmemcmp\fP() 関数は、\fIs1\fP と \fIs2\fP を先頭とする大きさが \fIn\fP の 2 つの配列が等しければ 0 を返す。
38 最初に異なる文字が現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)において、そ の位置にあるワイド文字 \fIs1[i]\fP が \fIs2[i]\fP
39 より大きければ正の整 数を返す。 最初に異なる文字が現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)において、そ の位置にあるワイド文字
40 \fIs1[i]\fP が \fIs2[i]\fP より小さければ負の整 数を返す。
42 .SS "マルチスレッディング (pthreads(7) 参照)"
43 関数 \fBwmemcmp\fP() はスレッドセーフである。
47 \fBmemcmp\fP(3), \fBwcscmp\fP(3)
49 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
50 である。プロジェクトの説明とバグ報告に関する情報は
51 http://www.kernel.org/doc/man\-pages/ に書かれている。