diff options
-rw-r--r-- | lib/libc/stdio/getwc.3 | 8 | ||||
-rw-r--r-- | lib/libc/stdio/putwc.3 | 8 | ||||
-rw-r--r-- | lib/libc/stdio/ungetwc.3 | 14 |
3 files changed, 15 insertions, 15 deletions
diff --git a/lib/libc/stdio/getwc.3 b/lib/libc/stdio/getwc.3 index e308870..6e4069c 100644 --- a/lib/libc/stdio/getwc.3 +++ b/lib/libc/stdio/getwc.3 @@ -38,14 +38,14 @@ .\" @(#)getc.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd October 10, 2002 +.Dd March 3, 2004 .Dt GETWC 3 .Os .Sh NAME .Nm fgetwc , .Nm getwc , .Nm getwchar -.Nd get next wide-character from input stream +.Nd get next wide character from input stream .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -61,7 +61,7 @@ The .Fn fgetwc function -obtains the next input wide-character (if present) from the stream pointed at by +obtains the next input wide character (if present) from the stream pointed at by .Fa stream , or the next character pushed back on the stream via .Xr ungetwc 3 . @@ -80,7 +80,7 @@ is equivalent to with the argument .Dv stdin . .Sh RETURN VALUES -If successful, these routines return the next wide-character +If successful, these routines return the next wide character from the .Fa stream . If the stream is at end-of-file or a read error occurs, diff --git a/lib/libc/stdio/putwc.3 b/lib/libc/stdio/putwc.3 index b1c15c2..4e46834 100644 --- a/lib/libc/stdio/putwc.3 +++ b/lib/libc/stdio/putwc.3 @@ -38,14 +38,14 @@ .\" @(#)putc.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.Dd October 10, 2002 +.Dd March 3, 2004 .Dt PUTWC 3 .Os .Sh NAME .Nm fputwc , .Nm putwc , .Nm putwchar -.Nd output a wide-character to a stream +.Nd output a wide character to a stream .Sh LIBRARY .Lb libc .Sh SYNOPSIS @@ -61,7 +61,7 @@ The .Fn fputwc function -writes the wide-character +writes the wide character .Fa wc to the output stream pointed to by .Fa stream . @@ -86,7 +86,7 @@ The and .Fn putwchar functions -return the wide-character written. +return the wide character written. If an error occurs, the value .Dv WEOF is returned. diff --git a/lib/libc/stdio/ungetwc.3 b/lib/libc/stdio/ungetwc.3 index e0d7df4..40907af 100644 --- a/lib/libc/stdio/ungetwc.3 +++ b/lib/libc/stdio/ungetwc.3 @@ -38,12 +38,12 @@ .\" @(#)ungetc.3 8.1 (Berkeley) 6/4/93 .\" $FreeBSD$ .\" -.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 |