.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
-.TH UNGETWC 3 1999-09-19 "GNU" "Linux Programmer's Manual"
+.TH UNGETWC 3 2015-08-08 "GNU" "Linux Programmer's Manual"
.SH NAME
ungetwc \- push back a wide character onto a FILE stream
.SH SYNOPSIS
.nf
.B #include <wchar.h>
-.sp
+.PP
.BI "wint_t ungetwc(wint_t " wc ", FILE *" stream );
.fi
.SH DESCRIPTION
.I wc
is an invalid wide character,
it sets
-.IR errno
+.I errno
to
.B EILSEQ
and returns
The
.BR ungetwc ()
function returns
-.IR wc
+.I wc
when successful, or
.B WEOF
upon
failure.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR ungetwc ()
+T} Thread safety MT-Safe
+.TE
.SH CONFORMING TO
-C99.
+POSIX.1-2001, POSIX.1-2008, C99.
.SH NOTES
The behavior of
.BR ungetwc ()