clock2alarm(9)
β¨ NAME β clock2alarm(9) β¨
okay so this is clock2alarm(9) from the Kernel API Manual, and she is a helper that converts from clockid to alarmtypes. Thatβs the whole gig, bestie β short, iconic, done. π
π SYNOPSIS π
the signature is literally this, no cap:
enum alarmtimer_type clock2alarm (clockid_t clockid );
π§ ARGUMENTS π§
clockidβ clockid. Thatβs the entire description, fr fr β itβs aclockid, and we respect the brevity. π«Ά
π SEE ALSO π
the extended universe is huge, so hereβs the whole friend group β every single one, periodt:
- 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)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_getres(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)
π cute sign-off: source/version is ./kernel/time, dated October 2026, and this page is clock2alarm(9) β thatβs the footer vibe, bestie, and it slays. π«Ά
π¦ 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