syscall.sh / xtensa / 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)
number441 (0x1b9)
abicommon
entry pointsys_epoll_pwait2
sinceLinux 5.11
man pageepoll_pwait2(2)
sourceelixir.bootlin.com

Registers

registervalue
a2441, the syscall number
a6int epfd
a3struct epoll_event *events
a4int maxevents
a5const struct __kernel_timespec *timeout
a8const sigset_t *sigmask
a9size_t sigsetsize
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/epoll_pwait2