Searched refs:pDst (Results 1 – 2 of 2) sorted by relevance
39 static void sigwrap_InitTimeout(SIGWRAP_TIMEOUT *pDst, const struct timespec *timeout) in sigwrap_InitTimeout() argument41 pDst->Timeout = *timeout; in sigwrap_InitTimeout()45 pDst->OnePoll = 1; in sigwrap_InitTimeout()49 pDst->OnePoll = 0; in sigwrap_InitTimeout()55 …pDst->EndTime.tv_sec = Now.tv_sec + pDst->Timeout.tv_sec; // Check necessary in 2038… in sigwrap_InitTimeout()56 pDst->EndTime.tv_nsec = Now.tv_nsec + pDst->Timeout.tv_nsec; in sigwrap_InitTimeout()58 if (pDst->EndTime.tv_nsec >= OneSecondasNS) in sigwrap_InitTimeout()60 pDst->EndTime.tv_sec += (pDst->EndTime.tv_nsec / OneSecondasNS); in sigwrap_InitTimeout()61 pDst->EndTime.tv_nsec = (pDst->EndTime.tv_nsec % OneSecondasNS); in sigwrap_InitTimeout()