syscall.sh / x32 / ppoll
ppoll
wait for some event on a file descriptor
sys_ppoll(struct pollfd *ufds, unsigned int nfds, struct __kernel_timespec *tsp, const sigset_t *sigmask, size_t sigsetsize)
| number | 1073742095 (0x4000010f) |
|---|---|
| abi | common |
| entry point | sys_ppoll |
| since | Linux 3.4 |
| man page | ppoll(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742095, the syscall number |
rdi | struct pollfd *ufds |
rsi | unsigned int nfds |
rdx | struct __kernel_timespec *tsp |
r10 | const sigset_t *sigmask |
r8 | size_t sigsetsize |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 271
- x86 309
- arm64 73
- arm 336
- riscv64 73
- loongarch64 73
- ppc64 281
- ppc 281
- s390x 302
- mips64 5261
- mipsn32 6265
- mipso32 4302
- alpha 464
- arc 73
- csky 73
- hexagon 73
- m68k 302
- microblaze 309
- nios2 73
- openrisc 73
- parisc 274
- sh 309
- sparc 298
- sparc64 298
- xtensa 273
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/ppoll