OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / getwchar.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
12 .\"      http://www.UNIX-systems.org/online.html
13 .\"   ISO/IEC 9899:1999
14 .\"
15 .\"*******************************************************************
16 .\"
17 .\" This file was generated with po4a. Translate the source file.
18 .\"
19 .\"*******************************************************************
20 .TH GETWCHAR 3 1999\-07\-25 GNU "Linux Programmer's Manual"
21 .SH 名前
22 getwchar \- 標準入力よりワイド文字を読み込む
23 .SH 書式
24 .nf
25 \fB#include <wchar.h>\fP
26 .sp
27 \fBwint_t getwchar(void);\fP
28 .fi
29 .SH 説明
30 \fBgetwchar\fP()  関数は \fBgetchar\fP(3)  関数のワイド文字版である。 \fBstdin\fP からワイド文字を読み込んでそれを返す。
31 ストリームの最後に達している場合や \fIferror(stdin)\fP が真の場合には \fBWEOF\fP を返す。ワイド文字変換でエラーが起こった場合には
32 \fIerrno\fP に \fBEILSEQ\fP を設定して \fBWEOF\fP を返す。
33 .PP
34 これらの処理を停止せずに行いたいときは、 \fBunlocked_stdio\fP(3) を参照のこと。
35 .SH 返り値
36 \fBgetwchar\fP()  関数は標準入力の次のワイド文字を返すか、 \fBWEOF\fP を返す。
37 .SH 準拠
38 C99.
39 .SH 注意
40 \fBgetwchar\fP()  の動作は現在のロケールの \fBLC_CTYPE\fP カテゴリに依存している。
41 .PP
42 \fBgetwchar\fP()  が実際には標準入力からマルチバイト列を読み込んで ワイド文字に変換することを期待しても良い。
43 .SH 関連項目
44 \fBfgetwc\fP(3), \fBunlocked_stdio\fP(3)