HelenOS sources

RTC_DAY           359 uspace/drv/time/cmos-rtc/cmos-rtc.c 		t->tm_mday = rtc_register_read(rtc, RTC_DAY);
RTC_DAY           366 uspace/drv/time/cmos-rtc/cmos-rtc.c 	    t->tm_mday != rtc_register_read(rtc, RTC_DAY) ||
RTC_DAY           526 uspace/drv/time/cmos-rtc/cmos-rtc.c 	rtc_register_write(rtc, RTC_DAY, t->tm_mday);
HelenOS homepage, sources at GitHub