syscall.sh / m68k / 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 5.0
man pagepoll(2)
sourceelixir.bootlin.com

Registers

registervalue
d0168, the syscall number
d1struct pollfd *ufds
d2unsigned int nfds
d3int timeout_msecs
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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