summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2008-10-23 20:33:07 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2008-10-23 20:33:07 +0000
commitc1d313b0d2ad9c68e6f9686c42d1864d412223db (patch)
treef3589808ec41e962d76d998222ed523b4e59d6b7 /lib/libc
parentc6a8c1bc3a1e2273c6521d805012de83d8e62dec (diff)
Reword description of tm_zone and tm_gmtoff fields
Prompted by millert@; ok millert@ jmc@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/time/ctime.316
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index 3fd7e7a3126..13cb5530699 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,7 +1,7 @@
-.\" $OpenBSD: ctime.3,v 1.35 2008/01/07 01:09:37 millert Exp $
+.\" $OpenBSD: ctime.3,v 1.36 2008/10/23 20:33:06 guenther Exp $
.\"
.\"
-.Dd $Mdocdate: January 7 2008 $
+.Dd $Mdocdate: October 23 2008 $
.Dt CTIME 3
.Os
.Sh NAME
@@ -240,11 +240,15 @@ The
.Fa tm_zone
and
.Fa tm_gmtoff
-fields exist, and are filled in, only if arrangements to do
-so were made when the library containing these functions was
-created.
+fields exist, and are filled in by
+.Fn mktime ,
+.Fn localtime ,
+.Fn timegm ,
+and
+.Fn gmtime ,
+but are not standardized.
There is no guarantee that these fields will continue to exist
-in this form in future releases of this code.
+in this form and they may be altered or removed in a future release.
.Pp
.Fa tm_isdst
is non-zero if summer time is in effect.