syscall.sh / mipso32 / 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)
number4441 (0x1159)
abio32
entry pointsys_epoll_pwait2
sinceLinux 5.11
man pageepoll_pwait2(2)
sourceelixir.bootlin.com

Registers

registervalue
v04441, the syscall number
a0int epfd
a1struct epoll_event *events
a2int maxevents
a3const struct __kernel_timespec *timeout
sp+16const sigset_t *sigmask
sp+20size_t sigsetsize
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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