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

Registers

registervalue
r3256, the syscall number
r4int epfd
r5struct epoll_event *events
r6int maxevents
r7int timeout
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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