1
0
mirror of https://frontier.innolan.net/rainlance/amiga-tz.git synced 2026-05-07 07:07:42 +00:00

mod.sources version

SCCS-file: Theory
SCCS-SID: 3.1
This commit is contained in:
Arthur David Olson
1987-02-28 18:42:13 -05:00
committed by Paul Eggert
parent c2e6b69ea4
commit bc6a780944

9
Theory
View File

@@ -27,7 +27,7 @@ the usefulness of the SVR2 functions:
applications that an administrator wants used only at certain times--
without regard to whether the user has fiddled the "TZ" environment
variable. While an administrator can "do everything in GMT" to get
around the problem, doing so is inconvenient and precludes handling
around the problem, doing so is inconvenient and precludes handling
daylight savings time shifts--as might be required to limit phone
calls to off-peak hours.)
@@ -75,7 +75,7 @@ These are the changes that have been made to the SVR2 functions:
best approximation to local wall clock time to be delivered by
subsequent calls to "localtime." Source code for portable
applications that "must" run on local wall clock time should call
"tzsetwall;" if such code is moved to "old" systems that don't provide
"tzsetwall();" if such code is moved to "old" systems that don't provide
tzsetwall, you won't be able to generate an executable program.
(These time zone functions also arrange for local wall clock time to be
used if tzset is called--directly or indirectly--and there's no "TZ"
@@ -89,8 +89,9 @@ Points of interest to folks with Version 7 or BSD systems:
of GMT" value and a "daylight saving time in effect" flag) to a
time zone abbreviation, and we refuse to guess.
Programs that in the past used the timezone function may now examine
tzname[(*localtime(&clock))->tm_isdst] to learn the correct time
zone abbreviation to use.
tzname[localtime(&clock)->tm_isdst] to learn the correct time
zone abbreviation to use. Alternatively, use localtime(&clock)->tm_zone
if this has been enabled.
* The BSD gettimeofday function is not used in this package;
this lets users control the time zone used in doing time conversions.