[10839] in Athena Bugs
sun4 7.6I: man timezone
daemon@ATHENA.MIT.EDU (Eric McDonald)
Thu Aug 26 20:48:29 1993
To: bugs@Athena.MIT.EDU
Date: Thu, 26 Aug 93 20:48:13 EDT
From: Eric McDonald <ericldab@Athena.MIT.EDU>
System name: w20-575-28
Type and version: SPARC/Classic 7.6I
Display type: cgthree
What were you trying to do?
Access the tm_zone member of the tm structure as defined in
<time.h> and referred to by the timezone man page.
What's wrong:
There is no such member of the tm structure, even though
the man page says:
NOTES
...
...
Instead of using timezone() to determine the name of
the time zone for a given time, that time should be con-
verted to a struct tm using localtime() (see ctime(3C)) and
the tm_zone field of that structure should be used.
What should have happened:
According to the man page, there should have been. Either
the member should be added (not very likely) or the man page
should be corrected
Please describe any relevant documentation references:
man timezone
/usr/include/time.h