OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / putwchar.3
index 79bb8a8..0bad38c 100644 (file)
@@ -1,9 +1,11 @@
 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
 .\"
+.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
 .\" This is free documentation; you can redistribute it and/or
 .\" modify it under the terms of the GNU General Public License as
 .\" published by the Free Software Foundation; either version 2 of
 .\" the License, or (at your option) any later version.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"   GNU glibc-2 source code and manual
@@ -27,23 +29,35 @@ The
 function is the wide-character equivalent of the
 .BR putchar (3)
 function.
-It writes the wide character \fIwc\fP to \fIstdout\fP.
-If \fIferror(stdout)\fP becomes true, it returns
+It writes the wide character
+.I wc
+to
+.IR stdout .
+If
+.I ferror(stdout)
+becomes true, it returns
 .BR WEOF .
 If a wide character
-conversion error occurs, it sets \fIerrno\fP to \fBEILSEQ\fP and returns
+conversion error occurs, it sets
+.IR errno
+to
+.B EILSEQ
+and returns
 .BR WEOF .
-Otherwise it returns \fIwc\fP.
+Otherwise, it returns
+.IR wc .
 .PP
 For a nonlocking counterpart, see
 .BR unlocked_stdio (3).
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 The
 .BR putwchar ()
-function returns \fIwc\fP if no error occurred, or
+function returns
+.I wc
+if no error occurred, or
 .B WEOF
 to indicate an error.
-.SH "CONFORMING TO"
+.SH CONFORMING TO
 C99.
 .SH NOTES
 The behavior of
@@ -56,7 +70,17 @@ current locale.
 It is reasonable to expect that
 .BR putwchar ()
 will actually write
-the multibyte sequence corresponding to the wide character \fIwc\fP.
-.SH "SEE ALSO"
+the multibyte sequence corresponding to the wide character
+.IR wc .
+.SH SEE ALSO
 .BR fputwc (3),
 .BR unlocked_stdio (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.