syscall.sh / riscv64 / timerfd_gettime

timerfd_gettime

timers that notify via file descriptors

sys_timerfd_gettime(int ufd, struct __kernel_itimerspec *otmr)
number87 (0x57)
abi64
entry pointsys_timerfd_gettime
sinceLinux 4.15
man pagetimerfd_gettime(2)
sourceelixir.bootlin.com

Registers

registervalue
a787, the syscall number
a0int ufd
a1struct __kernel_itimerspec *otmr
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/timerfd_gettime