pub fn sys_ppoll(abi: &mut LinuxRiscv64Abi, trapframe: &mut Trapframe) -> usizeExpand description
Minimal Linux ppoll implementation
Arguments (RISC-V): arg0: fds_ptr (struct pollfd*) arg1: nfds (usize) arg2: timeout_ptr (timespec*) or NULL arg3: sigmask (ignored) arg4: sigsetsize (ignored)
Returns: number of fds with non-zero revents, or -1 (usize::MAX) on error.