syscall.sh / s390x / ppoll

ppoll

wait for some event on a file descriptor

sys_ppoll(struct pollfd *ufds, unsigned int nfds, struct __kernel_timespec *tsp, const sigset_t *sigmask, size_t sigsetsize)
number302 (0x12e)
abicommon
entry pointsys_ppoll
sinceLinux 4.16
man pageppoll(2)
sourceelixir.bootlin.com

Registers

registervalue
r1302, the syscall number
r2struct pollfd *ufds
r3unsigned int nfds
r4struct __kernel_timespec *tsp
r5const sigset_t *sigmask
r6size_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/ppoll