syscall.sh / arc / clock_settime

clock_settime

clock and time functions

sys_clock_settime32(clockid_t which_clock, struct old_timespec32 *tp)
number112 (0x70)
abitime32
entry pointsys_clock_settime32
sinceLinux 3.9
man pageclock_settime(2)
sourceelixir.bootlin.com

Registers

registervalue
r8112, the syscall number
r0clockid_t which_clock
r1struct old_timespec32 *tp
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/clock_settime