Changeset View
Changeset View
Standalone View
Standalone View
contrib/tzcode/newtzset.3
.\" This file is in the public domain, so clarified as of | .\" This file is in the public domain, so clarified as of | ||||
.\" 2009-05-17 by Arthur David Olson. | .\" 2009-05-17 by Arthur David Olson. | ||||
.TH NEWTZSET 3 | .TH newtzset 3 "" "Time Zone Database" | ||||
.SH NAME | .SH NAME | ||||
tzset \- initialize time conversion information | tzset \- initialize time conversion information | ||||
.SH SYNOPSIS | .SH SYNOPSIS | ||||
.nf | .nf | ||||
.ie \n(.g .ds - \f(CR-\fP | .ie \n(.g .ds - \f(CR-\fP | ||||
.el .ds - \- | .el .ds - \- | ||||
.B #include <time.h> | .B #include <time.h> | ||||
.PP | .PP | ||||
▲ Show 20 Lines • Show All 316 Lines • ▼ Show 20 Lines | |||||
.I rule | .I rule | ||||
from the rest of the specification. | from the rest of the specification. | ||||
.SH FILES | .SH FILES | ||||
.ta \w'/usr/share/zoneinfo/posixrules\0\0'u | .ta \w'/usr/share/zoneinfo/posixrules\0\0'u | ||||
/usr/share/zoneinfo timezone information directory | /usr/share/zoneinfo timezone information directory | ||||
.br | .br | ||||
/usr/share/zoneinfo/localtime local timezone file | /usr/share/zoneinfo/localtime local timezone file | ||||
.br | .br | ||||
/usr/share/zoneinfo/posixrules used with POSIX-style TZ | /usr/share/zoneinfo/posixrules default DST rules (obsolete, | ||||
and can cause bugs if present) | |||||
.br | .br | ||||
/usr/share/zoneinfo/GMT for UTC leap seconds | /usr/share/zoneinfo/GMT for UTC leap seconds | ||||
.sp | .sp | ||||
If | If | ||||
.B /usr/share/zoneinfo/GMT | .B /usr/share/zoneinfo/GMT | ||||
is absent, | is absent, | ||||
UTC leap seconds are loaded from | UTC leap seconds are loaded from | ||||
.BR /usr/share/zoneinfo/posixrules . | .BR /usr/share/zoneinfo/posixrules . | ||||
.SH SEE ALSO | .SH SEE ALSO | ||||
getenv(3), | getenv(3), | ||||
newctime(3), | newctime(3), | ||||
newstrftime(3), | newstrftime(3), | ||||
time(2), | time(2), | ||||
tzfile(5) | tzfile(5) |