syscall.sh / loongarch64 / epoll_pwait2
epoll_pwait2
wait for an I/O event on an epoll file descriptor
sys_epoll_pwait2(int epfd, struct epoll_event *events, int maxevents, const struct __kernel_timespec *timeout, const sigset_t *sigmask, size_t sigsetsize)
| number | 441 (0x1b9) |
|---|---|
| abi | common |
| entry point | sys_epoll_pwait2 |
| since | Linux 5.19 |
| man page | epoll_pwait2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 441, the syscall number |
a0 | int epfd |
a1 | struct epoll_event *events |
a2 | int maxevents |
a3 | const struct __kernel_timespec *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 441
- x86 441
- arm64 441
- arm 441
- riscv64 441
- x32 1073742265
- ppc64 441
- ppc 441
- s390x 441
- mips64 5441
- mipsn32 6441
- mipso32 4441
- alpha 551
- arc 441
- csky 441
- hexagon 441
- m68k 441
- microblaze 441
- nios2 441
- openrisc 441
- parisc 441
- sh 441
- sparc 441
- sparc64 441
- xtensa 441
Get this as JSON: https://api.syscall.sh/v2/syscalls/loongarch64/epoll_pwait2