syscall.sh / mips64 / 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)
| number | 5217 (0x1461) |
|---|---|
| abi | n64 |
| entry point | sys_timer_settime |
| since | Linux 5.0 |
| man page | timer_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5217, the syscall number |
a0 | timer_t timer_id |
a1 | int flags |
a2 | const struct __kernel_itimerspec *new_setting |
a3 | struct __kernel_itimerspec *old_setting |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 223
- x86 260
- arm64 110
- arm 258
- riscv64 110
- x32 1073742047
- loongarch64 110
- ppc64 241
- ppc 241
- s390x 255
- mipsn32 6221
- mipso32 4258
- alpha 415
- arc 110
- csky 110
- hexagon 110
- m68k 255
- microblaze 260
- nios2 110
- openrisc 110
- parisc 251
- sh 260
- sparc 262
- sparc64 262
- xtensa 250
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/timer_settime