|
|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T U c
Length: 1252 (0x4e4)
Types: TextFile
Notes: UNIX file
Names: »clockcal.h«
└─⟦a6ab2eb36⟧ Bits:30004042/kconfig3.imd SW95705I 386/ix Multi-user Release 1.2
└─⟦a6ab2eb36⟧ UNIX Filesystem
└─⟦this⟧ »kc/new/usr/include/sys/clockcal.h«
/*
* Copyright (C) 1986 Intel Corp.
* static char clock_version[] ="$Header: clockcal.h 1.1 86/06/06 13:32:06 x386 unit-tested $";
*/
#ident "@(#)clockcal.h 1.3"
/*
* These are the ioctl commands and structure
* for the clock calender.
* Currently the battery backup clock calender
* is implemented on the 546, line 6 /dev/clock.
*
* 1/29/86 rickb
* Created include file.
*/
struct clkcal {
unsigned char ck_milsec; /* 10 thous. of a second, .x0 */
unsigned char ck_decsec; /* 100th and 10th of a second, 0-99 */
unsigned char ck_sec; /* second of minute, 0-59 */
unsigned char ck_min; /* minute of hour, 0-59 */
unsigned char ck_hour; /* hour of the day, 1-23 */
unsigned char ck_wday; /* day of the week, 1-7 */
unsigned char ck_mday; /* day of the month, 1-31 */
unsigned char ck_month; /* month of the year, 1-12 */
unsigned char ck_reserv1; /* reserved field */
unsigned char ck_year; /* year of the centur, 0-99 */
unsigned char ck_reserv2; /* reserved field */
};
#define CLKSIZE 11 /* the size of the above structure.
since the compiler pads it, it
doesn't know it is only 11 */
#define TIME_SET (('c'<<8)|0) /* set time on 546 */
#define TIME_GET (('c'<<8)|1) /* get the time from the 546 */