X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/9385eb3d10ebe5eb398c52040ec3dbfba9b0cdcf..fbd86d4cc20b02a10edcca92fb7ae0a143e63cc4:/stdio/FreeBSD/ungetwc.3?ds=sidebyside diff --git a/stdio/FreeBSD/ungetwc.3 b/stdio/FreeBSD/ungetwc.3 index 2a3c91b..0ffe7e8 100644 --- a/stdio/FreeBSD/ungetwc.3 +++ b/stdio/FreeBSD/ungetwc.3 @@ -36,14 +36,14 @@ .\" SUCH DAMAGE. .\" .\" @(#)ungetc.3 8.1 (Berkeley) 6/4/93 -.\" $FreeBSD: src/lib/libc/stdio/ungetwc.3,v 1.4 2002/12/04 17:49:15 ru Exp $ +.\" $FreeBSD: src/lib/libc/stdio/ungetwc.3,v 1.5 2004/03/16 13:30:11 tjr Exp $ .\" -.Dd October 24, 2001 +.Dd March 3, 2004 .Dt UNGETWC 3 .Os .Sh NAME .Nm ungetwc -.Nd un-get wide-character from input stream +.Nd un-get wide character from input stream .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -54,13 +54,13 @@ .Sh DESCRIPTION The .Fn ungetwc -function pushes the wide-character +function pushes the wide character .Fa wc (converted to an .Vt wchar_t ) back onto the input stream pointed to by .Fa stream . -The pushed-backed wide-characters will be returned by subsequent reads on the +The pushed-backed wide characters will be returned by subsequent reads on the stream (in reverse order). A successful intervening call, using the same stream, to one of the file positioning functions @@ -68,9 +68,9 @@ positioning functions .Xr fsetpos 3 , or .Xr rewind 3 -will discard the pushed back wide-characters. +will discard the pushed back wide characters. .Pp -One wide-character of push-back is guaranteed, +One wide character of push-back is guaranteed, but as long as there is sufficient memory, an effectively infinite amount of pushback is allowed. .Pp @@ -81,7 +81,7 @@ The .Fn ungetwc function returns -the wide-character pushed-back after the conversion, or +the wide character pushed-back after the conversion, or .Dv WEOF if the operation fails. If the value of the argument