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"
23 .\"O fputwc, putwc \- write a wide character to a FILE stream
24 fputwc, putwc \- ワイド文字を FILE ストリームに書き込む
32 .BI "wint_t fputwc(wchar_t " wc ", FILE *" stream );
33 .BI "wint_t putwc(wchar_t " wc ", FILE *" stream );
39 .\"O function is the wide-character
40 .\"O equivalent of the
43 .\"O It writes the wide character \fIwc\fP to \fIstream\fP.
45 .\"O \fIferror(stream)\fP becomes true, it returns
47 .\"O If a wide character conversion error occurs,
48 .\"O it sets \fIerrno\fP to \fBEILSEQ\fP and returns
50 .\"O Otherwise it returns \fIwc\fP.
55 関数は、ワイド文字 \fIwc\fP を \fIstream\fP に書き込む。
56 \fIferror(stream)\fP が真になると、この関数は
60 \fIerrno\fP に \fBEILSEQ\fP をセットし、
63 それ以外の場合では、この関数は \fIwc\fP を返す。
67 .\"O function or macro functions identically to
69 .\"O It may be implemented as a macro, and may evaluate its argument
71 .\"O There is no reason ever to use it.
76 この関数はマクロとして実装されるかもしれないので、引き数が複数回評価さ
77 れるかもしれない。この関数を使う理由はもはや存在しない。
79 .\"O For nonlocking counterparts, see
80 .\"O .BR unlocked_stdio (3).
82 .BR unlocked_stdio (3)
84 .\"O .SH "RETURN VALUE"
88 .\"O function returns \fIwc\fP if no error occurred, or
90 .\"O to indicate an error.
92 関数は、エラーが起きなければ \fIwc\fP を返す。エラーの場合には
97 .\"O Apart from the usual ones, there is
101 .\"O Conversion of \fIwc\fP to the stream's encoding fails.
102 \fIwc\fP からストリームの符号への変換に失敗した。
103 .\"O .SH "CONFORMING TO"
119 .\"O In the absence of additional information passed to the
122 .\"O reasonable to expect that
124 .\"O will actually write the multibyte
125 .\"O sequence corresponding to the wide character \fIwc\fP.
127 システムコールに渡す追加情報がない場合には、
130 実際にはワイド文字 \fIwc\fP に対応するマルチバイトシーケンスを書き込むと
136 .BR unlocked_stdio (3)