do_adjtimex(9)
π do_adjtimex(9) β Kernel API Manual, bestie edition β¨
okay so real talk, this is a page from the Kernel API Manual, section 9 β aka the kernel-internals corner of the man world. and it's a short one, so we can absolutely get through it together π«Ά
πΈ NAME πΈ
do_adjtimex β no cap, it's the accessor function to the NTP __do_adjtimex function. that's the whole flex. it's the little doorway you knock on when you want to reach the real NTP adjustment machinery hiding behind it. main character energy but make it a wrapper π
β¨ SYNOPSIS β¨
int do_adjtimex (struct __kernel_timex *txc );
(yes, the space before ) is canon, we don't touch it, we respect it π)
π¦ ARGUMENTS π¦
txcβ a pointer to akernel_timexstructure that's holding your NTP parameters. it's giving "here's my whole vibe, pls sync my clock" β°β¨
π SEE ALSO π
the whole friend group got tagged, and honestly? iconic. this is the Kernel file ./kernel/time/timekeeping.c extended universe π β every single one of these gets a spot, no gatekeeping:
struct tk_fast(9)tk_setup_internals(9)update_fast_timekeeper(9)ktime_get_mono_fast_ns(9)ktime_get_raw_fast_ns(9)ktime_get_boot_fast_ns(9)ktime_get_tai_fast_ns(9)ktime_get_real_fast_ns(9)halt_fast_timekeeper(9)pvclock_gtod_register_notifier(9)pvclock_gtod_unregister_notifier(9)timekeeping_forward_now(9)ktime_get_real_ts64(9)ktime_mono_to_any(9)ktime_get_raw(9)ktime_get_ts64(9)ktime_get_seconds(9)ktime_get_real_seconds(9)__ktime_get_real_seconds(9)ktime_get_snapshot_id(9)adjust_historical_crosststamp(9)ktime_real_to_base_clock(9)get_device_system_crosststamp(9)timekeeping_clocksource_has_base(9)do_settimeofday64(9)__timekeeping_inject_offset(9)timekeeping_notify(9)ktime_get_raw_ts64(9)timekeeping_valid_for_hres(9)timekeeping_max_deferment(9)read_persistent_clock64(9)read_persistent_wall_and_boot_offset(9)__timekeeping_inject_sleeptime(9)timekeeping_inject_sleeptime64(9)timekeeping_resume(9)update_wall_time(9)getboottime64(9)ktime_get_coarse_real_ts64_mg(9)ktime_get_real_ts64_mg(9)ktime_get_update_offsets_now(9)random_get_entropy_fallback(9)hardpps(9)ktime_get_aux(9)ktime_get_aux_ts64(9)
likeβ¦ they all showed up to the group photo πΈπ go say hi, iykyk.
lowkey a reminder bestie: this is a section 9 kernel page, so it's dev territory, not your everyday "how do i change my timezone" situation π read the neighbours too, they're all in the same timekeeping.c house.
and that's the whole page, fr fr β source: ./kernel/time, dated October 2026, page do_adjtimex(9). ty for coming to my ted talk, mwah ππβ¨
π¦ 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