Searched refs:pollFd (Results 1 – 2 of 2) sorted by relevance
44 struct pollfd pollFd; in Testcase() local58 pollFd.fd = pipeFd[0]; in Testcase()59 pollFd.events = POLLIN; in Testcase()62 ret = poll(&pollFd, pollParam[i].nfds, pollParam[i].timeout); in Testcase()
338 struct pollfd pollFd; in TelnetClientLoop() local356 pollFd.fd = clientFd; in TelnetClientLoop()357 pollFd.events = POLLIN | POLLRDHUP; in TelnetClientLoop()358 pollFd.revents = 0; in TelnetClientLoop()360 ret = poll(&pollFd, 1, TELNET_CLIENT_POLL_TIMEOUT); in TelnetClientLoop()368 if ((UINT16)pollFd.revents & (POLLERR | POLLHUP | POLLRDHUP)) { in TelnetClientLoop()372 if ((UINT16)pollFd.revents & POLLIN) { in TelnetClientLoop()