OSDN Git Service

6ea9f5ba634d828e2d45ef04d6a984c9efd0e3f3
[linuxjm/LDP_man-pages.git] / draft / man3 / wcscmp.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 .\"   ISO/IEC 9899:1999
13 .\"
14 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Sun Oct 17 22:09:35 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH WCSCMP 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 .\"O .SH NAME
20 .SH 名前
21 .\"O wcscmp \- compare two wide-character strings
22 wcscmp \- 2 つのワイド文字文字列を比較する
23 .\"O .SH SYNOPSIS
24 .SH 書式
25 .nf
26 .B #include <wchar.h>
27 .sp
28 .BI "int wcscmp(const wchar_t *" s1 ", const wchar_t *" s2 );
29 .fi
30 .\"O .SH DESCRIPTION
31 .SH 説明
32 .\"O The
33 .\"O .BR wcscmp ()
34 .\"O function is the wide-character equivalent
35 .\"O of the
36 .\"O .BR strcmp (3)
37 .\"O function.
38 .\"O It compares the wide-character string pointed to by \fIs1\fP and the
39 .\"O wide-character string pointed to by \fIs2\fP.
40 .BR wcscmp ()
41 関数は、
42 .BR strcmp (3)
43 関数に対応するワイド文字関数である。
44 この関数は、\fIs1\fP が指すワイド文字文字列と
45 \fIs2\fP が指すワイド文字文字列を比較する。
46 .\"O .SH "RETURN VALUE"
47 .SH 返り値
48 .\"O The
49 .\"O .BR wcscmp ()
50 .\"O function returns zero if the wide-character strings at
51 .\"O \fIs1\fP and \fIs2\fP are equal.
52 .\"O It returns an integer greater than zero if
53 .\"O at the first differing position \fIi\fP, the corresponding wide-character
54 .\"O \fIs1[i]\fP is greater than \fIs2[i]\fP.
55 .\"O It returns an integer less than zero if
56 .\"O at the first differing position \fIi\fP, the corresponding wide-character
57 .\"O \fIs1[i]\fP is less than \fIs2[i]\fP.
58 .BR wcscmp ()
59 関数は、\fIs1\fP と \fIs2\fP がそれぞれ指すワイド文字文字列
60 が同じであれば 0 を返す。異なる文字が最初に現われた位置において、その位
61 置にあるワイド文字 \fIs1[i]\fP が \fIs2[i]\fP より大きければ正の値を返す。
62 異なる文字が最初に現われた位置において、その位置にあるワイド文字 \fIs1[i]\fP
63 が \fIs2[i]\fP より小さければ負の値を返す。
64 .\"O .SH "CONFORMING TO"
65 .SH 準拠
66 C99.
67 .\"O .SH "SEE ALSO"
68 .SH 関連項目
69 .BR strcmp (3),
70 .BR wcscasecmp (3),
71 .BR wmemcmp (3)