syscall.sh / xtensa / poll

poll

wait for some event on a file descriptor

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

Registers

registervalue
a216, the syscall number
a6struct pollfd *ufds
a3unsigned int nfds
a4int timeout_msecs
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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