syscall.sh / csky / timerfd_gettime
timerfd_gettime
timers that notify via file descriptors
sys_timerfd_gettime32(int ufd, struct old_itimerspec32 *otmr)
| number | 87 (0x57) |
|---|---|
| abi | time32 |
| entry point | sys_timerfd_gettime32 |
| since | Linux 4.20 |
| man page | timerfd_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 87, the syscall number |
a0 | int ufd |
a1 | struct old_itimerspec32 *otmr |
a0 | the return value |
Then run trap 0 to enter the kernel.
Same syscall on other architectures
- x64 287
- x86 326
- arm64 87
- arm 354
- riscv64 87
- x32 1073742111
- loongarch64 87
- ppc64 312
- ppc 312
- s390x 321
- mips64 5281
- mipsn32 6285
- mipso32 4322
- alpha 483
- arc 87
- hexagon 87
- m68k 322
- microblaze 327
- nios2 87
- openrisc 87
- parisc 308
- sh 326
- sparc 316
- sparc64 316
- xtensa 314
Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/timerfd_gettime