Searched refs:readfds (Results 1 – 1 of 1) sorted by relevance
257 struct pollfd readfds[2]; in DoDumpRemotePoll() local258 (void)memset_s(readfds, sizeof(readfds), 0, sizeof(readfds)); in DoDumpRemotePoll()259 readfds[0].fd = bufFd; in DoDumpRemotePoll()260 readfds[0].events = POLLIN; in DoDumpRemotePoll()261 readfds[1].fd = resFd; in DoDumpRemotePoll()262 readfds[1].events = POLLIN; in DoDumpRemotePoll()263 int fdsSize = sizeof(readfds) / sizeof(readfds[0]); in DoDumpRemotePoll()272 int pollRet = poll(readfds, fdsSize, timeout); in DoDumpRemotePoll()287 if (!bPipeConnect && ((uint32_t)readfds[i].revents & POLLIN)) { in DoDumpRemotePoll()291 … (((uint32_t)readfds[i].revents & POLLERR) || ((uint32_t)readfds[i].revents & POLLHUP))) { in DoDumpRemotePoll()[all …]