Searched refs:fds (Results 1 – 1 of 1) sorted by relevance
23 struct pollfd *fds; member43 fd = srvst->fds[idx].fd; in server_io_cb()65 srvst->fds[idx].fd = -1; in server_io_cb()78 if (srvst->fds[n].fd == -1) { in server_add_state()81 srvst->fds[n].fd = fd; in server_add_state()83 srvst->fds[n].revents = 0; in server_add_state()95 p = realloc(srvst->fds, sizeof(*srvst->fds) * (srvst->nfds + 1)); in server_add_state()98 srvst->fds = p; in server_add_state()188 if (srvst.fds[n].revents) { in sock_server()206 if (close(srvst.fds[n].fd)) in sock_server()[all …]
Completed in 3 milliseconds