syscall.sh / ppc64 / ppoll

ppoll

wait for some event on a file descriptor

sys_ppoll(struct pollfd *ufds, unsigned int nfds, struct __kernel_timespec *tsp, const sigset_t *sigmask, size_t sigsetsize)
number281 (0x119)
abi64
entry pointsys_ppoll
sinceLinux 5.0
man pageppoll(2)
sourceelixir.bootlin.com

Registers

registervalue
r0281, the syscall number
r3struct pollfd *ufds
r4unsigned int nfds
r5struct __kernel_timespec *tsp
r6const sigset_t *sigmask
r7size_t sigsetsize
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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