syscall.sh / x64 / 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)
number281 (0x119)
abicommon
entry pointsys_epoll_pwait
sinceLinux 3.3
man pageepoll_pwait(2)
sourceelixir.bootlin.com

Registers

registervalue
rax281, the syscall number
rdiint epfd
rsistruct epoll_event *events
rdxint maxevents
r10int timeout
r8const sigset_t *sigmask
r9size_t sigsetsize
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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