1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
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.
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
15 .\" Modified Tue Oct 16 23:18:40 BST 2001 by John Levon <moz@compsoc.man.ac.uk>
16 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
17 .\" Translated Sun Aug 29 15:03:27 JST 1999
18 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
19 .\" Updated Sun Dec 26 JST 1999 by Kentaro Shirakata <argrath@ub32.org>
20 .\" Updated Fri Nov 2 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
22 .TH FGETWC 3 1999-07-25 "GNU" "Linux Programmer's Manual"
25 fgetwc, getwc \- ワイド文字を FILE ストリームから読み込む
32 .BI "wint_t fgetwc(FILE *" stream );
33 .BI "wint_t getwc(FILE *" stream );
40 この関数は \fIstream\fP からワイド文字を 1 文字読み込み、これを返す。
41 ストリームの終端に達するか、\fIferror(stream)\fP が真になった場合には、
46 \fIerrno\fP に \fBEILSEQ\fP をセットし、
54 この関数はマクロとして実装されるかもしれないので、引き数が複数回評価さ
55 れるかもしれない。この関数を使う理由はもはや存在しない。
58 .BR unlocked_stdio (3)
62 関数はストリームの次のワイド文字か、あるいは
69 入力ストリームから取得したデータが、正しい文字でない。
79 システムコールに渡す追加情報がない場合には、
82 にはマルチバイトシーケンスをストリームから読み込み、これをワイド文字に
88 .BR unlocked_stdio (3)