syscall.sh / s390x / clock_getres

clock_getres

clock and time functions

sys_clock_getres(clockid_t which_clock, struct __kernel_timespec *tp)
number261 (0x105)
abicommon
entry pointsys_clock_getres
sinceLinux 4.16
man pageclock_getres(2)
sourceelixir.bootlin.com

Registers

registervalue
r1261, the syscall number
r2clockid_t which_clock
r3struct __kernel_timespec *tp
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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