summaryrefslogtreecommitdiff
path: root/lib/libc/time
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-14 13:08:02 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-14 13:08:02 +0000
commitfc767d18f4cc7c85b269bbd4ee4fe8de80f48cbc (patch)
treeacadc0d21a9f45e42fed7288538a83ed53d8dab5 /lib/libc/time
parent8c45e964a6cac4aacc0bf676e780b37023c631b3 (diff)
use .Va for global variables, and .Vt where the type is included
Diffstat (limited to 'lib/libc/time')
-rw-r--r--lib/libc/time/ctime.313
1 files changed, 6 insertions, 7 deletions
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index fc02e5de668..284f5f0d3b2 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,7 +1,7 @@
-.\" $OpenBSD: ctime.3,v 1.43 2014/01/23 08:15:13 otto Exp $
+.\" $OpenBSD: ctime.3,v 1.44 2015/09/14 13:08:01 schwarze Exp $
.\"
.\"
-.Dd $Mdocdate: January 23 2014 $
+.Dd $Mdocdate: September 14 2015 $
.Dt CTIME 3
.Os
.Sh NAME
@@ -21,8 +21,7 @@
.Sh SYNOPSIS
.In sys/types.h
.In time.h
-.Pp
-.Fd extern char *tzname[2];
+.Vt extern char *tzname[2] ;
.Ft "char *"
.Fn ctime "const time_t *clock"
.Ft "char *"
@@ -86,7 +85,7 @@ Unlike
the thread-safe version
.Fn ctime_r
is not required to set
-.Fa tzname .
+.Va tzname .
.Pp
The
.Fn localtime
@@ -105,7 +104,7 @@ structure,
sets the
.Fa tm_isdst Ns 'th
element of
-.Fa tzname
+.Va tzname
to a pointer to an
ASCII string that's the time zone abbreviation to be used with
the return value of
@@ -130,7 +129,7 @@ but instead store the result directly into the structure pointed to by
Unlike
.Fn localtime ,
the reentrant version is not required to set
-.Fa tzname .
+.Va tzname .
.Pp
.Fn asctime
converts a time value contained in a