syscall.sh / ppc / timer_settime
timer_settime
arm/disarm and fetch state of POSIX per-process timer
sys_timer_settime32(timer_t timer_id, int flags, struct old_itimerspec32 *new, struct old_itimerspec32 *old)
| number | 241 (0xf1) |
|---|---|
| abi | 32 |
| entry point | sys_timer_settime32 |
| since | Linux 5.0 |
| man page | timer_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r0 | 241, the syscall number |
r3 | timer_t timer_id |
r4 | int flags |
r5 | struct old_itimerspec32 *new |
r6 | struct old_itimerspec32 *old |
r3 | the return value |
Then run sc 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
- s390x 255
- mips64 5217
- 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/ppc/timer_settime