summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2018-03-16 16:58:27 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2018-03-16 16:58:27 +0000
commite6a2a620c0da77df721befa447eccb69df2002a5 (patch)
tree4dec7e3f19c06bd92bb6b1c31b7d51a5306d7add /lib/libc
parent2efb348aacc2c6fc859e4c151ff653a4dfd10cb9 (diff)
improve markup quality in the cases found by the new "--" style message
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/vis.39
-rw-r--r--lib/libc/time/tzset.315
2 files changed, 10 insertions, 14 deletions
diff --git a/lib/libc/gen/vis.3 b/lib/libc/gen/vis.3
index 08ee3b519b5..da67fb38cf2 100644
--- a/lib/libc/gen/vis.3
+++ b/lib/libc/gen/vis.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vis.3,v 1.35 2015/07/20 01:52:28 millert Exp $
+.\" $OpenBSD: vis.3,v 1.36 2018/03/16 16:58:26 schwarze Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 20 2015 $
+.Dd $Mdocdate: March 16 2018 $
.Dt VIS 3
.Os
.Sh NAME
@@ -187,9 +187,8 @@ Only encode
characters.
These are control characters which may cause common terminals to perform
unexpected functions.
-Currently this form allows space,
-tab, newline, backspace, bell, and return -- in addition
-to all graphic characters -- unencoded.
+Currently this form allows space, tab, newline, backspace, bell,
+and return \(em in addition to all graphic characters \(em unencoded.
.El
.Pp
There are three forms of encoding.
diff --git a/lib/libc/time/tzset.3 b/lib/libc/time/tzset.3
index 33bb84b2a87..e9f8e47dfe0 100644
--- a/lib/libc/time/tzset.3
+++ b/lib/libc/time/tzset.3
@@ -1,5 +1,5 @@
-.\" $OpenBSD: tzset.3,v 1.22 2015/11/10 20:58:20 millert Exp $
-.Dd $Mdocdate: November 10 2015 $
+.\" $OpenBSD: tzset.3,v 1.23 2018/03/16 16:58:26 schwarze Exp $
+.Dd $Mdocdate: March 16 2018 $
.Dt TZSET 3
.Os
.Sh NAME
@@ -96,10 +96,7 @@ minus
.Pq Sq \&- ,
plus
.Pq Sq \&+ ,
-and
-.Tn ASCII
-.Tn NUL
-are allowed.
+and ASCII NUL are allowed.
.It Ar offset
Indicates the value one must add to the local time to arrive at
Coordinated Universal Time.
@@ -129,7 +126,7 @@ summer time is assumed to be one hour ahead of standard time.
One or more digits may be used; the value is always interpreted as a
decimal number.
The hour must be between zero and 24, and the minutes (and
-seconds) -- if present -- between zero and 59.
+seconds) \(em if present \(em between zero and 59.
If preceded by a
.Dq \&- ,
the time zone shall be east of the Prime Meridian; otherwise it shall be
@@ -161,8 +158,8 @@ is one of the following:
The Julian day
.Ar n
.Pq 1 <= Ar n No <= 365 .
-Leap days are not counted; that is, in all years -- including leap
-years -- February 28 is day 59 and March 1 is day 60.
+Leap days are not counted; that is, in all years \(em including leap
+years \(em February 28 is day 59 and March 1 is day 60.
It is impossible to explicitly refer to the occasional February 29.
.It Ar n
The zero-based Julian day