aica_rtc_settimeofday(9)
π aica_rtc_settimeofday β it's giving "set the clock, bestie" β¨
okay so this is a page from the Kernel API Manual, and it's all about aica_rtc_settimeofday(9) β literally the function that sets the AICA RTC to the current time. yes, that's the whole vibe. stay with me π«Ά
πΈ NAME πΈ
aica_rtc_settimeofday β Set the AICA RTC to the current time β°
β¨ SYNOPSIS β¨
int aica_rtc_settimeofday (struct device *dev , struct rtc_time *tm );
like, that's the whole signature, no cap. int going in, int coming out, two args in the middle. slay π
π ARGUMENTS π
devβ the RTC device. and bestieβ¦ it's ignored. the function literally does not care. it's giving "you're here but you're not the main character" π€·ββοΈtmβ pointer to the new RTC time structure. this one actually matters, it's the whole point of the function, look at her go β
π¦ DESCRIPTION π¦
okay so picture this: it adjusts the given tv to the AICA Epoch, and then it sets the RTC seconds counter. that's it. that's the function. lowkey iconic in how straightforward it is π
heads up β the arg up top is calledtmbut the description saystv. that's how it's written, don't come for me, I'm just the messenger π
π₯ SEE ALSO π₯
- Kernel file
./arch/sh/boards/mach-dreamcast/rtc.cβ the actual source, go read her, she's right there π aica_rtc_gettimeofday(9)β the other half of the duo. the getter to this setter. the way they're a matched set ππ
and that's the page, bestie! π this cutie came out of ./arch/sh/boards/mach-dreamcast with a date of October 2026, so if you're reading this from the future β hi, ily, hope your RTC is accurate π§π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms