]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/ungetwc.3
dlopen.3: tfix
[thirdparty/man-pages.git] / man3 / ungetwc.3
index 093c84488ad690fb1835b8937a1983e569048568..9615f113850af2c690d905248a1eb080d04b47fd 100644 (file)
 .\"   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
@@ -42,7 +42,7 @@ If
 .I wc
 is an invalid wide character,
 it sets
-.IR errno 
+.I errno
 to
 .B EILSEQ
 and returns
@@ -69,13 +69,25 @@ level of push-back is guaranteed.
 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 ()