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

Registers

registervalue
d0251, the syscall number
d1int epfd
d2struct epoll_event *events
d3int maxevents
d4int timeout
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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