Module Name:    src
Committed By:   pgoyette
Date:           Thu Apr 18 11:20:17 UTC 2019

Modified Files:
        src/lib/libc/time: tzset.3

Log Message:
Note restrictions on return values from tzgetname() and tzgmtoff()


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/lib/libc/time/tzset.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/time/tzset.3
diff -u src/lib/libc/time/tzset.3:1.39 src/lib/libc/time/tzset.3:1.40
--- src/lib/libc/time/tzset.3:1.39	Fri Oct 19 23:05:35 2018
+++ src/lib/libc/time/tzset.3	Thu Apr 18 11:20:17 2019
@@ -1,5 +1,5 @@
-.\"	$NetBSD: tzset.3,v 1.39 2018/10/19 23:05:35 christos Exp $
-.Dd October 19, 2018
+.\"	$NetBSD: tzset.3,v 1.40 2019/04/18 11:20:17 pgoyette Exp $
+.Dd April 18, 2019
 .Dt TZSET 3
 .Os
 .Sh NAME
@@ -89,6 +89,12 @@ is set to
 .Va 1
 the call is equivalent to
 .Va tzname[1] .
+The return values for both
+.Fn tzgetname
+and
+.Fn tzgmtoff
+correspond to the latest time for which data is available, even if that
+refers to a future time.
 Finally, the
 .Fn tzgetgmtoff
 function acts like
@@ -424,6 +430,13 @@ The
 .Fn tzset
 function conforms to
 .St -p1003.1-88 .
+.Sh BUGS
+Neither the
+.Fn tzgetname
+nor
+.Fn tzgmtoff
+functions have the ability to specify the point in time for which the
+requested data should be returned.
 .\" @(#)newtzset.3	8.2
 .\" This file is in the public domain, so clarified as of
 .\" 2009-05-17 by Arthur David Olson.

Reply via email to