syscall.sh / s390x / poll

poll

wait for some event on a file descriptor

sys_poll(struct pollfd *ufds, unsigned int nfds, int timeout_msecs)
number168 (0xa8)
abicommon
entry pointsys_poll
sinceLinux 4.16
man pagepoll(2)
sourceelixir.bootlin.com

Registers

registervalue
r1168, the syscall number
r2struct pollfd *ufds
r3unsigned int nfds
r4int timeout_msecs
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/poll