alarm_clock_getres(9)
π alarm_clock_getres(9) β Kernel API Manual, section 9 π
okay bestie, listen up β we're in the kernel's clock department, and this one's a little one, but she's important, iykyk β¨
β¨ NAME β¨
alarm_clock_getres β the posix getres interface π«Ά
πΈ SYNOPSIS πΈ
int alarm_clock_getres (const clockid_t which_clock , struct timespec64
*tp );
π¦ ARGUMENTS π¦
which_clockβ the clockid, aka "which clock are we talking about, babe?" β°tpβ the timespec to fill. she's empty right now and we're gonna put stuff in her π
π DESCRIPTION π
Returns the granularity of the underlying alarm base clock. that's it. that's the whole vibe. like, how fine-grained is this clock, fr fr π
π SEE ALSO π
- the Kernel file
./kernel/time/alarmtimer.cπ struct alarm_base(9)alarmtimer_get_rtcdev(9)alarmtimer_enqueue(9)alarmtimer_dequeue(9)alarmtimer_fired(9)alarmtimer_suspend(9)alarm_init(9)alarm_start_timer(9)alarm_try_to_cancel(9)alarm_cancel(9)clock2alarm(9)alarm_handle_timer(9)alarm_timer_rearm(9)alarm_timer_forward(9)alarm_timer_remaining(9)alarm_timer_try_to_cancel(9)alarm_timer_wait_running(9)alarm_timer_arm(9)alarm_clock_get_timespec(9)alarm_clock_get_ktime(9)alarm_timer_create(9)alarmtimer_nsleep_wakeup(9)alarmtimer_do_nsleep(9)alarm_timer_nsleep_restart(9)alarm_timer_nsleep(9)alarmtimer_init(9)
like, that's the whole friend group right there ππ
no cap, that's genuinely every single reference from the original page β go read them, they're all in ./kernel/time and they all slay π
and that's the tea, bestie π this one's from ./kernel/time, dated October 2026, and she's filed under alarm_clock_getres(9) β mwah, love that for us πβ¨
π¦ 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