1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
10 .\" References consulted:
11 .\" GNU glibc-2 source code and manual
12 .\" Dinkumware C library reference http://www.dinkumware.com/
13 .\" OpenGroup's Single UNIX specification
14 .\" http://www.UNIX-systems.org/online.html
17 .TH PUTWCHAR 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 putwchar \- write a wide character to standard output
24 .BI "wint_t putwchar(wchar_t " wc );
29 function is the wide-character equivalent of the
32 It writes the wide character \fIwc\fP to \fIstdout\fP.
33 If \fIferror(stdout)\fP becomes true, it returns
36 conversion error occurs, it sets \fIerrno\fP to \fBEILSEQ\fP and returns
38 Otherwise it returns \fIwc\fP.
40 For a nonlocking counterpart, see
41 .BR unlocked_stdio (3).
45 function returns \fIwc\fP if no error occurred, or
58 It is reasonable to expect that
61 the multibyte sequence corresponding to the wide character \fIwc\fP.
64 .BR unlocked_stdio (3)