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 .\" Japanese Version Copyright (c) 1999 HANATAKA Shinya
16 .\" all rights reserved.
17 .\" Translated Tue Jan 11 00:55:58 JST 2000
18 .\" by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
19 .\" Updated Sat Nov 3 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
21 .TH PUTWCHAR 3 1999-07-25 "GNU" "Linux Programmer's Manual"
24 .\"O putwchar \- write a wide character to standard output
25 putwchar \- ¥ï¥¤¥Éʸ»ú¤òɸ½à½ÐÎϤؽñ¤½Ð¤¹
31 .BI "wint_t putwchar(wchar_t " wc );
37 .\"O function is the wide-character equivalent of the
40 .\"O It writes the wide character \fIwc\fP to \fIstdout\fP.
41 .\"O If \fIferror(stdout)\fP becomes true, it returns
43 .\"O If a wide character
44 .\"O conversion error occurs, it sets \fIerrno\fP to \fBEILSEQ\fP and returns
46 .\"O Otherwise it returns \fIwc\fP.
50 ¤Î¥ï¥¤¥Éʸ»úÈǤǤ¢¤ë¡£
51 ¤³¤Î´Ø¿ô¤Ï \fIwc\fP ¤ò \fIstdout\fP ¤Ø¤È½ñ¤½Ð¤¹¡£\fIferror(stdout)\fP ¤¬
54 ¤òÊÖ¤¹¡£¥ï¥¤¥Éʸ»ú¤ÎÊÑ´¹¤Ë¼ºÇÔ¤·¤¿¾ì¹ç¤Ë¤Ï \fIerrno\fP ¤Ë
55 \fBEILSEQ\fP ¤òÀßÄꤷ¤Æ
57 ¤òÊÖ¤¹¡£¤½¤ì°Ê³°¤Î¾ì¹ç¤Ï \fIwc\fP ¤òÊÖ¤¹¡£
59 .\"O For nonlocking counterparts, see
60 .\"O .BR unlocked_stdio (3).
61 ¤³¤ì¤é¤Î½èÍý¤ò¥í¥Ã¥¯¤»¤º¤Ë¹Ô¤¤¤¿¤¤¤È¤¤Ï¡¢
62 .BR unlocked_stdio (3)
64 .\"O .SH "RETURN VALUE"
68 .\"O function returns \fIwc\fP if no error occurred, or
70 .\"O to indicate an error.
71 ¥¨¥é¡¼¤¬µ¯¤¤Ê¤«¤Ã¤¿¾ì¹ç¡¢
73 ´Ø¿ô¤Ï \fIwc\fP ¤òÊÖ¤¹¡£
77 .\"O .SH "CONFORMING TO"
89 ¤ÎÆ°ºî¤Ï¸½ºß¤Î¥í¥±¡¼¥ë¤Î
91 ¥«¥Æ¥´¥ê¤Ë°Í¸¤·¤Æ¤¤¤ë¡£
93 .\"O It is reasonable to expect that
95 .\"O will actually write
96 .\"O the multibyte sequence corresponding to the wide character \fIwc\fP.
98 ¤¬¼ÂºÝ¤Ë¤Ï¥ï¥¤¥Éʸ»ú \fIwc\fP ¤ÈÅù²Á¤Ê¥Þ¥ë¥Á¥Ð¥¤¥Èʸ»ú¤ò
99 ½ñ¤½Ð¤¹¤³¤È¤ò´üÂÔ¤·¤Æ¤â¤è¤¤¡£
103 .BR unlocked_stdio (3)