summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdtime
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-11-10 17:46:15 +0000
committerru <ru@FreeBSD.org>2000-11-10 17:46:15 +0000
commita6f5d950d860b642619fd71c1efc1875f906cc17 (patch)
treed290d38e2fe5b5c638aa4cd22f5612eb6b8cd6de /lib/libc/stdtime
parent48c9ea08a6fa4c9c3d612d66b001208c85107546 (diff)
downloadFreeBSD-src-a6f5d950d860b642619fd71c1efc1875f906cc17.zip
FreeBSD-src-a6f5d950d860b642619fd71c1efc1875f906cc17.tar.gz
Avoid use of direct troff requests in mdoc(7) manual pages.
Diffstat (limited to 'lib/libc/stdtime')
-rw-r--r--lib/libc/stdtime/strptime.33
-rw-r--r--lib/libc/stdtime/time2posix.328
2 files changed, 16 insertions, 15 deletions
diff --git a/lib/libc/stdtime/strptime.3 b/lib/libc/stdtime/strptime.3
index bab8954..f045219 100644
--- a/lib/libc/stdtime/strptime.3
+++ b/lib/libc/stdtime/strptime.3
@@ -87,8 +87,7 @@ The
function has been contributed by Powerdog Industries.
.Pp
This man page was written by
-.ie t J\(:org Wunsch.
-.el Joerg Wunsch.
+.An J\(:org Wunsch .
.Sh HISTORY
The
.Fn strptime
diff --git a/lib/libc/stdtime/time2posix.3 b/lib/libc/stdtime/time2posix.3
index 8930c31..edef397 100644
--- a/lib/libc/stdtime/time2posix.3
+++ b/lib/libc/stdtime/time2posix.3
@@ -87,21 +87,23 @@ and its conversion to,
and back from,
the POSIX representation over the leap second inserted at the end of June,
1993.
-.ta \w'93/06/30 'u +\w'23:59:59 'u +\w'A+0 'u +\w'X=time2posix(T) 'u
-DATE TIME T X=time2posix(T) posix2time(X)
-93/06/30 23:59:59 A+0 B+0 A+0
-93/06/30 23:59:60 A+1 B+1 A+1 or A+2
-93/07/01 00:00:00 A+2 B+1 A+1 or A+2
-93/07/01 00:00:01 A+3 B+2 A+3
-
+.Bl -column "93/06/30" "23:59:59" "A+0" "X=time2posix(T)"
+.It Sy DATE TIME T X=time2posix(T) posix2time(X)
+.It 93/06/30 23:59:59 A+0 B+0 A+0
+.It 93/06/30 23:59:60 A+1 B+1 A+1 or A+2
+.It 93/07/01 00:00:00 A+2 B+1 A+1 or A+2
+.It 93/07/01 00:00:01 A+3 B+2 A+3
+.El
+.Pp
A leap second deletion would look like...
-
-DATE TIME T X=time2posix(T) posix2time(X)
-??/06/30 23:59:58 A+0 B+0 A+0
-??/07/01 00:00:00 A+1 B+2 A+1
-??/07/01 00:00:01 A+2 B+3 A+2
+.Bl -column "??/06/30" "23:59:58" "A+0" "X=time2posix(T)"
+.It Sy DATE TIME T X=time2posix(T) posix2time(X)
+.It ??/06/30 23:59:58 A+0 B+0 A+0
+.It ??/07/01 00:00:00 A+1 B+2 A+1
+.It ??/07/01 00:00:01 A+2 B+3 A+2
+.El
.Pp
- [Note: posix2time(B+1) => A+0 or A+1]
+.D1 No "[Note: posix2time(B+1) => A+0 or A+1]"
.Pp
If leap-second support is not enabled,
local time_t's and
OpenPOWER on IntegriCloud