--- hurd/rtc.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 hurd/rtc.h
diff --git a/hurd/rtc.h b/hurd/rtc.h new file mode 100644 index 00000000..957b13a0 --- /dev/null +++ b/hurd/rtc.h @@ -0,0 +1,21 @@ +#ifndef _RTC_H +#define _RTC_H 1 + +#include <hurd/ioctl.h> + +struct rtc_time { + int tm_sec; + int tm_min; + int tm_hour; + int tm_mday; + int tm_mon; + int tm_year; + int tm_wday; + int tm_yday; + int tm_isdst; +}; +typedef struct rtc_time rtc_time_t; + +#define _IOT_rtc_time _IOT(_IOTS(int),9,0,0,0,0) + +#endif /* rtc/rtc.h */ -- 2.47.0