syscall.sh / x64 / timerfd_gettime
timerfd_gettime
timers that notify via file descriptors
sys_timerfd_gettime(int ufd, struct __kernel_itimerspec *otmr)
| number | 287 (0x11f) |
|---|---|
| abi | common |
| entry point | sys_timerfd_gettime |
| since | Linux 3.3 |
| man page | timerfd_gettime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 287, the syscall number |
rdi | int ufd |
rsi | struct __kernel_itimerspec *otmr |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- 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
- csky 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/x64/timerfd_gettime