syscall.sh / x32 / clock_getres

clock_getres

clock and time functions

sys_clock_getres(clockid_t which_clock, struct __kernel_timespec *tp)
number1073742053 (0x400000e5)
abicommon
entry pointsys_clock_getres
sinceLinux 3.4
man pageclock_getres(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742053, 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/x32/clock_getres