syscall.sh / ppc64 / poll

poll

wait for some event on a file descriptor

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

Registers

registervalue
r0167, the syscall number
r3struct pollfd *ufds
r4unsigned int nfds
r5int timeout_msecs
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/poll