get_old_itimerspec32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… get_old_itimerspec32(9) β€” from the Kernel API Manual, bestie

okay so picture this: it's a kernel function, it lives in the Kernel API Manual, and its whole personality is taking your userspace timerspec and putting it where the kernel can see it. no cap, that's the gig. πŸŽ€


✨ NAME ✨

get_old_itimerspec32 β€” literally the function that gets the user's &struct old_itimerspec32 into kernel space. that's it. that's the whole vibe. πŸ’–


🌸 SYNOPSIS 🌸

int get_old_itimerspec32 (struct itimerspec64 *its , const struct
old_itimerspec32 __user *uits );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • its β€” the destination struct itimerspec64. this is where the good stuff lands, main character energy fr. ✨
  • uits β€” the user's struct old_itimerspec32. yes it's __user, yes it's coming from userspace, be normal about it. πŸ™ˆ

⭐ RETURN ⭐

0 on success, or a negative errno on error. slay when it's 0, 😭 when it's negative. that's the whole return situation, iykyk.


πŸ‘‘ SEE ALSO πŸ‘‘

so the kernel file is ./kernel/time/time.c (that's the address, bestie 🏠), and it comes with a whole friend group. like, an iconic amount of them. here's everyone, no skips, no cuts:

like, the whole time-conversion clique pulled up. πŸ’…πŸ”₯

real talk: get_old_itimerspec32 is the getter twin β€” if you were looking for the one that shoves stuff back out to userspace, that's put_old_itimerspec32(9) up there in the list. don't mix them up, bestie, that's a whole different function's storyline. 🫢

okay that's the page!! 🌈 it came from the ./kernel/time corner of the kernel, dated October 2026, and it's filed under the Kernel API Manual β€” mwah, thanks for reading, love u, bye πŸ’œπŸ§šπŸ“

πŸ“¦ where this page comes from