rtc/interface.c