1 --- ungetwc.3.bsdnew 2009-11-11 13:33:18.000000000 -0800
2 +++ ungetwc.3 2009-11-11 13:33:18.000000000 -0800
10 .Nd un-get wide character from input stream
17 -.Fn ungetwc "wint_t wc" "FILE *stream"
34 @@ -56,22 +69,31 @@ function pushes the wide character
36 back onto the input stream pointed to by
38 -The pushed-backed wide characters will be returned by subsequent reads on the
39 -stream (in reverse order).
40 -A successful intervening call, using the same stream, to one of the file
41 +The pushed-backed wide characters will be returned (in reverse order)
42 +by subsequent reads on the stream.
43 +A successful intervening call to one of the file
49 -will discard the pushed back wide characters.
51 +using the same stream,
52 +will discard the pushed-back wide characters.
54 -One wide character of push-back is guaranteed,
55 -but as long as there is
56 -sufficient memory, an effectively infinite amount of pushback is allowed.
57 +Only one wide character of push-back is guaranteed,
58 +but as long as there is sufficient memory,
59 +an effectively infinite amount of push-back is allowed.
61 If a character is successfully pushed-back,
62 the end-of-file indicator for the stream is cleared.
66 +function uses the current locale, the
68 +function may be passed a locale directly. See
70 +for more information.
74 @@ -87,7 +109,8 @@ character equals
75 the operation will fail and the stream will remain unchanged.