syscall.sh / loongarch64 / 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)
number73 (0x49)
abi64
entry pointsys_ppoll
sinceLinux 5.19
man pageppoll(2)
sourceelixir.bootlin.com

Registers

registervalue
a773, the syscall number
a0struct pollfd *ufds
a1unsigned int nfds
a2struct __kernel_timespec *tsp
a3const sigset_t *sigmask
a4size_t sigsetsize
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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