syscall.sh / sparc64 / clock_getres

clock_getres

clock and time functions

sys_clock_getres(clockid_t which_clock, struct __kernel_timespec *tp)
number258 (0x102)
abi64
entry pointsys_clock_getres
sinceLinux 5.0
man pageclock_getres(2)
sourceelixir.bootlin.com

Registers

registervalue
g1258, the syscall number
o0clockid_t which_clock
o1struct __kernel_timespec *tp
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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