syscall.sh / loongarch64 / epoll_pwait
epoll_pwait
wait for an I/O event on an epoll file descriptor
sys_epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask, size_t sigsetsize)
| number | 22 (0x16) |
|---|---|
| abi | common |
| entry point | sys_epoll_pwait |
| since | Linux 5.19 |
| man page | epoll_pwait(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 22, the syscall number |
a0 | int epfd |
a1 | struct epoll_event *events |
a2 | int maxevents |
a3 | int timeout |
a4 | const sigset_t *sigmask |
a5 | size_t sigsetsize |
a0 | the return value |
Then run syscall 0 to enter the kernel.
Same syscall on other architectures
- x64 281
- x86 319
- arm64 22
- arm 346
- riscv64 22
- x32 1073742105
- ppc64 303
- ppc 303
- s390x 312
- mips64 5272
- mipsn32 6276
- mipso32 4313
- alpha 474
- arc 22
- csky 22
- hexagon 22
- m68k 315
- microblaze 319
- nios2 22
- openrisc 22
- parisc 297
- sh 319
- sparc 309
- sparc64 309
- xtensa 274
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/epoll_pwait