syscall.sh / m68k / epoll_pwait

epoll_pwait

wait for an I/O event on an epoll file descriptor

sys_epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask, size_t sigsetsize)
number315 (0x13b)
abicommon
entry pointsys_epoll_pwait
sinceLinux 5.0
man pageepoll_pwait(2)
sourceelixir.bootlin.com

Registers

registervalue
d0315, the syscall number
d1int epfd
d2struct epoll_event *events
d3int maxevents
d4int timeout
d5const sigset_t *sigmask
a0size_t sigsetsize
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_pwait