OSDN Git Service

e30470e7bb2a3b12ea4145fb19c44876e7a4d357
[linuxjm/LDP_man-pages.git] / draft / 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 .\"O .SH NAME
19 .SH 名前
20 .\"O wmemcmp \- compare two arrays of wide-characters
21 wmemcmp \- ワイド文字の配列 2 つを比較する
22 .\"O .SH SYNOPSIS
23 .SH 書式
24 .nf
25 .B #include <wchar.h>
26 .sp
27 .BI "int wmemcmp(const wchar_t *" s1 ", const wchar_t *" s2 ", size_t " n );
28 .fi
29 .\"O .SH DESCRIPTION
30 .SH 説明
31 .\"O The
32 .\"O .BR wmemcmp ()
33 .\"O function is the wide-character equivalent of the
34 .\"O .BR memcmp (3)
35 .\"O function.
36 .\"O It compares the \fIn\fP wide-characters starting at \fIs1\fP and the
37 .\"O \fIn\fP wide-characters starting at \fIs2\fP.
38 .BR wmemcmp ()
39 関数は、
40 .BR memcmp (3)
41 関数に対応するワイド文字関数である。
42 この関数は、\fIs1\fP を先頭とする \fIn\fP 個のワイド文字と \fIs2\fP を
43 先頭とする \fIn\fP 個のワイド文字を比較する。
44 .\"O .SH "RETURN VALUE"
45 .SH 返り値
46 .\"O The
47 .\"O .BR wmemcmp ()
48 .\"O function returns
49 .\"O zero if the wide-character arrays of size
50 .\"O \fIn\fP at \fIs1\fP and \fIs2\fP are equal.
51 .\"O It returns an integer greater than
52 .\"O zero if at the first differing position \fIi\fP (\fIi\fP < \fIn\fP), the
53 .\"O corresponding wide-character \fIs1[i]\fP is greater than \fIs2[i]\fP.
54 .\"O It returns an integer less than zero if
55 .\"O at the first differing position \fIi\fP
56 .\"O (\fIi\fP < \fIn\fP), the corresponding
57 .\"O wide-character \fIs1[i]\fP is less than
58 .\"O \fIs2[i]\fP.
59 .BR wmemcmp ()
60 関数は、\fIs1\fP と \fIs2\fP を先頭とする大きさが
61 \fIn\fP の 2 つの配列が等しければ 0 を返す。
62 最初に異なる文字が現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)において、そ
63 の位置にあるワイド文字 \fIs1[i]\fP が \fIs2[i]\fP より大きければ正の整
64 数を返す。
65 最初に異なる文字が現われた位置 \fIi\fP (\fIi\fP < \fIn\fP)において、そ
66 の位置にあるワイド文字 \fIs1[i]\fP が \fIs2[i]\fP より小さければ負の整
67 数を返す。
68 .\"O .SH "CONFORMING TO"
69 .SH 準拠
70 C99.
71 .\"O .SH "SEE ALSO"
72 .SH 関連項目
73 .BR memcmp (3),
74 .BR wcscmp (3)