1 --- _SB/Libc/stdio/FreeBSD/ungetwc.3 2004-11-25 11:38:35.000000000 -0800
2 +++ _SB/Libc/stdio/FreeBSD/ungetwc.3.edit 2006-06-28 16:55:52.000000000 -0700
10 .Nd un-get wide character from input stream
17 -.Fn ungetwc "wint_t wc" "FILE *stream"
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.
75 the operation will fail and the stream will remain unchanged.