put_itimerspec64(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so like, welcome to the put_itimerspec64(9) page from the Kernel API Manual ✨ β€” yes that's a section 9 page, kernel-internals territory, and yes you're gonna slay it.


🌸 NAME 🌸

put_itimerspec64 β€” the little function that converts a &struct itimerspec64 into __kernel_itimerspec format and then copies the latter over to userspace 🫢

Like, it's giving "kernel side in, user side out." Translation era fr fr.


✨ SYNOPSIS ✨

int put_itimerspec64 (const struct itimerspec64 *it , struct
__kernel_itimerspec __user *uit );

that's the whole signature, no cap 😌


πŸŽ€ ARGUMENTS πŸŽ€

  • it β€” the input struct itimerspec64, literally the thing you're converting from πŸ’–
  • uit β€” the user's struct __kernel_itimerspec, aka where it ends up πŸ¦‹

⭐ RETURN ⭐

0 on success, or a negative errno on error. that's it, that's the vibe check βœ…

ngl bestie, always check the return value. negative errno is not a cute look to ignore πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

the main character file here is ./kernel/time/time.c, and honestly the whole time-conversion friend group showed up πŸ‘‘

like, the entire time-conversion group chat πŸ˜­πŸ’€ go read them, iykyk.


and that's the page!! this lil icon lives in ./kernel/time and the source/version is ./kernel/time with a date of October 2026 β€” so yeah, mark your calendars bestie πŸ—“οΈπŸ’– mwah, go convert some timer specs, periodt 🧚✨

πŸ“¦ where this page comes from