* Question about tzset(3) under DEC OSF/1
@ 1993-06-09 4:48 Mike Iglesias
0 siblings, 0 replies; only message in thread
From: Mike Iglesias @ 1993-06-09 4:48 UTC (permalink / raw)
I have a question about how tzset(3) works on DEC OSF/1 v1.2(Rev 10) (the
"official" release). When I use tzset, the "long timezone" variable is set
to this: 0xffffffff00007080 (or -4294938496 in decimal). The 0x00007080
part of the number is the correct offset from GMT for my timezone, and the
fact that it's negative is right since we are west of GMT. What's the
correct way to extract the information from "timezone"? Is there a bug in
the timezone code that is causing this strange number?
I haven't been able to find much documentation on how to use the timezone
variable in the man pages, so any help would be appreciated. I also looked
at ftime, which is supplied as a BSD compatibility routine. This gives
an even stranger number for the timezone offset, one that doesn't match
what I get from Ultrix 4.2a.
Mike Iglesias Internet: iglesias@draco.acs.uci.edu
University of California, Irvine BITNET: iglesias@uci
Office of Academic Computing uucp: ...!ucbvax!ucivax!iglesias
Distributed Computing Support phone: (714) 856-6926
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-06-09 4:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-06-09 4:48 Question about tzset(3) under DEC OSF/1 Mike Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox