syscall.sh / sh / 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)
number319 (0x13f)
abicommon
entry pointsys_epoll_pwait
sinceLinux 5.0
man pageepoll_pwait(2)
sourceelixir.bootlin.com

Registers

registervalue
r3319, the syscall number
r4int epfd
r5struct epoll_event *events
r6int maxevents
r7int timeout
r0const sigset_t *sigmask
r1size_t sigsetsize
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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