pub async fn sys_ppoll(
        &mut self,
        ufds: UserInOutPtr<PollFd>,
        nfds: usize,
        timeout: UserInPtr<TimeSpec>,
    ) -> SysResult {
        let timeout_msecs = if timeout.is_null() {
            -1
        } else {
            let timeout = timeout.read().unwrap();
            timeout.to_msec() as isize
        };

        self.sys_poll(ufds, nfds, timeout_msecs).await
    }
/// Wait for some event on a file descriptor
///
/// ppoll() allows an application to safely wait until either a file descriptor becomes ready or until a signal is caught
Wait for some event on a file descriptor
ppoll() allows an application to safely wait until either a file descriptor becomes ready or until a signal is caught
Wait for some event on a file descriptor ppoll () allows an application to safely wait until either a file descriptor becomes ready or until a signal is caught
pub async fn sys_ppoll(
        &mut self,
        ufds: UserInOutPtr<PollFd>,
        nfds: usize,
        timeout: UserInPtr<TimeSpec>,
    ) -> SysResult {
        let timeout_msecs = if timeout.is_null() {
            -1
        } else {
            let timeout = timeout.read().unwrap();
            timeout.to_msec() as isize
        };
        self.sys_poll(ufds, nfds, timeout_msecs).await
    }
pub async fn sys_ppoll ( & mut self , ufds : UserInOutPtr < PollFd > , nfds : usize , timeout : UserInPtr < TimeSpec > , ) -> SysResult { let timeout_msecs = if timeout . is_null ( ) { - 1 } else { let timeout = timeout . read ( ) . unwrap ( ) ; timeout . to_msec ( ) as isize } ; self . sys_poll ( ufds , nfds , timeout_msecs ) . await }
Wait for some event on a file descriptor
ppoll() allows an application to safely wait until either a file descriptor becomes ready or until a signal is caught
Wait for some event on a file descriptor ppoll () allows an application to safely wait until either a file descriptor becomes ready or until a signal is caught
&mut self
ufds
UserInOutPtr<PollFd>
nfds
usize
timeout
UserInPtr<TimeSpec>
&mut self
ufds
UserInOutPtr<PollFd>
nfds
usize
timeout
UserInPtr<TimeSpec>