summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorAnthony J. Bentley <bentley@cvs.openbsd.org>2014-11-15 14:41:04 +0000
committerAnthony J. Bentley <bentley@cvs.openbsd.org>2014-11-15 14:41:04 +0000
commitd6a0f0865df6bfd123b8ce711276173f1d8cbaa9 (patch)
treee12333cdaea900019b1f35b2a5adc13985cd7802 /lib/libc/stdio
parent4a23754df430199a403e1215d9387e5b9e25b36f (diff)
Reduce instances of `` '' in manuals.
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fopen.312
-rw-r--r--lib/libc/stdio/printf.37
2 files changed, 12 insertions, 7 deletions
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index 92929906a9d..0c0f5b53ca0 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.29 2014/08/31 06:36:30 jmc Exp $
+.\" $OpenBSD: fopen.3,v 1.30 2014/11/15 14:41:02 bentley Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: August 31 2014 $
+.Dd $Mdocdate: November 15 2014 $
.Dt FOPEN 3
.Os
.Sh NAME
@@ -77,11 +77,15 @@ Open for reading and writing.
The file is created if it does not exist.
.El
.Pp
-The letter ``b'' in the
+The letter
+.Dq b
+in the
.Fa mode
strings above is strictly for compatibility with
.St -ansiC
-and has no effect; the ``b'' is ignored.
+and has no effect; the
+.Dq b
+is ignored.
.Pp
After any of the above prefixes, the
.Fa mode
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 75e1949fe88..66830ed4446 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.3,v 1.69 2014/05/13 20:51:00 jmc Exp $
+.\" $OpenBSD: printf.3,v 1.70 2014/11/15 14:41:02 bentley Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 13 2014 $
+.Dd $Mdocdate: November 15 2014 $
.Dt PRINTF 3
.Os
.Sh NAME
@@ -186,7 +186,8 @@ Zero or more of the following flags:
A hash
.Sq Cm #
character
-specifying that the value should be converted to an ``alternate form''.
+specifying that the value should be converted to an
+.Dq alternate form .
For
.Cm o
conversions, the precision of the number is increased to force the first