OSDN Git Service

(split) Convert release and draft pages to UTF-8.
[linuxjm/LDP_man-pages.git] / release / man3 / wmemcmp.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 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
14 .\" Translated Tue Oct 26 00:39:25 JST 1999
15 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
16 .\"
17 .TH WMEMCMP 3 1999-07-25 "GNU" "Linux Programmer's Manual"
18 .SH 名前
19 wmemcmp \- ワイド文字の配列 2 つを比較する
20 .SH 書式
21 .nf
22 .B #include <wchar.h>
23 .sp
24 .BI "int wmemcmp(const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n );
25 .fi
26 .SH 説明
27 .BR wmemcmp ()
28 関数は、
29 .BR memcmp (3)
30 関数に対応するワイド文字関数である。
31 この関数は、\fIs1\fP を先頭とする \fIn\fP 個のワイド文字と \fIs2\fP を
32 先頭とする \fIn\fP 個のワイド文字を比較する。
33 .SH 返り値
34 .BR wmemcmp ()
35 関数は、\fIs1\fP と \fIs2\fP を先頭とする大きさが
36 \fIn\fP の 2 つの配列が等しければ 0 を返す。
37 最初に異なる文字が現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)において、そ
38 の位置にあるワイド文字 \fIs1[i]\fP が \fIs2[i]\fP より大きければ正の整
39 数を返す。
40 最初に異なる文字が現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)において、そ
41 の位置にあるワイド文字 \fIs1[i]\fP が \fIs2[i]\fP より小さければ負の整
42 数を返す。
43 .SH 準拠
44 C99.
45 .SH 関連項目
46 .BR memcmp (3),
47 .BR wcscmp (3)