Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: iglesias@draco.acs.uci.edu (Mike Iglesias)
Subject: Question about tzset(3) under DEC OSF/1
Date: 9 Jun 93 04:48:04 GMT	[thread overview]
Message-ID: <2C156B84.9572@news.service.uci.edu> (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


                 reply	other threads:[~1993-06-09  4:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox