ktime_after(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ktime_after β€” from the Kernel API Manual ✨

okay so bestie, welcome to the ktime_after(9) page πŸŽ€ this one's a little icon and honestly it's giving "short king" energy β€” tiny function, does exactly one job, slays while doing it.


🌸 NAME 🌸

ktime_after β€” the vibe check for whether one ktime_t value is, like, bigger than another one πŸ‘‘


✨ SYNOPSIS ✨

bool ktime_after (const ktime_t cmp1 , const ktime_t cmp2 );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • cmp1 β€” comparable1 🫢 (the first one you're comparing, the main character)
  • cmp2 β€” comparable2 πŸ’– (the second one, also here, also valid)

⭐ RETURN ⭐

bestie it returns true if cmp1 happened after cmp2 πŸ”₯ that's it, that's the whole plot. no cap.

ngl, it's a bool β€” so you're getting true or you're getting not-true. no in-between, no "it's complicated" πŸŽ€

🌈 SEE ALSO 🌈

the kernel file ./include/linux/ktime.h (go read it, it's literally right there, iykyk πŸ‘€) plus the whole friend group:

like yeah they all hang out together, it's a whole squad πŸ§šπŸ’œ


and that's the page, bestie! πŸ’€ this icon dropped with the source tree ./include/linux back in October 2026 β€” so if you're reading this, drink some water, and go compare some ktimes responsibly πŸ’…πŸ“βœ¨

πŸ“¦ where this page comes from