syscall.sh / x64 / epoll_wait

epoll_wait

wait for an I/O event on an epoll file descriptor

sys_epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout)
number232 (0xe8)
abicommon
entry pointsys_epoll_wait
sinceLinux 3.3
man pageepoll_wait(2)
sourceelixir.bootlin.com

Registers

registervalue
rax232, the syscall number
rdiint epfd
rsistruct epoll_event *events
rdxint maxevents
r10int timeout
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_wait