syscall.sh / s390x / 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)
number251 (0xfb)
abicommon
entry pointsys_epoll_wait
sinceLinux 4.16
man pageepoll_wait(2)
sourceelixir.bootlin.com

Registers

registervalue
r1251, the syscall number
r2int epfd
r3struct epoll_event *events
r4int maxevents
r5int timeout
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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