syscall.sh / s390x / 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)
number312 (0x138)
abicommon
entry pointsys_epoll_pwait
sinceLinux 4.16
man pageepoll_pwait(2)
sourceelixir.bootlin.com

Registers

registervalue
r1312, the syscall number
r2int epfd
r3struct epoll_event *events
r4int maxevents
r5int timeout
r6const sigset_t *sigmask
r7size_t sigsetsize
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_pwait