syscall.sh / riscv64 / timer_settime

timer_settime

arm/disarm and fetch state of POSIX per-process timer

sys_timer_settime(timer_t timer_id, int flags, const struct __kernel_itimerspec *new_setting, struct __kernel_itimerspec *old_setting)
number110 (0x6e)
abi64
entry pointsys_timer_settime
sinceLinux 4.15
man pagetimer_settime(2)
sourceelixir.bootlin.com

Registers

registervalue
a7110, the syscall number
a0timer_t timer_id
a1int flags
a2const struct __kernel_itimerspec *new_setting
a3struct __kernel_itimerspec *old_setting
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

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