aica_rtc_gettimeofday(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… aica_rtc_gettimeofday β€” Kernel API Manual ✨

okay so bestie, welcome to the aica_rtc_gettimeofday(9) page β€” it lives in the Kernel API Manual and it's literally the little goblin that reads the clock for you πŸ•°οΈ


🌸 NAME 🌸

aica_rtc_gettimeofday β€” get the time from the AICA RTC, no cap ⏰


πŸ¦‹ SYNOPSIS πŸ¦‹

int aica_rtc_gettimeofday (struct device *dev , struct rtc_time *tm );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the RTC device… and honestly? she's ignored πŸ’€ like bestie is literally in the room but nobody's talking to her. Still counts though!
  • tm β€” pointer to the resulting RTC time structure 🫢 this is where the actual time lands, she's the main character here fr fr.

✨ DESCRIPTION ✨

So what does she do? She grabs the current RTC seconds counter β€” just snatches it right up β€” and then adjusts it to the Unix Epoch. That's it, that's the whole vibe. slay 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./arch/sh/boards/mach-dreamcast/rtc.c β€” go read the source, iykyk πŸ“–
  • aica_rtc_settimeofday(9) β€” the other half of the duo, her opposite-number icon πŸ’œ

and that's the whole page!! periodt πŸŽ€ from ./arch/sh/boards/mach-dreamcast, dated October 2026 β€” mwah, love u, go read your kernel source πŸ’–πŸ¦‹βœ¨

πŸ“¦ where this page comes from