syscall.sh / x86 / 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 | 260 (0x104) |
|---|---|
| abi | i386 |
| entry point | sys_timer_settime32 |
| since | Linux 3.3 |
| man page | timer_settime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 260, the syscall number |
ebx | timer_t timer_id |
ecx | int flags |
edx | struct old_itimerspec32 *new |
esi | struct old_itimerspec32 *old |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 223
- arm64 110
- arm 258
- riscv64 110
- x32 1073742047
- loongarch64 110
- ppc64 241
- ppc 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/x86/timer_settime