syscall.sh / alpha / clock_getres

clock_getres

clock and time functions

sys_clock_getres(clockid_t which_clock, struct __kernel_timespec *tp)
number421 (0x1a5)
abicommon
entry pointsys_clock_getres
sinceLinux 5.0
man pageclock_getres(2)
sourceelixir.bootlin.com

Registers

registervalue
v0421, the syscall number
a0clockid_t which_clock
a1struct __kernel_timespec *tp
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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