Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/time Use .Vt for types. Don't use .Pq - it formats...
details: https://anonhg.NetBSD.org/src/rev/2cdadefc6894
branches: trunk
changeset: 783315:2cdadefc6894
user: uwe <uwe%NetBSD.org@localhost>
date: Fri Dec 14 22:57:00 2012 +0000
description:
Use .Vt for types. Don't use .Pq - it formats funny in PostScript and
plain parens do just fine here.
diffstat:
lib/libc/time/getdate.3 | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diffs (49 lines):
diff -r aa06bdceb3c5 -r 2cdadefc6894 lib/libc/time/getdate.3
--- a/lib/libc/time/getdate.3 Fri Dec 14 22:55:59 2012 +0000
+++ b/lib/libc/time/getdate.3 Fri Dec 14 22:57:00 2012 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: getdate.3,v 1.4 2012/12/14 22:33:17 uwe Exp $
+.\" $NetBSD: getdate.3,v 1.5 2012/12/14 22:57:00 uwe Exp $
.\"
.\" Copyright (c) 2009, 2011, 2012, The NetBSD Foundation.
.\" All Rights Reserved.
@@ -49,7 +49,7 @@
function converts a date or time character string pointed to by
.Fa str
into a static
-.Va tm
+.Vt tm
structure described in
.Xr tm 3 .
.Pp
@@ -83,7 +83,7 @@
and
.Fa tm_isdst
members of the returned
-.Va "struct tm"
+.Vt "struct tm"
are unspecified.
.It
If the century is given, but the year within the century is not given,
@@ -105,7 +105,7 @@
If successful, the
.Fn getdate
function returns a pointer to a static
-.Va tm
+.Vt tm
structure containing the broken-down time.
Otherwise, a null pointer is returned and
.Va getdate_err
@@ -131,10 +131,9 @@
.It 7
Input string does not match any line in the template file.
.It 8
-Input string is invalid
-.Pq for example February 31
+Input string is invalid (for example, February 31)
or could not be represented in a
-.Va time_t .
+.Vt time_t .
.El
.Sh ENVIRONMENT
.Bl -tag -width DATEMSK
Home |
Main Index |
Thread Index |
Old Index