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 http://www.UNIX-systems.org/online.html
14 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Sun Aug 29 15:03:11 JST 1999
16 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\" Updated Sat Jan 8 JST 2000 by Kentaro Shirakata <argrath@ub32.org>
18 .\" Updated Fri Nov 2 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
20 .TH FPUTWC 3 1999-07-25 "GNU" "Linux Programmer's Manual"
22 fputwc, putwc \- ワイド文字を FILE ストリームに書き込む
29 .BI "wint_t fputwc(wchar_t " wc ", FILE *" stream );
30 .BI "wint_t putwc(wchar_t " wc ", FILE *" stream );
37 関数は、ワイド文字 \fIwc\fP を \fIstream\fP に書き込む。
38 \fIferror(stream)\fP が真になると、この関数は
42 \fIerrno\fP に \fBEILSEQ\fP をセットし、
45 それ以外の場合では、この関数は \fIwc\fP を返す。
51 この関数はマクロとして実装されるかもしれないので、引き数が複数回評価さ
52 れるかもしれない。この関数を使う理由はもはや存在しない。
55 .BR unlocked_stdio (3)
59 関数は、エラーが起きなければ \fIwc\fP を返す。エラーの場合には
66 \fIwc\fP からストリームの符号への変換に失敗した。
76 システムコールに渡す追加情報がない場合には、
79 実際にはワイド文字 \fIwc\fP に対応するマルチバイトシーケンスを書き込むと
84 .BR unlocked_stdio (3)