syscall.sh / x86 / 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)
number256 (0x100)
abii386
entry pointsys_epoll_wait
sinceLinux 3.3
man pageepoll_wait(2)
sourceelixir.bootlin.com

Registers

registervalue
eax256, the syscall number
ebxint epfd
ecxstruct epoll_event *events
edxint maxevents
esiint timeout
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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