summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2005-06-17 22:03:19 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2005-06-17 22:03:19 +0000
commit09892ee6b78b0ff3237745cfa83eafe8362e925e (patch)
treef15a63d1176d730addf279c6e86f01d13e643223
parent10f3515340ce9e31762c8d316c04e530eac7ce34 (diff)
- remove .Sh LIBRARY
- add $OpenBSD$ tag - a couple minor tweaks
-rw-r--r--lib/libc/stdio/fgetws.36
-rw-r--r--lib/libc/stdio/fputws.34
-rw-r--r--lib/libc/stdio/fwide.34
-rw-r--r--lib/libc/stdio/getwc.36
-rw-r--r--lib/libc/stdio/putwc.36
-rw-r--r--lib/libc/stdio/ungetwc.38
6 files changed, 17 insertions, 17 deletions
diff --git a/lib/libc/stdio/fgetws.3 b/lib/libc/stdio/fgetws.3
index 0162f9c5446..e425f47cca2 100644
--- a/lib/libc/stdio/fgetws.3
+++ b/lib/libc/stdio/fgetws.3
@@ -1,3 +1,5 @@
+.\" $OpenBSD: fgetws.3,v 1.2 2005/06/17 22:03:18 jmc Exp $
+.\"
.\" $NetBSD: fgetws.3,v 1.2 2003/08/07 16:43:23 agc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -43,8 +45,6 @@
.Sh NAME
.Nm fgetws
.Nd get a line of wide characters from a stream
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In stdio.h
.In wchar.h
@@ -61,7 +61,7 @@ from the given
and stores them in the wide character string
.Fa ws .
Reading stops when a newline character is found,
-at end-of-file or error.
+at end-of-file, or error.
The newline, if any, is retained.
If any characters are read and there is no error, a
.Ql \e0
diff --git a/lib/libc/stdio/fputws.3 b/lib/libc/stdio/fputws.3
index b622bf468eb..b65152e881a 100644
--- a/lib/libc/stdio/fputws.3
+++ b/lib/libc/stdio/fputws.3
@@ -1,3 +1,5 @@
+.\" $OpenBSD: fputws.3,v 1.2 2005/06/17 22:03:18 jmc Exp $
+.\"
.\" $NetBSD: fputws.3,v 1.2 2003/08/07 16:43:24 agc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -43,8 +45,6 @@
.Sh NAME
.Nm fputws
.Nd output a line of wide characters to a stream
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In stdio.h
.In wchar.h
diff --git a/lib/libc/stdio/fwide.3 b/lib/libc/stdio/fwide.3
index 62bc368c1fc..e6f3c10fac0 100644
--- a/lib/libc/stdio/fwide.3
+++ b/lib/libc/stdio/fwide.3
@@ -1,3 +1,5 @@
+.\" $OpenBSD: fwide.3,v 1.2 2005/06/17 22:03:18 jmc Exp $
+.\"
.\" $NetBSD: fwide.3,v 1.6 2003/09/08 17:54:32 wiz Exp $
.\"
.\" Copyright (c)2001 Citrus Project,
@@ -32,8 +34,6 @@
.Sh NAME
.Nm fwide
.Nd get/set orientation of a stream
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In stdio.h
.In wchar.h
diff --git a/lib/libc/stdio/getwc.3 b/lib/libc/stdio/getwc.3
index 2632aa2ae62..43b841256f8 100644
--- a/lib/libc/stdio/getwc.3
+++ b/lib/libc/stdio/getwc.3
@@ -1,3 +1,5 @@
+.\" $OpenBSD: getwc.3,v 1.2 2005/06/17 22:03:18 jmc Exp $
+.\"
.\" $NetBSD: getwc.3,v 1.7 2003/09/08 17:54:32 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -39,10 +41,8 @@
.Sh NAME
.Nm fgetwc ,
.Nm getwc ,
-.Nm getwchar ,
+.Nm getwchar
.Nd get next wide-character from input stream
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In stdio.h
.In wchar.h
diff --git a/lib/libc/stdio/putwc.3 b/lib/libc/stdio/putwc.3
index 65d1d188727..22ade279654 100644
--- a/lib/libc/stdio/putwc.3
+++ b/lib/libc/stdio/putwc.3
@@ -1,3 +1,5 @@
+.\" $OpenBSD: putwc.3,v 1.2 2005/06/17 22:03:18 jmc Exp $
+.\"
.\" $NetBSD: putwc.3,v 1.7 2003/09/08 17:54:32 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -39,10 +41,8 @@
.Sh NAME
.Nm fputwc ,
.Nm putwc ,
-.Nm putwchar ,
+.Nm putwchar
.Nd output a wide-character to a stream
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In stdio.h
.In wchar.h
diff --git a/lib/libc/stdio/ungetwc.3 b/lib/libc/stdio/ungetwc.3
index b3194656987..c8318d50182 100644
--- a/lib/libc/stdio/ungetwc.3
+++ b/lib/libc/stdio/ungetwc.3
@@ -1,3 +1,5 @@
+.\" $OpenBSD: ungetwc.3,v 1.2 2005/06/17 22:03:18 jmc Exp $
+.\"
.\" $NetBSD: ungetwc.3,v 1.7 2003/09/08 17:54:32 wiz Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
@@ -39,8 +41,6 @@
.Sh NAME
.Nm ungetwc
.Nd un-get wide-character from input stream
-.Sh LIBRARY
-.Lb libc
.Sh SYNOPSIS
.In stdio.h
.In wchar.h
@@ -68,14 +68,14 @@ 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
-If a character is successfully pushed-back,
+If a character is successfully pushed back,
the end-of-file indicator for the stream is cleared.
.Sh RETURN VALUES
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