syscall.sh / loongarch64 / clock_getres

clock_getres

clock and time functions

sys_clock_getres(clockid_t which_clock, struct __kernel_timespec *tp)
number114 (0x72)
abi64
entry pointsys_clock_getres
sinceLinux 5.19
man pageclock_getres(2)
sourceelixir.bootlin.com

Registers

registervalue
a7114, the syscall number
a0clockid_t which_clock
a1struct __kernel_timespec *tp
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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