syscall.sh / arm64 / clock_settime

clock_settime

clock and time functions

sys_clock_settime(clockid_t which_clock, const struct __kernel_timespec *tp)
number112 (0x70)
abi64
entry pointsys_clock_settime
sinceLinux 3.7
man pageclock_settime(2)
sourceelixir.bootlin.com

Registers

registervalue
x8112, the syscall number
x0clockid_t which_clock
x1const struct __kernel_timespec *tp
x0the 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/arm64/clock_settime