ktime_get_real_ts64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this is ktime_get_real_ts64(9) from the Kernel API Manual ✨ and it literally returns the time of day in a timespec64. no cap.

✨ SYNOPSIS ✨

void ktime_get_real_ts64 (struct timespec64 *ts );

πŸŽ€ ARGUMENTS πŸŽ€

  • ts β€” pointer to the timespec to be set. that's the whole assignment πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so it returns the time of day in a timespec64 β€” main character behavior, honestly. also the page says WARN if suspended 😭, so yeah, that's a real caveat, not me being dramatic.

🌸 SEE ALSO 🌸

kernel file ./kernel/time/timekeeping.c is the home base 🏠, and here's the whole friend group:


mwah πŸ’‹ source/version: ./kernel/time; date: October 2026; page: ktime_get_real_ts64(9). bye bestie, go read some timekeeping code 🫢

πŸ“¦ where this page comes from