up | Inhaltsverzeichniss | Kommentar

Manual page for TZSETUP(8)

tzsetup - set up old-style time zone information in the kernel

SYNOPSIS

/usr/etc/tzsetup

DESCRIPTION

tzsetup attempts to find the offset from GMT and old-style Daylight Savings Time correction type (see gettimeofday.2 that most closely matches the default time zone for the machine, and to pass this information to the kernel with a settimeofday () call (see gettimeofday.2 This is necessary if programs built under releases of SunOS prior to 4.0 are to be run; those programs get time zone information from the kernel using gettimeofday.

If it cannot find the offset from GMT, the offset is set to 0; if it cannot find the Daylight Savings Time correction type, it is set to DST_NONE, indicating that no Daylight Savings Time correction is to be performed.

DIAGNOSTICS

tzsetup: Can't open /usr/share/lib/zoneinfo/localtime: reason
The time zone file for the current time zone could not be opened.
tzsetup: Error reading /usr/lib/zoneinfo/localtime: reason
The time zone file for the current time zone could not be read.
tzsetup: Two or more time zone types are equally valid -- no DST selected
There were two or more Daylight Savings Time correction types that generated results that were equally close to the correct results. None of them was selected. Programs built under versions of SunOS prior to 4.0 may not convert dates correctly.
tzsetup: No old-style time zone type is valid -- no DST selected
None of the Daylight Savings Time correction types generated results that were in any way correct; none of them was selected. Programs built under versions of SunOS prior to 4.0 may not convert dates correctly.
tzsetup: Warning: No old-style time zone type is completely valid
None of the Daylight Savings Time correction types generated results that were completely correct; the best of them was selected. Programs built under versions of SunOS prior to 4.0 may not convert dates correctly.
tzsetup: Can't set time zone
tzsetup was run by a user other than the super-user; only the super-user may change the kernel's notion of the current time zone.

SEE ALSO

gettimeofday.2 tzfile.5 zic.8


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).

Last modified 21/April/97