tzdata file [TZData=procfile]
uw_tools/rfw1.6/aux/tzdata
TZDATA reads a time zone definition file given in either text format or processed (binary) format. If you specify the TZData= option, TZDATA writes a processed version of the file to the specified "procfile". Processed time zone definition files are read by the B library function .TINIT in order to provide time zone information to a program.
TZDATA always writes a text version of the time zone definitions to the standard output. This text version contains no comments except for the first line of output; this first line is a comment giving the number of words of memory the time zone definitions will occupy when loaded into a program.
As an example of how TZDATA can be used, consider
tzdata >deffileSince there is no input file specified, TZDATA reads the standard processed time zone definition file, and writes a text version of this file to the standard output (deffile). You can then examine and edit these definitions if you wish, by using a text editor on "deffile". When you're done, you can process "deffile" into your own customized time zone definition file with
tzdata deffile tzdata=/myproc >checkThis takes the text definitions in "deffile" and creates a processed version in "/myproc". It also writes a text version of the definitions into "check", which you can examine if you like. The first line will be of most interest, since that gives the memory space required to hold the tables you've just processed.
uw_tools/rfw1.6/aux/tzdata
Copyright © 2000, Thinkage Ltd.