syscall.sh / s390x / clock_settime

clock_settime

clock and time functions

sys_clock_settime(clockid_t which_clock, const struct __kernel_timespec *tp)
number259 (0x103)
abicommon
entry pointsys_clock_settime
sinceLinux 4.16
man pageclock_settime(2)
sourceelixir.bootlin.com

Registers

registervalue
r1259, the syscall number
r2clockid_t which_clock
r3const struct __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_settime