summaryrefslogtreecommitdiffstats
path: root/man3/ungetwc.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/ungetwc.3')
-rw-r--r--man3/ungetwc.313
1 files changed, 6 insertions, 7 deletions
diff --git a/man3/ungetwc.3 b/man3/ungetwc.3
index 04d5563..2b16322 100644
--- a/man3/ungetwc.3
+++ b/man3/ungetwc.3
@@ -9,7 +9,7 @@
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
-.TH ungetwc 3 2023-07-20 "Linux man-pages 6.05.01"
+.TH ungetwc 3 2023-10-31 "Linux man-pages 6.7"
.SH NAME
ungetwc \- push back a wide character onto a FILE stream
.SH LIBRARY
@@ -18,7 +18,7 @@ Standard C library
.SH SYNOPSIS
.nf
.B #include <wchar.h>
-.PP
+.P
.BI "wint_t ungetwc(wint_t " wc ", FILE *" stream );
.fi
.SH DESCRIPTION
@@ -30,7 +30,7 @@ function.
It pushes back a wide character onto
.I stream
and returns it.
-.PP
+.P
If
.I wc
is
@@ -46,7 +46,7 @@ to
.B EILSEQ
and returns
.BR WEOF .
-.PP
+.P
If
.I wc
is a valid wide character, it is pushed back onto the stream
@@ -55,12 +55,12 @@ The file-position indicator is decremented by one or more.
The end-of-file
indicator is cleared.
The backing storage of the file is not affected.
-.PP
+.P
Note:
.I wc
need not be the last wide-character read from the stream;
it can be any other valid wide character.
-.PP
+.P
If the implementation supports multiple push-back operations in a row, the
pushed-back wide characters will be read in reverse order; however, only one
level of push-back is guaranteed.
@@ -87,7 +87,6 @@ T{
.BR ungetwc ()
T} Thread safety MT-Safe
.TE
-.sp 1
.SH STANDARDS
C11, POSIX.1-2008.
.SH HISTORY