syscall.sh / csky / 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)
number73 (0x49)
abitime32
entry pointsys_ppoll_time32
sinceLinux 4.20
man pageppoll(2)
sourceelixir.bootlin.com

Registers

registervalue
r773, the syscall number
a0struct pollfd *ufds
a1unsigned int nfds
a2struct old_timespec32 *tsp
a3const sigset_t *sigmask
r4size_t sigsetsize
a0the 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/csky/ppoll