syscall.sh / sh / 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)
number309 (0x135)
abicommon
entry pointsys_ppoll_time32
sinceLinux 5.0
man pageppoll(2)
sourceelixir.bootlin.com

Registers

registervalue
r3309, the syscall number
r4struct pollfd *ufds
r5unsigned int nfds
r6struct old_timespec32 *tsp
r7const sigset_t *sigmask
r0size_t sigsetsize
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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