syscall.sh / sh / timer_gettime

timer_gettime

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

sys_timer_gettime32(timer_t timer_id, struct old_itimerspec32 *setting)
number261 (0x105)
abicommon
entry pointsys_timer_gettime32
sinceLinux 5.0
man pagetimer_gettime(2)
sourceelixir.bootlin.com

Registers

registervalue
r3261, the syscall number
r4timer_t timer_id
r5struct old_itimerspec32 *setting
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/timer_gettime