syscall.sh / x86 / ppoll
ppoll
wait for some event on a file descriptor
sys_ppoll_time32(struct pollfd *ufds, unsigned int nfds, struct old_timespec32 *tsp, const sigset_t *sigmask, size_t sigsetsize)
| number | 309 (0x135) |
|---|---|
| abi | i386 |
| entry point | sys_ppoll_time32 |
| since | Linux 3.3 |
| man page | ppoll(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 309, the syscall number |
ebx | struct pollfd *ufds |
ecx | unsigned int nfds |
edx | struct old_timespec32 *tsp |
esi | const sigset_t *sigmask |
edi | size_t sigsetsize |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 271
- arm64 73
- arm 336
- riscv64 73
- x32 1073742095
- 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/x86/ppoll