ktime_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the ktime_set(9) page from the Kernel API Manual ✨ ktime_set β€” Set a ktime_t variable from a seconds/nanoseconds value. That's the whole vibe: seconds plus nanoseconds, and this function is the main character that sets your ktime_t. πŸ’…

🌸 SYNOPSIS 🌸

ktime_t ktime_set (const s64 secs , const unsigned long nsecs );

No cap, that's the exact signature β€” const s64 secs, const unsigned long nsecs, and it hands back a ktime_t. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • secs β€” seconds to set ⏱️
  • nsecs β€” nanoseconds to set ✨

πŸ¦‹ RETURN πŸ¦‹

The ktime_t representation of the value. That's it, that's the tea πŸ’–

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ this page came from ./include/linux, dated October 2026, and it's literally ktime_set(9) β€” periodt. πŸŒˆπŸ’œ

πŸ“¦ where this page comes from