summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fgetws.36
-rw-r--r--lib/libc/stdio/fputws.36
-rw-r--r--lib/libc/stdio/getwc.310
-rw-r--r--lib/libc/stdio/putwc.310
-rw-r--r--lib/libc/stdio/ungetwc.316
5 files changed, 24 insertions, 24 deletions
diff --git a/lib/libc/stdio/fgetws.3 b/lib/libc/stdio/fgetws.3
index a3dfd839311..02725b4c5f7 100644
--- a/lib/libc/stdio/fgetws.3
+++ b/lib/libc/stdio/fgetws.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fgetws.3,v 1.3 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: fgetws.3,v 1.4 2010/09/10 18:38:19 jmc Exp $
.\"
.\" $NetBSD: fgetws.3,v 1.2 2003/08/07 16:43:23 agc Exp $
.\"
@@ -39,7 +39,7 @@
.\" FreeBSD: src/lib/libc/stdio/fgets.3,v 1.16 2002/05/31 05:01:17 archie Exp
.\" FreeBSD: src/lib/libc/stdio/fgetws.3,v 1.2 2002/09/06 11:23:55 tjr Exp
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: September 10 2010 $
.Dt FGETWS 3
.Os
.Sh NAME
@@ -58,7 +58,7 @@ reads at most one less than the number of characters specified by
.Fa n
from the given
.Fa fp
-and stores them in the wide character string
+and stores them in the wide-character string
.Fa ws .
Reading stops when a newline character is found,
at end-of-file, or error.
diff --git a/lib/libc/stdio/fputws.3 b/lib/libc/stdio/fputws.3
index ba2bceac9c5..75d5cea266c 100644
--- a/lib/libc/stdio/fputws.3
+++ b/lib/libc/stdio/fputws.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fputws.3,v 1.3 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: fputws.3,v 1.4 2010/09/10 18:38:19 jmc Exp $
.\"
.\" $NetBSD: fputws.3,v 1.2 2003/08/07 16:43:24 agc Exp $
.\"
@@ -39,7 +39,7 @@
.\" FreeBSD: src/lib/libc/stdio/fputs.3,v 1.8 2001/10/01 16:08:59 ru Exp
.\" FreeBSD: src/lib/libc/stdio/fputws.c,v 1.4 2002/09/20 13:25:40 tjr Exp
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: September 10 2010 $
.Dt FPUTWS 3
.Os
.Sh NAME
@@ -53,7 +53,7 @@
.Sh DESCRIPTION
The
.Fn fputws
-function writes the wide character string pointed to by
+function writes the wide-character string pointed to by
.Fa ws
to the stream pointed to by
.Fa fp .
diff --git a/lib/libc/stdio/getwc.3 b/lib/libc/stdio/getwc.3
index a6e3d1f2c12..b0b076dbe49 100644
--- a/lib/libc/stdio/getwc.3
+++ b/lib/libc/stdio/getwc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getwc.3,v 1.3 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: getwc.3,v 1.4 2010/09/10 18:38:19 jmc Exp $
.\"
.\" $NetBSD: getwc.3,v 1.7 2003/09/08 17:54:32 wiz Exp $
.\"
@@ -35,14 +35,14 @@
.\"
.\" @(#)getc.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: September 10 2010 $
.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 SYNOPSIS
.In stdio.h
.In wchar.h
@@ -56,7 +56,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 .
@@ -75,7 +75,7 @@ is equivalent to
.Fn getwc
with the argument 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 fabc6b180f8..ee780fb0f40 100644
--- a/lib/libc/stdio/putwc.3
+++ b/lib/libc/stdio/putwc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: putwc.3,v 1.3 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: putwc.3,v 1.4 2010/09/10 18:38:19 jmc Exp $
.\"
.\" $NetBSD: putwc.3,v 1.7 2003/09/08 17:54:32 wiz Exp $
.\"
@@ -35,14 +35,14 @@
.\"
.\" @(#)putc.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: September 10 2010 $
.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 SYNOPSIS
.In stdio.h
.In wchar.h
@@ -56,7 +56,7 @@
The
.Fn fputwc
function
-writes the wide-character
+writes the wide character
.Fa wc
to the output stream pointed to by
.Fa stream .
@@ -82,7 +82,7 @@ The functions,
.Fn putwc
and
.Fn putwchar
-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 c4bfd536e5c..d5f7337e7d2 100644
--- a/lib/libc/stdio/ungetwc.3
+++ b/lib/libc/stdio/ungetwc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ungetwc.3,v 1.3 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: ungetwc.3,v 1.4 2010/09/10 18:38:19 jmc Exp $
.\"
.\" $NetBSD: ungetwc.3,v 1.7 2003/09/08 17:54:32 wiz Exp $
.\"
@@ -35,12 +35,12 @@
.\"
.\" @(#)ungetc.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: September 10 2010 $
.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 SYNOPSIS
.In stdio.h
.In wchar.h
@@ -49,12 +49,12 @@
.Sh DESCRIPTION
The
.Fn ungetwc
-function pushes the wide-character
+function pushes the wide character
.Fa wc
(converted to an 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
@@ -62,9 +62,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
@@ -75,7 +75,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