syscall.sh / csky / 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 | 73 (0x49) |
|---|---|
| abi | time32 |
| entry point | sys_ppoll_time32 |
| since | Linux 4.20 |
| man page | ppoll(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 73, the syscall number |
a0 | struct pollfd *ufds |
a1 | unsigned int nfds |
a2 | struct old_timespec32 *tsp |
a3 | const sigset_t *sigmask |
r4 | size_t sigsetsize |
a0 | the return value |
Then run trap 0 to enter the kernel.
Same syscall on other architectures
- x64 271
- x86 309
- 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
- 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/csky/ppoll