syscall.sh / m68k / ppoll

ppoll

wait for some event on a file descriptor

sys_ppoll_time32(struct pollfd *ufds, unsigned int nfds, struct old_timespec32 *tsp, const sigset_t *sigmask, size_t sigsetsize)
number302 (0x12e)
abicommon
entry pointsys_ppoll_time32
sinceLinux 5.0
man pageppoll(2)
sourceelixir.bootlin.com

Registers

registervalue
d0302, the syscall number
d1struct pollfd *ufds
d2unsigned int nfds
d3struct old_timespec32 *tsp
d4const sigset_t *sigmask
d5size_t sigsetsize
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/ppoll