summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-03-31 00:10:15 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-03-31 00:10:15 +0000
commitfcc6ba1d0e3e2aebfb0de9f5d9fd48aa3f0812c3 (patch)
tree353aa687b82c0fac0e89acce829fea252f60e995 /lib
parent33d52f8d1a266551c19d5bfc9d1098e95bb7cf0a (diff)
Tell how to set the localtime link here too.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/time/ctime.39
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index 5869461eb15..5dedb511376 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ctime.3,v 1.19 2000/03/28 23:34:19 deraadt Exp $
+.\" $OpenBSD: ctime.3,v 1.20 2000/03/31 00:10:14 millert Exp $
.\"
.\"
.Dd February 16, 1999
@@ -252,7 +252,8 @@ UTC leap seconds are loaded from
.Xr strftime 3 ,
.Xr time 3 ,
.Xr tzset 3 ,
-.Xr tzfile 5
+.Xr tzfile 5 ,
+.Xr zic 8
.Sh NOTES
The return values
of the non re-entrant functions
@@ -268,6 +269,10 @@ will also be overwritten at the next call
.Fn tzset
).
.Pp
+The default system time zone may be set by running
+.Li Dq zic -l timezone
+as the superuser.
+.Pp
Avoid using out-of-range values with
.Fn mktime
when setting up lunch with promptness sticklers in Riyadh.