Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 1996 12:24:37 -0500
From:      "Garrett A. Wollman" <wollman@lcs.mit.edu>
To:        dkelly@PeeCee.tbe.com (David Kelly)
Cc:        questions@freebsd.org
Subject:   tzname[] and <time.h>
Message-ID:  <9602281724.AA09224@halloran-eldar.lcs.mit.edu>
In-Reply-To: <v02140b02ad5a2a96b307@[140.165.210.81]>
References:  <v02140b02ad5a2a96b307@[140.165.210.81]>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 28 Feb 1996 09:54:46 -0600, dkelly@PeeCee.tbe.com (David Kelly) said:

> Should "extern char *tzname[2];" be in /usr/include/time.h as with other
> systems or is there some good reason that it is missing?

Don't use it.  Use the tm_zone field of `struct tm'.  Neither is
portable, but the tm_zone field is more so.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9602281724.AA09224>