syscall.sh / xtensa / 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)
number18 (0x12)
abicommon
entry pointsys_epoll_wait
sinceLinux 5.0
man pageepoll_wait(2)
sourceelixir.bootlin.com

Registers

registervalue
a218, the syscall number
a6int epfd
a3struct epoll_event *events
a4int maxevents
a5int timeout
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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