[1803] in Athena Bugs
localtime man page is wrong
daemon@ATHENA.MIT.EDU (jbs@ATHENA.MIT.EDU)
Tue Feb 21 18:45:06 1989
From: <jbs@ATHENA.MIT.EDU>
Date: Tue, 21 Feb 89 18:44:34 EST
To: bugs@ATHENA.MIT.EDU
In the following, from the man page for local time, the type of
tm_zone is incorrect. It should be "char *", not "char **".
Jeff Siegal
----
struct tm {
int tm_sec; /* 0-59 seconds */
int tm_min; /* 0-59 minutes */
int tm_hour; /* 0-23 hour */
int tm_mday; /* 1-31 day of month */
int tm_mon; /* 0-11 month */
int tm_year; /* 0- year - 1900 */
int tm_wday; /* 0-6 day of week (Sunday = 0) */
int tm_yday; /* 0-365 day of year */
int tm_isdst; /* flag: daylight savings time in effect */
char **tm_zone; /* abbreviation of timezone name */
long tm_gmtoff; /* offset from GMT in seconds */
};