syscall.sh / x86 / timer_create
timer_create
create a POSIX per-process timer
sys_timer_create(clockid_t which_clock, struct sigevent *timer_event_spec, timer_t *created_timer_id)
| number | 259 (0x103) |
|---|---|
| abi | i386 |
| entry point | sys_timer_create |
| since | Linux 3.3 |
| man page | timer_create(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 259, the syscall number |
ebx | clockid_t which_clock |
ecx | struct sigevent *timer_event_spec |
edx | timer_t *created_timer_id |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 222
- arm64 107
- arm 257
- riscv64 107
- x32 1073742350
- loongarch64 107
- ppc64 240
- ppc 240
- s390x 254
- mips64 5216
- mipsn32 6220
- mipso32 4257
- alpha 414
- arc 107
- csky 107
- hexagon 107
- m68k 254
- microblaze 259
- nios2 107
- openrisc 107
- parisc 250
- sh 259
- sparc 266
- sparc64 266
- xtensa 248
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/timer_create