pub fn sys_epoll_pwait(
_abi: &mut LinuxRiscv64Abi,
trapframe: &mut Trapframe,
) -> usizeExpand description
Linux epoll_pwait implementation (stub)
Like epoll_wait but with signal mask. This is a stub implementation that immediately returns 0 (no events ready).
Arguments:
- abi: LinuxRiscv64Abi context
- trapframe: Trapframe containing syscall arguments
- arg0: epfd (epoll file descriptor)
- arg1: events (pointer to epoll_event array)
- arg2: maxevents (maximum number of events)
- arg3: timeout (timeout in milliseconds)
- arg4: sigmask (signal mask)
Returns:
- number of ready events
- usize::MAX (Linux -1) on error