Trailing-Edge
-
PDP-10 Archives
-
SRI_NIC_PERM_FS_1_19910112
-
kcc-5/include/sys/t20tim.h
There are 4 other files named t20tim.h in the archive. Click here to see a list.
/* T20TIM.H - contains definitions for TOPS-20/TENEX date/time jsys calls.
**
*/
/* TOPS-20/TENEX broken-down time value - 3 words used by the
** IDCNV%, ODCNV%, IDTNC%, ODTNC% calls.
*/
struct _t20_tm {
unsigned dt_year : 18; /* AC2 LH: year */
unsigned dt_mon : 18; /* RH: month (0 = Jan) */
unsigned dt_day : 18; /* AC3 LH: day of month (0 = 1st day) */
unsigned dt_dow : 18; /* RH: day of week (0 = Monday) */
/* AC4 */
unsigned dt_icdsa : 1; /* B0 IC%DSA - Apply DST as per IC%ADS */
unsigned dt_icads : 1; /* B1 IC%ADS - on if DST was applied */
unsigned dt_icutz : 1; /* B2 IC%UTZ - Use timezone in IC%UTZ */
unsigned dt_icjud : 1; /* B3 IC%JUD - on if Julian day fmt used */
unsigned : 8; /* B4-B11 */
int dt_ictmz : 6; /* B12-B17 IC%TMZ - Time zone used (signed!)*/
unsigned dt_ictim : 18; /* RH: IC%TIM - local time in sec since mid */
};