get_old_itimerspec32(9)
π 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 destinationstruct itimerspec64. this is where the good stuff lands, main character energy fr. β¨uitsβ the user'sstruct 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:
jiffies_to_msecs(9)jiffies_to_usecs(9)mktime64(9)set_normalized_timespec64(9)ns_to_timespec64(9)__msecs_to_jiffies(9)__usecs_to_jiffies(9)timespec64_to_jiffies(9)jiffies_to_timespec64(9)jiffies_to_clock_t(9)clock_t_to_jiffies(9)jiffies_64_to_clock_t(9)nsec_to_clock_t(9)jiffies64_to_nsecs(9)jiffies64_to_msecs(9)nsecs_to_jiffies64(9)nsecs_to_jiffies(9)timespec64_add_safe(9)get_timespec64(9)put_timespec64(9)get_old_timespec32(9)put_old_timespec32(9)get_itimerspec64(9)put_itimerspec64(9)put_old_itimerspec32(9)
like, the whole time-conversion clique pulled up. π π₯
real talk:get_old_itimerspec32is the getter twin β if you were looking for the one that shoves stuff back out to userspace, that'sput_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms