syscall.sh / x64 / 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.11 |
| man page | epoll_pwait2(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 441, the syscall number |
rdi | int epfd |
rsi | struct epoll_event *events |
rdx | int maxevents |
r10 | const struct __kernel_timespec *timeout |
r8 | const sigset_t *sigmask |
r9 | size_t sigsetsize |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 441
- arm64 441
- arm 441
- riscv64 441
- x32 1073742265
- loongarch64 441
- 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/x64/epoll_pwait2