syscall.sh / sh / clock_settime64

clock_settime64

clock and time functions

sys_clock_settime(clockid_t which_clock, const struct __kernel_timespec *tp)
number404 (0x194)
abicommon
entry pointsys_clock_settime
sinceLinux 5.1
man pageclock_settime(2)
sourceelixir.bootlin.com

Registers

registervalue
r3404, the syscall number
r4clockid_t which_clock
r5const struct __kernel_timespec *tp
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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