rtc_update_irq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– rtc_update_irq(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes, we're reading kernel docs together, this is our bonding time, no cap ✨

🌸 NAME 🌸

rtc_update_irq β€” the function that gets called when a RTC interrupt happens. literally its whole job. icon behaviour πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

void rtc_update_irq (struct rtc_device *rtc , unsigned long num ,
       unsigned long events );

like, that's the whole vibe. three args, void return, done 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

  • rtc β€” the rtc device, aka the actual real-time-clock bestie in question πŸ‘‘
  • num β€” how many irqs are being reported, and ngl it's usually one (usually!! keep that in mind, sometimes it's not πŸ™ˆ)
  • events β€” a mask of RTC_IRQF with one or more of RTC_PF, RTC_AF, RTC_UF. like the little event combo platter πŸ“

✨ CONTEXT ✨

any β€” literally any context, it does not care, it's flexible like that πŸ’œ

🌈 SEE ALSO 🌈

kernel file ./drivers/rtc/interface.c (go look, it's right there), plus the whole friend group:


and that's the page, bestie!! 🧚 this one comes from ./drivers/rtc and it's dated October 2026 β€” so mark your calendar, it's giving future icon energy ⭐ rtc_update_irq(9) out πŸ’–

πŸ“¦ where this page comes from