rtc_time64_to_tm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, meet rtc_time64_to_tm β€” straight from the Kernel API Manual β€” and it converts time64_t to rtc_time. that’s the whole vibe. πŸ’…βœ¨

🌸 SYNOPSIS 🌸

void rtc_time64_to_tm (time64_t time , struct rtc_time *tm );

no cap, that’s the exact signature. 🫢

πŸ’– ARGUMENTS πŸ’–

  • time β€” the number of seconds since 01-01-1970 00:00:00. Works for values since at least 1900. β°πŸ‘‘
  • tm β€” pointer to the struct rtc_time. πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/rtc/lib.c β€” go peek, iykyk. πŸ”₯

that’s it, bestie! this page is from ./drivers/rtc, dated October 2026, and it’s literally rtc_time64_to_tm(9) β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from