Introduction
Introduction Statistics Contact Development Disclaimer Help
rtc.h - ubase - suckless linux base utils
git clone git://git.suckless.org/ubase
Log
Files
Refs
README
LICENSE
---
rtc.h (510B)
---
1 /*
2 * The struct used to pass data via the following ioctl. Similar to the
3 * struct tm in <time.h>, but it needs to be here so that the kernel
4 * source is self contained, allowing cross-compiles, etc. etc.
5 */
6
7 struct rtc_time {
8 int tm_sec;
9 int tm_min;
10 int tm_hour;
11 int tm_mday;
12 int tm_mon;
13 int tm_year;
14 int tm_wday;
15 int tm_yday;
16 int tm_isdst;
17 };
18
19 #define RTC_RD_TIME _IOR('p', 0x09, struct rtc_time) /* Read RTC …
20 #define RTC_SET_TIME _IOW('p', 0x0a, struct rtc_time) /* Set RTC …
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.