syscall.sh / riscv64 / getitimer

getitimer

get or set value of an interval timer

sys_getitimer(int which, struct __kernel_old_itimerval *value)
number102 (0x66)
abicommon
entry pointsys_getitimer
sinceLinux 4.15
man pagegetitimer(2)
sourceelixir.bootlin.com

Registers

registervalue
a7102, the syscall number
a0int which
a1struct __kernel_old_itimerval *value
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/getitimer