syscall.sh / x64 / clock_getres

clock_getres

clock and time functions

sys_clock_getres(clockid_t which_clock, struct __kernel_timespec *tp)
number229 (0xe5)
abicommon
entry pointsys_clock_getres
sinceLinux 3.3
man pageclock_getres(2)
sourceelixir.bootlin.com

Registers

registervalue
rax229, the syscall number
rdiclockid_t which_clock
rsistruct __kernel_timespec *tp
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/clock_getres