Searched refs:wait_fd (Results 1 – 2 of 2) sorted by relevance
38 struct pollfd wait_fd[1]; in getAsyncResponse() local39 wait_fd[0].fd = fd; in getAsyncResponse()40 wait_fd[0].events = POLLIN; in getAsyncResponse()43 ret = poll(wait_fd, 1, timeoutMs); in getAsyncResponse()44 revents = wait_fd[0].revents; in getAsyncResponse()
81 struct pollfd wait_fd = { .fd = fd, .events = POLLIN }; in getAsyncResponse() local83 poll(&wait_fd, 1, timeoutMs); in getAsyncResponse()84 if (wait_fd.revents & POLLIN) { in getAsyncResponse()