Searched refs:conn_pollfd (Results 1 – 1 of 1) sorted by relevance
106 struct pollfd *conn_pollfd; variable283 conn_pollfd = malloc(M_CONNECTIONS * sizeof conn_pollfd[0]); in main()284 if (conn_fd == NULL || conn_pollfd == NULL) { in main()382 conn_pollfd[j].fd = conn_fd[i]; in main()383 conn_pollfd[j].events = POLLIN /* | POLLHUP | POLLNVAL */; in main()384 conn_pollfd[j].revents = 0; in main()388 res = poll(conn_pollfd, j, 0 /* return immediately. */ ); in main()402 if (conn_pollfd[i].revents & POLLIN) { in main()404 res = read_from_sd(conn_pollfd[i].fd); in main()408 close(conn_pollfd[i].fd); in main()[all …]